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-12321 (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-EOclqgMa1AjY/agent.2106 11:33:06 SSH_AGENT_PID=2108 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_10730653361154103426.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_10730653361154103426.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:10 provisioning config files... 11:33:10 copy managed file [npmrc] to file:/home/jenkins/.npmrc 11:33:10 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 11:33:10 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins11739070424058440394.sh 11:33:10 ---> python-tools-install.sh 11:33:10 Setup pyenv: 11:33:10 * system (set by /opt/pyenv/version) 11:33:10 * 3.8.13 (set by /opt/pyenv/version) 11:33:10 * 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-gBUe 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:49 lf-activate-venv(): INFO: Adding /tmp/venv-gBUe/bin to PATH 11:33:49 Generating Requirements File 11:34:16 Python 3.10.6 11:34:17 pip 24.0 from /tmp/venv-gBUe/lib/python3.10/site-packages/pip (python 3.10) 11:34:17 appdirs==1.4.4 11:34:17 argcomplete==3.2.3 11:34:17 aspy.yaml==1.3.0 11:34:17 attrs==23.2.0 11:34:17 autopage==0.5.2 11:34:17 beautifulsoup4==4.12.3 11:34:17 boto3==1.34.59 11:34:17 botocore==1.34.59 11:34:17 bs4==0.0.2 11:34:17 cachetools==5.3.3 11:34:17 certifi==2024.2.2 11:34:17 cffi==1.16.0 11:34:17 cfgv==3.4.0 11:34:17 chardet==5.2.0 11:34:17 charset-normalizer==3.3.2 11:34:17 click==8.1.7 11:34:17 cliff==4.6.0 11:34:17 cmd2==2.4.3 11:34:17 cryptography==3.3.2 11:34:17 debtcollector==3.0.0 11:34:17 decorator==5.1.1 11:34:17 defusedxml==0.7.1 11:34:17 Deprecated==1.2.14 11:34:17 distlib==0.3.8 11:34:17 dnspython==2.6.1 11:34:17 docker==4.2.2 11:34:17 dogpile.cache==1.3.2 11:34:17 email_validator==2.1.1 11:34:17 filelock==3.13.1 11:34:17 future==1.0.0 11:34:17 gitdb==4.0.11 11:34:17 GitPython==3.1.42 11:34:17 google-auth==2.28.2 11:34:17 httplib2==0.22.0 11:34:17 identify==2.5.35 11:34:17 idna==3.6 11:34:17 importlib-resources==1.5.0 11:34:17 iso8601==2.1.0 11:34:17 Jinja2==3.1.3 11:34:17 jmespath==1.0.1 11:34:17 jsonpatch==1.33 11:34:17 jsonpointer==2.4 11:34:17 jsonschema==4.21.1 11:34:17 jsonschema-specifications==2023.12.1 11:34:17 keystoneauth1==5.6.0 11:34:17 kubernetes==29.0.0 11:34:17 lftools==0.37.9 11:34:17 lxml==5.1.0 11:34:17 MarkupSafe==2.1.5 11:34:17 msgpack==1.0.8 11:34:17 multi_key_dict==2.0.3 11:34:17 netaddr==1.2.1 11:34:17 netifaces==0.11.0 11:34:17 niet==1.4.2 11:34:17 nodeenv==1.8.0 11:34:17 oauth2client==4.1.3 11:34:17 oauthlib==3.2.2 11:34:17 openstacksdk==3.0.0 11:34:17 os-client-config==2.1.0 11:34:17 os-service-types==1.7.0 11:34:17 osc-lib==3.0.1 11:34:17 oslo.config==9.4.0 11:34:17 oslo.context==5.5.0 11:34:17 oslo.i18n==6.3.0 11:34:17 oslo.log==5.5.0 11:34:17 oslo.serialization==5.4.0 11:34:17 oslo.utils==7.1.0 11:34:17 packaging==24.0 11:34:17 pbr==6.0.0 11:34:17 platformdirs==4.2.0 11:34:17 prettytable==3.10.0 11:34:17 pyasn1==0.5.1 11:34:17 pyasn1-modules==0.3.0 11:34:17 pycparser==2.21 11:34:17 pygerrit2==2.0.15 11:34:17 PyGithub==2.2.0 11:34:17 pyinotify==0.9.6 11:34:17 PyJWT==2.8.0 11:34:17 PyNaCl==1.5.0 11:34:17 pyparsing==2.4.7 11:34:17 pyperclip==1.8.2 11:34:17 pyrsistent==0.20.0 11:34:17 python-cinderclient==9.5.0 11:34:17 python-dateutil==2.9.0.post0 11:34:17 python-heatclient==3.5.0 11:34:17 python-jenkins==1.8.2 11:34:17 python-keystoneclient==5.4.0 11:34:17 python-magnumclient==4.4.0 11:34:17 python-novaclient==18.5.0 11:34:17 python-openstackclient==6.5.0 11:34:17 python-swiftclient==4.5.0 11:34:17 PyYAML==6.0.1 11:34:17 referencing==0.33.0 11:34:17 requests==2.31.0 11:34:17 requests-oauthlib==1.3.1 11:34:17 requestsexceptions==1.4.0 11:34:17 rfc3986==2.0.0 11:34:17 rpds-py==0.18.0 11:34:17 rsa==4.9 11:34:17 ruamel.yaml==0.18.6 11:34:17 ruamel.yaml.clib==0.2.8 11:34:17 s3transfer==0.10.0 11:34:17 simplejson==3.19.2 11:34:17 six==1.16.0 11:34:17 smmap==5.0.1 11:34:17 soupsieve==2.5 11:34:17 stevedore==5.2.0 11:34:17 tabulate==0.9.0 11:34:17 toml==0.10.2 11:34:17 tomlkit==0.12.4 11:34:17 tqdm==4.66.2 11:34:17 typing_extensions==4.10.0 11:34:17 tzdata==2024.1 11:34:17 urllib3==1.26.18 11:34:17 virtualenv==20.25.1 11:34:17 wcwidth==0.2.13 11:34:17 websocket-client==1.7.0 11:34:17 wrapt==1.16.0 11:34:17 xdg==6.0.0 11:34:17 xmltodict==0.13.0 11:34:17 yq==3.2.3 11:34:17 [EnvInject] - Injecting environment variables from a build step. 11:34:17 [EnvInject] - Injecting as environment variables the properties content 11:34:17 SET_JDK_VERSION=openjdk17 11:34:17 GIT_URL="git://cloud.onap.org/mirror" 11:34:17 11:34:17 [EnvInject] - Variables injected successfully. 11:34:17 [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins4834973028285365039.sh 11:34:17 ---> update-java-alternatives.sh 11:34:17 ---> Updating Java version 11:34:17 ---> Ubuntu/Debian system detected 11:34:18 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 11:34:18 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 11:34:18 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:18 openjdk version "17.0.4" 2022-07-19 11:34:18 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 11:34:18 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 11:34:18 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 11:34:18 [EnvInject] - Injecting environment variables from a build step. 11:34:18 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 11:34:18 [EnvInject] - Variables injected successfully. 11:34:18 [policy-api-london-project-csit-api] $ /bin/sh -xe /tmp/jenkins7193181947628556313.sh 11:34:18 + /w/workspace/policy-api-london-project-csit-api/csit/run-project-csit.sh api 11:34:18 + set +u 11:34:18 + save_set 11:34:18 + RUN_CSIT_SAVE_SET=ehxB 11:34:18 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 11:34:18 + '[' 1 -eq 0 ']' 11:34:18 + '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:34:18 + 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:18 + 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:18 + export SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts 11:34:18 + SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts 11:34:18 + export ROBOT_VARIABLES= 11:34:18 + ROBOT_VARIABLES= 11:34:18 + export PROJECT=api 11:34:18 + PROJECT=api 11:34:18 + cd /w/workspace/policy-api-london-project-csit-api 11:34:18 + rm -rf /w/workspace/policy-api-london-project-csit-api/csit/archives/api 11:34:18 + mkdir -p /w/workspace/policy-api-london-project-csit-api/csit/archives/api 11:34:18 + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:34:18 + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 11:34:18 + relax_set 11:34:18 + set +e 11:34:18 + set +o pipefail 11:34:18 + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:34:18 ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:34:18 +++ mktemp -d 11:34:18 ++ ROBOT_VENV=/tmp/tmp.IdSoyMqCJf 11:34:18 ++ echo ROBOT_VENV=/tmp/tmp.IdSoyMqCJf 11:34:18 +++ python3 --version 11:34:18 ++ echo 'Python version is: Python 3.6.9' 11:34:18 Python version is: Python 3.6.9 11:34:18 ++ python3 -m venv --clear /tmp/tmp.IdSoyMqCJf 11:34:20 ++ source /tmp/tmp.IdSoyMqCJf/bin/activate 11:34:20 +++ deactivate nondestructive 11:34:20 +++ '[' -n '' ']' 11:34:20 +++ '[' -n '' ']' 11:34:20 +++ '[' -n /bin/bash -o -n '' ']' 11:34:20 +++ hash -r 11:34:20 +++ '[' -n '' ']' 11:34:20 +++ unset VIRTUAL_ENV 11:34:20 +++ '[' '!' nondestructive = nondestructive ']' 11:34:20 +++ VIRTUAL_ENV=/tmp/tmp.IdSoyMqCJf 11:34:20 +++ export VIRTUAL_ENV 11:34:20 +++ _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:20 +++ PATH=/tmp/tmp.IdSoyMqCJf/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:20 +++ export PATH 11:34:20 +++ '[' -n '' ']' 11:34:20 +++ '[' -z '' ']' 11:34:20 +++ _OLD_VIRTUAL_PS1= 11:34:20 +++ '[' 'x(tmp.IdSoyMqCJf) ' '!=' x ']' 11:34:20 +++ PS1='(tmp.IdSoyMqCJf) ' 11:34:20 +++ export PS1 11:34:20 +++ '[' -n /bin/bash -o -n '' ']' 11:34:20 +++ hash -r 11:34:20 ++ set -exu 11:34:20 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 11:34:23 ++ echo 'Installing Python Requirements' 11:34:23 Installing Python Requirements 11:34:23 ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt 11:34:42 ++ python3 -m pip -qq freeze 11:34:42 bcrypt==4.0.1 11:34:42 beautifulsoup4==4.12.3 11:34:42 bitarray==2.9.2 11:34:42 certifi==2024.2.2 11:34:42 cffi==1.15.1 11:34:42 charset-normalizer==2.0.12 11:34:42 cryptography==40.0.2 11:34:42 decorator==5.1.1 11:34:42 elasticsearch==7.17.9 11:34:42 elasticsearch-dsl==7.4.1 11:34:42 enum34==1.1.10 11:34:42 idna==3.6 11:34:42 importlib-resources==5.4.0 11:34:42 ipaddr==2.2.0 11:34:42 isodate==0.6.1 11:34:42 jmespath==0.10.0 11:34:42 jsonpatch==1.32 11:34:42 jsonpath-rw==1.4.0 11:34:42 jsonpointer==2.3 11:34:42 lxml==5.1.0 11:34:42 netaddr==0.8.0 11:34:42 netifaces==0.11.0 11:34:42 odltools==0.1.28 11:34:42 paramiko==3.4.0 11:34:42 pkg_resources==0.0.0 11:34:42 ply==3.11 11:34:42 pyang==2.6.0 11:34:42 pyangbind==0.8.1 11:34:42 pycparser==2.21 11:34:42 pyhocon==0.3.60 11:34:42 PyNaCl==1.5.0 11:34:42 pyparsing==3.1.2 11:34:42 python-dateutil==2.9.0.post0 11:34:42 regex==2023.8.8 11:34:42 requests==2.27.1 11:34:42 robotframework==6.1.1 11:34:42 robotframework-httplibrary==0.4.2 11:34:42 robotframework-pythonlibcore==3.0.0 11:34:42 robotframework-requests==0.9.4 11:34:42 robotframework-selenium2library==3.0.0 11:34:42 robotframework-seleniumlibrary==5.1.3 11:34:42 robotframework-sshlibrary==3.8.0 11:34:42 scapy==2.5.0 11:34:42 scp==0.14.5 11:34:42 selenium==3.141.0 11:34:42 six==1.16.0 11:34:42 soupsieve==2.3.2.post1 11:34:42 urllib3==1.26.18 11:34:42 waitress==2.0.0 11:34:42 WebOb==1.8.7 11:34:42 WebTest==3.0.0 11:34:42 zipp==3.6.0 11:34:42 ++ mkdir -p /tmp/tmp.IdSoyMqCJf/src/onap 11:34:42 ++ rm -rf /tmp/tmp.IdSoyMqCJf/src/onap/testsuite 11:34:42 ++ 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:47 ++ echo 'Uninstall docker-py and reinstall docker.' 11:34:47 Uninstall docker-py and reinstall docker. 11:34:47 ++ python3 -m pip uninstall -y -qq docker 11:34:48 ++ python3 -m pip install -U -qq docker 11:34:49 ++ python3 -m pip -qq freeze 11:34:49 bcrypt==4.0.1 11:34:49 beautifulsoup4==4.12.3 11:34:49 bitarray==2.9.2 11:34:49 certifi==2024.2.2 11:34:49 cffi==1.15.1 11:34:49 charset-normalizer==2.0.12 11:34:49 cryptography==40.0.2 11:34:49 decorator==5.1.1 11:34:49 deepdiff==5.7.0 11:34:49 dnspython==2.2.1 11:34:49 docker==5.0.3 11:34:49 elasticsearch==7.17.9 11:34:49 elasticsearch-dsl==7.4.1 11:34:49 enum34==1.1.10 11:34:49 future==1.0.0 11:34:49 idna==3.6 11:34:49 importlib-resources==5.4.0 11:34:49 ipaddr==2.2.0 11:34:49 isodate==0.6.1 11:34:49 Jinja2==3.0.3 11:34:49 jmespath==0.10.0 11:34:49 jsonpatch==1.32 11:34:49 jsonpath-rw==1.4.0 11:34:49 jsonpointer==2.3 11:34:49 kafka-python==2.0.2 11:34:49 lxml==5.1.0 11:34:49 MarkupSafe==2.0.1 11:34:49 more-itertools==5.0.0 11:34:49 netaddr==0.8.0 11:34:49 netifaces==0.11.0 11:34:49 odltools==0.1.28 11:34:49 ordered-set==4.0.2 11:34:49 paramiko==3.4.0 11:34:49 pbr==6.0.0 11:34:49 pkg_resources==0.0.0 11:34:49 ply==3.11 11:34:49 protobuf==3.19.6 11:34:49 pyang==2.6.0 11:34:49 pyangbind==0.8.1 11:34:49 pycparser==2.21 11:34:49 pyhocon==0.3.60 11:34:49 PyNaCl==1.5.0 11:34:49 pyparsing==3.1.2 11:34:49 python-dateutil==2.9.0.post0 11:34:49 PyYAML==6.0.1 11:34:49 regex==2023.8.8 11:34:49 requests==2.27.1 11:34:49 robotframework==6.1.1 11:34:49 robotframework-httplibrary==0.4.2 11:34:49 robotframework-onap==0.6.0.dev105 11:34:49 robotframework-pythonlibcore==3.0.0 11:34:49 robotframework-requests==0.9.4 11:34:49 robotframework-selenium2library==3.0.0 11:34:49 robotframework-seleniumlibrary==5.1.3 11:34:49 robotframework-sshlibrary==3.8.0 11:34:49 robotlibcore-temp==1.0.2 11:34:49 scapy==2.5.0 11:34:49 scp==0.14.5 11:34:49 selenium==3.141.0 11:34:49 six==1.16.0 11:34:49 soupsieve==2.3.2.post1 11:34:49 urllib3==1.26.18 11:34:49 waitress==2.0.0 11:34:49 WebOb==1.8.7 11:34:49 websocket-client==1.3.1 11:34:49 WebTest==3.0.0 11:34:49 zipp==3.6.0 11:34:49 ++ uname 11:34:49 ++ grep -q Linux 11:34:49 ++ sudo apt-get -y -qq install libxml2-utils 11:34:50 + load_set 11:34:50 + _setopts=ehuxB 11:34:50 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 11:34:50 ++ tr : ' ' 11:34:50 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:50 + set +o braceexpand 11:34:50 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:50 + set +o hashall 11:34:50 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:50 + set +o interactive-comments 11:34:50 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:50 + set +o nounset 11:34:50 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:50 + set +o xtrace 11:34:50 ++ echo ehuxB 11:34:50 ++ sed 's/./& /g' 11:34:50 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:50 + set +e 11:34:50 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:50 + set +h 11:34:50 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:50 + set +u 11:34:50 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:50 + set +x 11:34:50 + source_safely /tmp/tmp.IdSoyMqCJf/bin/activate 11:34:50 + '[' -z /tmp/tmp.IdSoyMqCJf/bin/activate ']' 11:34:50 + relax_set 11:34:50 + set +e 11:34:50 + set +o pipefail 11:34:50 + . /tmp/tmp.IdSoyMqCJf/bin/activate 11:34:50 ++ deactivate nondestructive 11:34:50 ++ '[' -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:50 ++ 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:50 ++ export PATH 11:34:50 ++ unset _OLD_VIRTUAL_PATH 11:34:50 ++ '[' -n '' ']' 11:34:50 ++ '[' -n /bin/bash -o -n '' ']' 11:34:50 ++ hash -r 11:34:50 ++ '[' -n '' ']' 11:34:50 ++ unset VIRTUAL_ENV 11:34:50 ++ '[' '!' nondestructive = nondestructive ']' 11:34:50 ++ VIRTUAL_ENV=/tmp/tmp.IdSoyMqCJf 11:34:50 ++ export VIRTUAL_ENV 11:34:50 ++ _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:50 ++ PATH=/tmp/tmp.IdSoyMqCJf/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:50 ++ export PATH 11:34:50 ++ '[' -n '' ']' 11:34:50 ++ '[' -z '' ']' 11:34:50 ++ _OLD_VIRTUAL_PS1='(tmp.IdSoyMqCJf) ' 11:34:50 ++ '[' 'x(tmp.IdSoyMqCJf) ' '!=' x ']' 11:34:50 ++ PS1='(tmp.IdSoyMqCJf) (tmp.IdSoyMqCJf) ' 11:34:50 ++ export PS1 11:34:50 ++ '[' -n /bin/bash -o -n '' ']' 11:34:50 ++ hash -r 11:34:50 + load_set 11:34:50 + _setopts=hxB 11:34:50 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:34:50 ++ tr : ' ' 11:34:50 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:50 + set +o braceexpand 11:34:50 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:50 + set +o hashall 11:34:50 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:50 + set +o interactive-comments 11:34:50 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:50 + set +o xtrace 11:34:50 ++ echo hxB 11:34:50 ++ sed 's/./& /g' 11:34:50 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:50 + set +h 11:34:50 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:50 + set +x 11:34:50 + export TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests 11:34:50 + TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests 11:34:50 + export TEST_OPTIONS= 11:34:50 + TEST_OPTIONS= 11:34:50 ++ mktemp -d 11:34:50 + WORKDIR=/tmp/tmp.Px3up8NRu8 11:34:50 + cd /tmp/tmp.Px3up8NRu8 11:34:50 + docker login -u docker -p docker nexus3.onap.org:10001 11:34:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:50 Configure a credential helper to remove this warning. See 11:34:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:50 11:34:50 Login Succeeded 11:34:50 + SETUP=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:34:50 + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:34:50 + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' 11:34:50 Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:34:50 + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:34:50 + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:34:50 + relax_set 11:34:50 + set +e 11:34:50 + set +o pipefail 11:34:50 + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:34:50 ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh 11:34:50 +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:34:50 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview 11:34:50 +++ GERRIT_BRANCH=london 11:34:50 +++ echo GERRIT_BRANCH=london 11:34:50 GERRIT_BRANCH=london 11:34:50 +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models 11:34:50 +++ mkdir /w/workspace/policy-api-london-project-csit-api/models 11:34:50 +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models 11:34:50 Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... 11:34:51 +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies 11:34:51 +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies 11:34:51 +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:34:51 +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:34:51 +++ 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:51 +++ 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:51 ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana 11:34:51 +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:34:51 +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose 11:34:51 +++ grafana=false 11:34:51 +++ gui=false 11:34:51 +++ [[ 2 -gt 0 ]] 11:34:51 +++ key=api 11:34:51 +++ case $key in 11:34:51 +++ echo api 11:34:51 api 11:34:51 +++ component=api 11:34:51 +++ shift 11:34:51 +++ [[ 1 -gt 0 ]] 11:34:51 +++ key=--grafana 11:34:51 +++ case $key in 11:34:51 +++ grafana=true 11:34:51 +++ shift 11:34:51 +++ [[ 0 -gt 0 ]] 11:34:51 +++ cd /w/workspace/policy-api-london-project-csit-api/compose 11:34:51 +++ echo 'Configuring docker compose...' 11:34:51 Configuring docker compose... 11:34:51 +++ source export-ports.sh 11:34:51 +++ source get-versions.sh 11:34:53 +++ '[' -z api ']' 11:34:53 +++ '[' -n api ']' 11:34:53 +++ '[' api == logs ']' 11:34:53 +++ '[' true = true ']' 11:34:53 +++ echo 'Starting api application with Grafana' 11:34:53 Starting api application with Grafana 11:34:53 +++ docker-compose up -d api grafana 11:34:54 Creating network "compose_default" with the default driver 11:34:54 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 11:34:54 10.10.2: Pulling from mariadb 11:34:59 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 11:34:59 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 11:34:59 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2)... 11:34:59 2.6.2: Pulling from onap/policy-db-migrator 11:35:02 Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 11:35:02 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 11:35:02 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 11:35:02 2.8.2: Pulling from onap/policy-api 11:35:04 Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d 11:35:04 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 11:35:04 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 11:35:04 latest: Pulling from prom/prometheus 11:35:07 Digest: sha256:bc1794e85c9e00293351b967efa267ce6af1c824ac875a9d0c7ac84700a8b53e 11:35:07 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 11:35:07 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 11:35:07 latest: Pulling from grafana/grafana 11:35:12 Digest: sha256:f9811e4e687ffecf1a43adb9b64096c50bc0d7a782f8608530f478b6542de7d5 11:35:12 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 11:35:12 Creating mariadb ... 11:35:12 Creating prometheus ... 11:35:27 Creating mariadb ... done 11:35:27 Creating policy-db-migrator ... 11:35:28 Creating policy-db-migrator ... done 11:35:28 Creating policy-api ... 11:35:29 Creating prometheus ... done 11:35:29 Creating grafana ... 11:35:30 Creating grafana ... done 11:35:31 Creating policy-api ... done 11:35:31 +++ echo 'Prometheus server: http://localhost:30259' 11:35:31 Prometheus server: http://localhost:30259 11:35:31 +++ echo 'Grafana server: http://localhost:30269' 11:35:31 Grafana server: http://localhost:30269 11:35:31 +++ cd /w/workspace/policy-api-london-project-csit-api 11:35:31 ++ sleep 10 11:35:41 ++ unset http_proxy https_proxy 11:35:41 ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 11:35:41 Waiting for REST to come up on localhost port 30002... 11:35:41 NAMES STATUS 11:35:41 grafana Up 11 seconds 11:35:41 policy-api Up 10 seconds 11:35:41 mariadb Up 14 seconds 11:35:41 prometheus Up 12 seconds 11:35:46 NAMES STATUS 11:35:46 grafana Up 16 seconds 11:35:46 policy-api Up 15 seconds 11:35:46 mariadb Up 19 seconds 11:35:46 prometheus Up 17 seconds 11:35:51 NAMES STATUS 11:35:51 grafana Up 21 seconds 11:35:51 policy-api Up 20 seconds 11:35:51 mariadb Up 24 seconds 11:35:51 prometheus Up 22 seconds 11:35:56 NAMES STATUS 11:35:56 grafana Up 26 seconds 11:35:56 policy-api Up 25 seconds 11:35:56 mariadb Up 29 seconds 11:35:56 prometheus Up 27 seconds 11:35:56 ++ export 'SUITES=api-test.robot 11:35:56 api-slas.robot' 11:35:56 ++ SUITES='api-test.robot 11:35:56 api-slas.robot' 11:35:56 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:35:56 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 11:35:56 + load_set 11:35:56 + _setopts=hxB 11:35:56 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:35:56 ++ tr : ' ' 11:35:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:35:56 + set +o braceexpand 11:35:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:35:56 + set +o hashall 11:35:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:35:56 + set +o interactive-comments 11:35:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:35:56 + set +o xtrace 11:35:56 ++ echo hxB 11:35:56 ++ sed 's/./& /g' 11:35:56 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:35:56 + set +h 11:35:56 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:35:56 + set +x 11:35:56 + docker_stats 11:35:56 + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 11:35:56 ++ uname -s 11:35:56 + '[' Linux == Darwin ']' 11:35:56 + sh -c 'top -bn1 | head -3' 11:35:57 top - 11:35:57 up 3 min, 0 users, load average: 3.47, 1.19, 0.45 11:35:57 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie 11:35:57 %Cpu(s): 11.0 us, 2.0 sy, 0.0 ni, 83.0 id, 3.9 wa, 0.0 hi, 0.0 si, 0.0 st 11:35:57 + echo 11:35:57 11:35:57 + sh -c 'free -h' 11:35:57 total used free shared buff/cache available 11:35:57 Mem: 31G 1.9G 25G 1.0M 3.8G 29G 11:35:57 Swap: 1.0G 0B 1.0G 11:35:57 + echo 11:35:57 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:35:57 11:35:57 NAMES STATUS 11:35:57 grafana Up 26 seconds 11:35:57 policy-api Up 25 seconds 11:35:57 mariadb Up 29 seconds 11:35:57 prometheus Up 27 seconds 11:35:57 + echo 11:35:57 11:35:57 + docker stats --no-stream 11:35:59 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:35:59 1b748ed62af6 grafana 0.03% 56.8MiB / 31.41GiB 0.18% 18.5kB / 3.38kB 0B / 24.6MB 17 11:35:59 4fe430742040 policy-api 0.09% 960.3MiB / 31.41GiB 2.99% 1.04MB / 739kB 0B / 0B 50 11:35:59 a5c5a8cd0f37 mariadb 0.02% 100.4MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 67.9MB 28 11:35:59 3b88caec468e prometheus 0.00% 19.09MiB / 31.41GiB 0.06% 1.05kB / 158B 127kB / 0B 13 11:35:59 + echo 11:35:59 11:35:59 + cd /tmp/tmp.Px3up8NRu8 11:35:59 + echo 'Reading the testplan:' 11:35:59 Reading the testplan: 11:35:59 + echo 'api-test.robot 11:35:59 api-slas.robot' 11:35:59 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 11:35:59 + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' 11:35:59 + cat testplan.txt 11:35:59 /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot 11:35:59 /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot 11:35:59 ++ xargs 11:35:59 + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' 11:35:59 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:35:59 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 11:35:59 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:35:59 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:35:59 + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' 11:35:59 Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... 11:35:59 + relax_set 11:35:59 + set +e 11:35:59 + set +o pipefail 11:35:59 + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot 11:35:59 ============================================================================== 11:35:59 api 11:35:59 ============================================================================== 11:35:59 api.Api-Test 11:35:59 ============================================================================== 11:36:00 Healthcheck :: Verify policy api health check | PASS | 11:36:00 ------------------------------------------------------------------------------ 11:36:00 Statistics :: Verify policy api statistics | PASS | 11:36:00 ------------------------------------------------------------------------------ 11:36:02 RetrievePolicyTypes :: Retrieve all policy types | PASS | 11:36:02 ------------------------------------------------------------------------------ 11:36:02 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 11:36:02 ------------------------------------------------------------------------------ 11:36:02 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 11:36:02 ------------------------------------------------------------------------------ 11:36:03 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 11:36:03 ------------------------------------------------------------------------------ 11:36:03 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 11:36:03 ------------------------------------------------------------------------------ 11:36:03 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 11:36:03 ------------------------------------------------------------------------------ 11:36:04 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 11:36:04 ------------------------------------------------------------------------------ 11:36:04 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 11:36:04 ------------------------------------------------------------------------------ 11:36:04 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 11:36:04 ------------------------------------------------------------------------------ 11:36:05 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 11:36:05 ------------------------------------------------------------------------------ 11:36:05 RetrieveAllPolicies :: Retrieve all policies | PASS | 11:36:05 ------------------------------------------------------------------------------ 11:36:05 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 11:36:05 ------------------------------------------------------------------------------ 11:36:05 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 11:36:05 ------------------------------------------------------------------------------ 11:36:05 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 11:36:05 ------------------------------------------------------------------------------ 11:36:06 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 11:36:06 ------------------------------------------------------------------------------ 11:36:06 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 11:36:06 ------------------------------------------------------------------------------ 11:36:06 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 11:36:06 ------------------------------------------------------------------------------ 11:36:07 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 11:36:07 ------------------------------------------------------------------------------ 11:36:07 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 11:36:07 ------------------------------------------------------------------------------ 11:36:07 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 11:36:07 ------------------------------------------------------------------------------ 11:36:07 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 11:36:07 ------------------------------------------------------------------------------ 11:36:07 api.Api-Test | PASS | 11:36:07 23 tests, 23 passed, 0 failed 11:36:07 ============================================================================== 11:36:07 api.Api-Slas 11:36:07 ============================================================================== 11:37:07 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 11:37:07 ------------------------------------------------------------------------------ 11:37:07 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 11:37:07 ------------------------------------------------------------------------------ 11:37:07 ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | 11:37:07 ------------------------------------------------------------------------------ 11:37:07 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 11:37:07 ------------------------------------------------------------------------------ 11:37:07 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 11:37:07 ------------------------------------------------------------------------------ 11:37:07 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 11:37:07 ------------------------------------------------------------------------------ 11:37:07 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 11:37:07 ------------------------------------------------------------------------------ 11:37:07 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 11:37:07 ------------------------------------------------------------------------------ 11:37:07 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 11:37:07 ------------------------------------------------------------------------------ 11:37:07 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 11:37:07 ------------------------------------------------------------------------------ 11:37:07 api.Api-Slas | PASS | 11:37:07 10 tests, 10 passed, 0 failed 11:37:07 ============================================================================== 11:37:07 api | PASS | 11:37:07 33 tests, 33 passed, 0 failed 11:37:07 ============================================================================== 11:37:07 Output: /tmp/tmp.Px3up8NRu8/output.xml 11:37:07 Log: /tmp/tmp.Px3up8NRu8/log.html 11:37:07 Report: /tmp/tmp.Px3up8NRu8/report.html 11:37:07 + RESULT=0 11:37:07 + load_set 11:37:07 + _setopts=hxB 11:37:07 ++ tr : ' ' 11:37:07 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:37:07 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:07 + set +o braceexpand 11:37:07 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:07 + set +o hashall 11:37:07 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:07 + set +o interactive-comments 11:37:07 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:07 + set +o xtrace 11:37:07 ++ echo hxB 11:37:07 ++ sed 's/./& /g' 11:37:07 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:37:07 + set +h 11:37:07 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:37:07 + set +x 11:37:07 + echo 'RESULT: 0' 11:37:07 RESULT: 0 11:37:07 + exit 0 11:37:07 + on_exit 11:37:07 + rc=0 11:37:07 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] 11:37:07 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:37:07 NAMES STATUS 11:37:07 grafana Up About a minute 11:37:07 policy-api Up About a minute 11:37:07 mariadb Up About a minute 11:37:07 prometheus Up About a minute 11:37:07 + docker_stats 11:37:07 ++ uname -s 11:37:07 + '[' Linux == Darwin ']' 11:37:07 + sh -c 'top -bn1 | head -3' 11:37:08 top - 11:37:08 up 4 min, 0 users, load average: 1.31, 1.04, 0.45 11:37:08 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie 11:37:08 %Cpu(s): 9.3 us, 1.6 sy, 0.0 ni, 85.9 id, 3.2 wa, 0.0 hi, 0.0 si, 0.0 st 11:37:08 + echo 11:37:08 11:37:08 + sh -c 'free -h' 11:37:08 total used free shared buff/cache available 11:37:08 Mem: 31G 1.9G 25G 1.0M 3.8G 29G 11:37:08 Swap: 1.0G 0B 1.0G 11:37:08 + echo 11:37:08 11:37:08 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:37:08 NAMES STATUS 11:37:08 grafana Up About a minute 11:37:08 policy-api Up About a minute 11:37:08 mariadb Up About a minute 11:37:08 prometheus Up About a minute 11:37:08 + echo 11:37:08 11:37:08 + docker stats --no-stream 11:37:10 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:37:10 1b748ed62af6 grafana 0.19% 58.07MiB / 31.41GiB 0.18% 19.5kB / 4.61kB 0B / 24.6MB 17 11:37:10 4fe430742040 policy-api 0.08% 993.1MiB / 31.41GiB 3.09% 7.32MB / 2.87MB 0B / 0B 52 11:37:10 a5c5a8cd0f37 mariadb 0.02% 101.1MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 11MB / 68MB 18 11:37:10 3b88caec468e prometheus 0.00% 25.48MiB / 31.41GiB 0.08% 37.6kB / 7.09kB 127kB / 0B 13 11:37:10 + echo 11:37:10 11:37:10 + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh 11:37:10 + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' 11:37:10 + relax_set 11:37:10 + set +e 11:37:10 + set +o pipefail 11:37:10 + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh 11:37:10 ++ echo 'Shut down started!' 11:37:10 Shut down started! 11:37:10 ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:37:10 ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose 11:37:10 ++ cd /w/workspace/policy-api-london-project-csit-api/compose 11:37:10 ++ source export-ports.sh 11:37:10 ++ source get-versions.sh 11:37:13 ++ echo 'Collecting logs from docker compose containers...' 11:37:13 Collecting logs from docker compose containers... 11:37:13 ++ docker-compose logs 11:37:14 ++ cat docker_compose.log 11:37:14 Attaching to grafana, policy-api, policy-db-migrator, mariadb, prometheus 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.387905006Z level=info msg="Starting Grafana" version=10.4.0 commit=03f502a94d17f7dc4e6c34acdf8428aedd986e4c branch=HEAD compiled=2024-03-10T11:35:30Z 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388121407Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388132397Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388135957Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388139037Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388141987Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388144707Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388147977Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388151067Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388153947Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388157457Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388160457Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388164727Z level=info msg=Target target=[all] 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388170157Z level=info msg="Path Home" path=/usr/share/grafana 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388173397Z level=info msg="Path Data" path=/var/lib/grafana 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388176677Z level=info msg="Path Logs" path=/var/log/grafana 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388179937Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388183077Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 11:37:14 grafana | logger=settings t=2024-03-10T11:35:30.388186467Z level=info msg="App mode production" 11:37:14 grafana | logger=sqlstore t=2024-03-10T11:35:30.388421798Z level=info msg="Connecting to DB" dbtype=sqlite3 11:37:14 grafana | logger=sqlstore t=2024-03-10T11:35:30.388440698Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.389032322Z level=info msg="Starting DB migrations" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.389994176Z level=info msg="Executing migration" id="create migration_log table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.39082997Z level=info msg="Migration successfully executed" id="create migration_log table" duration=837.544µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.430681741Z level=info msg="Executing migration" id="create user table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.431958377Z level=info msg="Migration successfully executed" id="create user table" duration=1.276616ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.435820845Z level=info msg="Executing migration" id="add unique index user.login" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.436964762Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.139177ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.442301517Z level=info msg="Executing migration" id="add unique index user.email" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.44298087Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=679.353µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.446828168Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.447872544Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.044136ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.451689022Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.452716236Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.027064ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.458056342Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.460277943Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.221231ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.463747719Z level=info msg="Executing migration" id="create user table v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.464570284Z level=info msg="Migration successfully executed" id="create user table v2" duration=822.275µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.46797234Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.468646633Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=675.893µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.473766238Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.474798562Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.034734ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.478548491Z level=info msg="Executing migration" id="copy data_source v1 to v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.479158894Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=606.923µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.4826429Z level=info msg="Executing migration" id="Drop old table user_v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.483115503Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=472.343µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.487875756Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.48888353Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.007324ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.493654123Z level=info msg="Executing migration" id="Update user table charset" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.493691683Z level=info msg="Migration successfully executed" id="Update user table charset" duration=38.61µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.497455491Z level=info msg="Executing migration" id="Add last_seen_at column to user" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.49924173Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.785229ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.504191814Z level=info msg="Executing migration" id="Add missing user data" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.504528355Z level=info msg="Migration successfully executed" id="Add missing user data" duration=337.171µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.510899176Z level=info msg="Executing migration" id="Add is_disabled column to user" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.511912771Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.013355ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.515221487Z level=info msg="Executing migration" id="Add index user.login/user.email" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.516281542Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.059305ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.519715558Z level=info msg="Executing migration" id="Add is_service_account column to user" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.521421016Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.704828ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.525406105Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.533137093Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=7.730548ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.53895312Z level=info msg="Executing migration" id="Add uid column to user" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.540044016Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.091746ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.543869774Z level=info msg="Executing migration" id="Update uid column values for users" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.544161895Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=292.471µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.547909663Z level=info msg="Executing migration" id="Add unique index user_uid" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.549040419Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.130246ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.552694686Z level=info msg="Executing migration" id="create temp user table v1-7" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.55350295Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=807.894µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.558470964Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.559137877Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=666.283µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.562485344Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.563559658Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.073944ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.567017045Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.568091611Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.073816ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.573194394Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.573910928Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=712.984µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.577218764Z level=info msg="Executing migration" id="Update temp_user table charset" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.577244234Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=26.3µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.580768641Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.581793286Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.024425ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.586979501Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.587979976Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.000226ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.591453022Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.592485787Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.032375ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.595783942Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.596416666Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=628.904µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.601460251Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.605748281Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.28623ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.609587429Z level=info msg="Executing migration" id="create temp_user v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.610888665Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.302386ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.615292226Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.61603285Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=740.514µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.621910639Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.622627322Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=716.153µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.625411565Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.626166708Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=750.993µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.629689826Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.630973772Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.283056ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.636305567Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.63689633Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=587.163µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.640358536Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.641139021Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=779.475µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.644343066Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.644875028Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=532.122µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.648019353Z level=info msg="Executing migration" id="create star table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.648631796Z level=info msg="Migration successfully executed" id="create star table" duration=612.003µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.653659941Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.654816067Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.155346ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.658260303Z level=info msg="Executing migration" id="create org table v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.659385108Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.124405ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.662484882Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.663196447Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=711.325µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.666253201Z level=info msg="Executing migration" id="create org_user table v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.666928244Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=674.573µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.671370465Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.672531071Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.160246ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.676080418Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.677250934Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.170606ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.680763671Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.681936476Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.172265ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.685091801Z level=info msg="Executing migration" id="Update org table charset" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.685139831Z level=info msg="Migration successfully executed" id="Update org table charset" duration=49.35µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.690244686Z level=info msg="Executing migration" id="Update org_user table charset" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.690275256Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=31.49µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.694709888Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.694870938Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=161.37µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.698096764Z level=info msg="Executing migration" id="create dashboard table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.699235409Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.138385ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.70347646Z level=info msg="Executing migration" id="add index dashboard.account_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.704671175Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.194685ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.709353898Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.710171341Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=817.033µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.713438357Z level=info msg="Executing migration" id="create dashboard_tag table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.714113481Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=674.864µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.717458817Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.718689982Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.230225ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.723727156Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.724391809Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=667.743µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.727600876Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.732516999Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=4.915713ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.736024016Z level=info msg="Executing migration" id="create dashboard v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.736744139Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=719.813µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.741848774Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.742591007Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=742.033µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.745695692Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.746503815Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=807.523µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.749827221Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.750352394Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=524.963µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.756702985Z level=info msg="Executing migration" id="drop table dashboard_v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.75795301Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.249315ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.761308147Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.761406678Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=103.671µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.764865924Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.766626962Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.765498ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.771837997Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.774351139Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.511372ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.778001997Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.78074919Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.744853ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.784693389Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.785423852Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=730.323µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.790745408Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.793571181Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.825193ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.797314599Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.798464475Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.154946ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.801694351Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.802423204Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=728.523µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.807186707Z level=info msg="Executing migration" id="Update dashboard table charset" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.807221387Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=36.08µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.810204521Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.810240021Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=36.68µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.81421876Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.817121944Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.902204ms 11:37:14 mariadb | 2024-03-10 11:35:27+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:37:14 mariadb | 2024-03-10 11:35:27+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 11:37:14 mariadb | 2024-03-10 11:35:27+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:37:14 mariadb | 2024-03-10 11:35:27+00:00 [Note] [Entrypoint]: Initializing database files 11:37:14 mariadb | 2024-03-10 11:35:27 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:37:14 mariadb | 2024-03-10 11:35:27 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:37:14 mariadb | 2024-03-10 11:35:27 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:37:14 mariadb | 11:37:14 mariadb | 11:37:14 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 11:37:14 mariadb | To do so, start the server, then issue the following command: 11:37:14 mariadb | 11:37:14 mariadb | '/usr/bin/mysql_secure_installation' 11:37:14 mariadb | 11:37:14 mariadb | which will also give you the option of removing the test 11:37:14 mariadb | databases and anonymous user created by default. This is 11:37:14 mariadb | strongly recommended for production servers. 11:37:14 mariadb | 11:37:14 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 11:37:14 mariadb | 11:37:14 mariadb | Please report any problems at https://mariadb.org/jira 11:37:14 mariadb | 11:37:14 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 11:37:14 mariadb | 11:37:14 mariadb | Consider joining MariaDB's strong and vibrant community: 11:37:14 mariadb | https://mariadb.org/get-involved/ 11:37:14 mariadb | 11:37:14 mariadb | 2024-03-10 11:35:29+00:00 [Note] [Entrypoint]: Database files initialized 11:37:14 mariadb | 2024-03-10 11:35:29+00:00 [Note] [Entrypoint]: Starting temporary server 11:37:14 mariadb | 2024-03-10 11:35:29+00:00 [Note] [Entrypoint]: Waiting for server startup 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: Number of transaction pools: 1 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: Completed initialization of buffer pool 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: 128 rollback segments are active. 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: log sequence number 46590; transaction id 14 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Note] Plugin 'FEEDBACK' is disabled. 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 11:37:14 mariadb | 2024-03-10 11:35:29 0 [Note] mariadbd: ready for connections. 11:37:14 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:14 mariadb | 2024-03-10 11:35:30+00:00 [Note] [Entrypoint]: Temporary server started. 11:37:14 mariadb | 2024-03-10 11:35:31+00:00 [Note] [Entrypoint]: Creating user policy_user 11:37:14 mariadb | 2024-03-10 11:35:31+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 11:37:14 mariadb | 11:37:14 mariadb | 2024-03-10 11:35:31+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 11:37:14 mariadb | 11:37:14 mariadb | 2024-03-10 11:35:31+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 11:37:14 mariadb | #!/bin/bash -xv 11:37:14 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 11:37:14 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 11:37:14 mariadb | # 11:37:14 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 11:37:14 mariadb | # you may not use this file except in compliance with the License. 11:37:14 mariadb | # You may obtain a copy of the License at 11:37:14 mariadb | # 11:37:14 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 11:37:14 mariadb | # 11:37:14 mariadb | # Unless required by applicable law or agreed to in writing, software 11:37:14 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 11:37:14 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11:37:14 mariadb | # See the License for the specific language governing permissions and 11:37:14 mariadb | # limitations under the License. 11:37:14 mariadb | 11:37:14 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:14 mariadb | do 11:37:14 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 11:37:14 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 11:37:14 mariadb | done 11:37:14 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:14 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 11:37:14 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:14 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:14 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 11:37:14 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:14 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:14 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.821121664Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.824361989Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.237575ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.829385243Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.831254643Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.86909ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.834687589Z level=info msg="Executing migration" id="Add column uid in dashboard" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.837613733Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.925704ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.84110603Z level=info msg="Executing migration" id="Update uid column values in dashboard" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.841415171Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=309.071µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.846793027Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.84750358Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=710.213µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.851376269Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.852416204Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.039905ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.857214057Z level=info msg="Executing migration" id="Update dashboard title length" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.857257717Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=44.73µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.863006895Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.86416579Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.166255ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.867925929Z level=info msg="Executing migration" id="create dashboard_provisioning" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.868967183Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.040474ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.87253886Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.879798435Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.260285ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.88487622Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.885570083Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=693.443µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.88915725Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.889974885Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=817.205µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.89318423Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.893972903Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=788.093µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.900422874Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.900878276Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=455.762µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.904551174Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.905327968Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=776.424µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.909240586Z level=info msg="Executing migration" id="Add check_sum column" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.912408452Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.166916ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.915813678Z level=info msg="Executing migration" id="Add index for dashboard_title" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.916564161Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=749.923µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.921514536Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.921697666Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=183.38µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.926175607Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 11:37:14 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:14 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:14 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 11:37:14 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:14 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:14 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 11:37:14 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:14 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:14 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 11:37:14 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:14 mariadb | 11:37:14 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 11:37:14 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 11:37:14 prometheus | ts=2024-03-10T11:35:29.470Z caller=main.go:564 level=info msg="No time or size retention was set so using the default time retention" duration=15d 11:37:14 prometheus | ts=2024-03-10T11:35:29.471Z caller=main.go:608 level=info msg="Starting Prometheus Server" mode=server version="(version=2.50.1, branch=HEAD, revision=8c9b0285360a0b6288d76214a75ce3025bce4050)" 11:37:14 prometheus | ts=2024-03-10T11:35:29.471Z 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:14 prometheus | ts=2024-03-10T11:35:29.471Z 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:14 prometheus | ts=2024-03-10T11:35:29.471Z caller=main.go:615 level=info fd_limits="(soft=1048576, hard=1048576)" 11:37:14 prometheus | ts=2024-03-10T11:35:29.471Z caller=main.go:616 level=info vm_limits="(soft=unlimited, hard=unlimited)" 11:37:14 prometheus | ts=2024-03-10T11:35:29.475Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 11:37:14 prometheus | ts=2024-03-10T11:35:29.475Z caller=main.go:1118 level=info msg="Starting TSDB ..." 11:37:14 prometheus | ts=2024-03-10T11:35:29.477Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 11:37:14 prometheus | ts=2024-03-10T11:35:29.477Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 11:37:14 prometheus | ts=2024-03-10T11:35:29.482Z caller=head.go:610 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 11:37:14 prometheus | ts=2024-03-10T11:35:29.482Z caller=head.go:692 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.03µs 11:37:14 prometheus | ts=2024-03-10T11:35:29.482Z caller=head.go:700 level=info component=tsdb msg="Replaying WAL, this may take a while" 11:37:14 prometheus | ts=2024-03-10T11:35:29.483Z caller=head.go:771 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 11:37:14 prometheus | ts=2024-03-10T11:35:29.483Z caller=head.go:808 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=29.99µs wal_replay_duration=515.044µs wbl_replay_duration=180ns total_replay_duration=570.104µs 11:37:14 prometheus | ts=2024-03-10T11:35:29.485Z caller=main.go:1139 level=info fs_type=EXT4_SUPER_MAGIC 11:37:14 prometheus | ts=2024-03-10T11:35:29.485Z caller=main.go:1142 level=info msg="TSDB started" 11:37:14 prometheus | ts=2024-03-10T11:35:29.485Z caller=main.go:1324 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 11:37:14 prometheus | ts=2024-03-10T11:35:29.486Z caller=main.go:1361 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.12953ms db_storage=1.04µs remote_storage=1.74µs web_handler=870ns query_engine=770ns scrape=231.562µs scrape_sd=148.661µs notify=28.77µs notify_sd=17.63µs rules=34.931µs tracing=74.911µs 11:37:14 prometheus | ts=2024-03-10T11:35:29.486Z caller=main.go:1103 level=info msg="Server is ready to receive web requests." 11:37:14 prometheus | ts=2024-03-10T11:35:29.486Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." 11:37:14 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 11:37:14 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 11:37:14 mariadb | 11:37:14 mariadb | 2024-03-10 11:35:32+00:00 [Note] [Entrypoint]: Stopping temporary server 11:37:14 mariadb | 2024-03-10 11:35:32 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 11:37:14 mariadb | 2024-03-10 11:35:32 0 [Note] InnoDB: FTS optimize thread exiting. 11:37:14 mariadb | 2024-03-10 11:35:32 0 [Note] InnoDB: Starting shutdown... 11:37:14 mariadb | 2024-03-10 11:35:32 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 11:37:14 mariadb | 2024-03-10 11:35:32 0 [Note] InnoDB: Buffer pool(s) dump completed at 240310 11:35:32 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Shutdown completed; log sequence number 340550; transaction id 298 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] mariadbd: Shutdown complete 11:37:14 mariadb | 11:37:14 mariadb | 2024-03-10 11:35:33+00:00 [Note] [Entrypoint]: Temporary server stopped 11:37:14 mariadb | 11:37:14 mariadb | 2024-03-10 11:35:33+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 11:37:14 mariadb | 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Number of transaction pools: 1 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Completed initialization of buffer pool 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: 128 rollback segments are active. 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: log sequence number 340550; transaction id 299 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] Plugin 'FEEDBACK' is disabled. 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] Server socket created on IP: '0.0.0.0'. 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] Server socket created on IP: '::'. 11:37:14 mariadb | 2024-03-10 11:35:33 0 [Note] mariadbd: ready for connections. 11:37:14 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:14 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Buffer pool(s) load completed at 240310 11:35:33 11:37:14 mariadb | 2024-03-10 11:35:34 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 11:37:14 mariadb | 2024-03-10 11:35:34 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.926441549Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=266.232µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.929937906Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.931150561Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.213935ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.936688278Z level=info msg="Executing migration" id="Add isPublic for dashboard" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.939371361Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.683803ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.977271873Z level=info msg="Executing migration" id="create data_source table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.978725289Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.453176ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.98284883Z level=info msg="Executing migration" id="add index data_source.account_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.984097075Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.247605ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.9892193Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.990033614Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=816.974µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.994134284Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:30.995203379Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.069164ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.000098052Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.001220447Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.121995ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.006158137Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.01207743Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=5.918753ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.016416418Z level=info msg="Executing migration" id="create data_source table v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.017298421Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=881.623µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.022273201Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.023036623Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=763.092µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.026763148Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.027746522Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=983.404µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.031697027Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.03246837Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=770.683µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.03735057Z level=info msg="Executing migration" id="Add column with_credentials" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.039627939Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.272609ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.044148347Z level=info msg="Executing migration" id="Add secure json data column" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.046387095Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.238248ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.05003021Z level=info msg="Executing migration" id="Update data_source table charset" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.05005311Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=23.66µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.054616617Z level=info msg="Executing migration" id="Update initial version to 1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.054811328Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=194.751µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.058429153Z level=info msg="Executing migration" id="Add read_only data column" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.060669231Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.240798ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.064349566Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.064562847Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=211.981µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.068238211Z level=info msg="Executing migration" id="Update json_data with nulls" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.068388492Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=150.431µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.073271051Z level=info msg="Executing migration" id="Add uid column" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.077221206Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.944065ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.081086782Z level=info msg="Executing migration" id="Update uid value" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.081273213Z level=info msg="Migration successfully executed" id="Update uid value" duration=186.471µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.084922837Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.08573234Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=810.113µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.09092093Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.092165876Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.239586ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.096465662Z level=info msg="Executing migration" id="create api_key table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.097800318Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.333766ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.101984164Z level=info msg="Executing migration" id="add index api_key.account_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.103079179Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.096005ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.108269008Z level=info msg="Executing migration" id="add index api_key.key" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.108989361Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=720.333µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.113001007Z level=info msg="Executing migration" id="add index api_key.account_id_name" 11:37:14 policy-api | Waiting for mariadb port 3306... 11:37:14 policy-api | mariadb (172.17.0.3:3306) open 11:37:14 policy-api | Waiting for policy-db-migrator port 6824... 11:37:14 policy-api | policy-db-migrator (172.17.0.4:6824) open 11:37:14 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 11:37:14 policy-api | 11:37:14 policy-api | . ____ _ __ _ _ 11:37:14 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 11:37:14 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 11:37:14 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 11:37:14 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 11:37:14 policy-api | =========|_|==============|___/=/_/_/_/ 11:37:14 policy-api | :: Spring Boot :: (v2.7.8) 11:37:14 policy-api | 11:37:14 policy-api | [2024-03-10T11:35:41.952+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 28 (/app/api.jar started by policy in /opt/app/policy/api/bin) 11:37:14 policy-api | [2024-03-10T11:35:41.956+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 11:37:14 policy-api | [2024-03-10T11:35:43.369+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 11:37:14 policy-api | [2024-03-10T11:35:43.471+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 89 ms. Found 6 JPA repository interfaces. 11:37:14 policy-api | [2024-03-10T11:35:44.677+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 11:37:14 policy-api | [2024-03-10T11:35:44.692+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 11:37:14 policy-api | [2024-03-10T11:35:44.693+00:00|INFO|StandardService|main] Starting service [Tomcat] 11:37:14 policy-api | [2024-03-10T11:35:44.693+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] 11:37:14 policy-api | [2024-03-10T11:35:44.792+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 11:37:14 policy-api | [2024-03-10T11:35:44.792+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2761 ms 11:37:14 policy-api | [2024-03-10T11:35:45.341+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 11:37:14 policy-api | [2024-03-10T11:35:45.417+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final 11:37:14 policy-api | [2024-03-10T11:35:45.692+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 11:37:14 policy-api | [2024-03-10T11:35:45.838+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 11:37:14 policy-api | [2024-03-10T11:35:45.955+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 11:37:14 policy-api | [2024-03-10T11:35:45.979+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect 11:37:14 policy-api | [2024-03-10T11:35:47.501+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 11:37:14 policy-api | [2024-03-10T11:35:47.514+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 11:37:14 policy-api | [2024-03-10T11:35:48.687+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 11:37:14 policy-api | [2024-03-10T11:35:49.439+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 11:37:14 policy-api | [2024-03-10T11:35:50.526+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@10ac5a14, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5cfcb55c, org.springframework.security.web.context.SecurityContextPersistenceFilter@a555005, org.springframework.security.web.header.HeaderWriterFilter@e73787, org.springframework.security.web.authentication.logout.LogoutFilter@337f6716, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@5bee88e3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@42d039ef, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@190a5f74, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@416dd4d8, org.springframework.security.web.session.SessionManagementFilter@50cdaf32, org.springframework.security.web.access.ExceptionTranslationFilter@556d8c78, org.springframework.security.web.access.intercept.AuthorizationFilter@65ff1e6d] 11:37:14 policy-api | [2024-03-10T11:35:50.678+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:14 policy-api | [2024-03-10T11:35:54.499+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 11:37:14 policy-api | [2024-03-10T11:35:54.529+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 11:37:14 policy-api | [2024-03-10T11:35:54.620+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 11:37:14 policy-api | [2024-03-10T11:35:54.639+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 13.59 seconds (JVM running for 14.228) 11:37:14 policy-api | [2024-03-10T11:35:59.985+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 11:37:14 policy-api | [2024-03-10T11:35:59.985+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 11:37:14 policy-api | [2024-03-10T11:35:59.986+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms 11:37:14 policy-api | [2024-03-10T11:36:02.477+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: 11:37:14 policy-api | [] 11:37:14 policy-api | [2024-03-10T11:36:02.606+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes 11:37:14 policy-api | [2024-03-10T11:36:02.866+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes 11:37:14 policy-api | [2024-03-10T11:36:04.016+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policies 11:37:14 policy-api | [2024-03-10T11:36:06.053+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 11:37:14 policy-api | [2024-03-10T11:36:06.469+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 11:37:14 policy-api | [2024-03-10T11:36:06.728+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:14 policy-api | [2024-03-10T11:36:07.010+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 11:37:14 policy-api | [2024-03-10T11:36:07.244+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 11:37:14 policy-api | [2024-03-10T11:36:07.470+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.114298462Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.296785ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.120281045Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.1215228Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.240795ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.126251249Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.127353232Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.101874ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.131223098Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.131911861Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=691.523µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.135384474Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.14205141Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.666426ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.146828578Z level=info msg="Executing migration" id="create api_key table v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.147543071Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=713.803µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.151472107Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.152215809Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=743.502µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.156821638Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.158130443Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.308165ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.162100269Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.163285653Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.179684ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.1676919Z level=info msg="Executing migration" id="copy api_key v1 to v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.168003641Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=311.281µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.172727559Z level=info msg="Executing migration" id="Drop old table api_key_v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.173212982Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=481.673µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.177769229Z level=info msg="Executing migration" id="Update api_key table charset" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.177809299Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=41.1µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.182840899Z level=info msg="Executing migration" id="Add expires to api_key table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.186745234Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.896135ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.191000371Z level=info msg="Executing migration" id="Add service account foreign key" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.1934012Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.400399ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.198077828Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.19823167Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=153.932µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.201884414Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.204260763Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.376079ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.208065947Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.210576927Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.51054ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.21628653Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.217023102Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=736.162µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.220786957Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.221286599Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=499.242µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.225200264Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.22662582Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.425006ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.23174319Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.232996105Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.252465ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.23713456Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.238504296Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.369186ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.242929643Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.243681967Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=751.924µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.249921491Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.250023641Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=101µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.253822995Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.253862616Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=46.601µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.257644231Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.262171608Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.522307ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.265914783Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.268477923Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.56283ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.273178711Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.273238641Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=60.32µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.277141867Z level=info msg="Executing migration" id="create quota table v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.27788012Z level=info msg="Migration successfully executed" id="create quota table v1" duration=737.923µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.431960331Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.479081895Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=47.127644ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.497159895Z level=info msg="Executing migration" id="Update quota table charset" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.497214135Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=49.96µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.504798875Z level=info msg="Executing migration" id="create plugin_setting table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.506497762Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.700297ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.527211922Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.527825835Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=614.203µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.53152709Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.533522937Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=1.993987ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.537499473Z level=info msg="Executing migration" id="Update plugin_setting table charset" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.537515553Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=19.39µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.541743299Z level=info msg="Executing migration" id="create session table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.542319501Z level=info msg="Migration successfully executed" id="create session table" duration=576.212µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.547385781Z level=info msg="Executing migration" id="Drop old table playlist table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.547441851Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=60.15µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.552780612Z level=info msg="Executing migration" id="Drop old table playlist_item table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.552837702Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=58.86µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.558176493Z level=info msg="Executing migration" id="create playlist table v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.558665575Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=488.902µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.563473994Z level=info msg="Executing migration" id="create playlist item table v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.563967376Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=493.262µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.569123226Z level=info msg="Executing migration" id="Update playlist table charset" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.569155686Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=34.37µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.574260076Z level=info msg="Executing migration" id="Update playlist_item table charset" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.574290866Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=32.28µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.579403726Z level=info msg="Executing migration" id="Add playlist column created_at" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.584117414Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.706248ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.588578452Z level=info msg="Executing migration" id="Add playlist column updated_at" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.591535313Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.956681ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.595265548Z level=info msg="Executing migration" id="drop preferences table v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.595345278Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=80.16µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.598938453Z level=info msg="Executing migration" id="drop preferences table v3" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.599009953Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=71.86µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.603950321Z level=info msg="Executing migration" id="create preferences table v3" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.605171657Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.220776ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.609236272Z level=info msg="Executing migration" id="Update preferences table charset" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.609274862Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=39.83µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.612943307Z level=info msg="Executing migration" id="Add column team_id in preferences" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.615939439Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=2.993132ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.62130883Z level=info msg="Executing migration" id="Update team_id column values in preferences" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.62145541Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=146.39µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.625323755Z level=info msg="Executing migration" id="Add column week_start in preferences" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.628288106Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=2.961391ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.632070631Z level=info msg="Executing migration" id="Add column preferences.json_data" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.635092433Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.021362ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.638958438Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 11:37:14 policy-db-migrator | Waiting for mariadb port 3306... 11:37:14 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:37:14 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:37:14 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:37:14 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:37:14 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:37:14 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:37:14 policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! 11:37:14 policy-db-migrator | 314 blocks 11:37:14 policy-db-migrator | Preparing upgrade release version: 0800 11:37:14 policy-db-migrator | Preparing upgrade release version: 0900 11:37:14 policy-db-migrator | Preparing upgrade release version: 1000 11:37:14 policy-db-migrator | Preparing upgrade release version: 1100 11:37:14 policy-db-migrator | Preparing upgrade release version: 1200 11:37:14 policy-db-migrator | Done 11:37:14 policy-db-migrator | name version 11:37:14 policy-db-migrator | policyadmin 0 11:37:14 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 11:37:14 policy-db-migrator | upgrade: 0 -> 1200 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:31.639017339Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=59.341µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.644786481Z level=info msg="Executing migration" id="Add preferences index org_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.645665784Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=878.893µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.696460022Z level=info msg="Executing migration" id="Add preferences index user_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.697837538Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.377016ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.702316805Z level=info msg="Executing migration" id="create alert table v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.70336407Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.047095ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.708227209Z level=info msg="Executing migration" id="add index alert org_id & id " 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.709117182Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=892.863µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.712896536Z level=info msg="Executing migration" id="add index alert state" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.71374105Z level=info msg="Migration successfully executed" id="add index alert state" duration=844.304µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.718844159Z level=info msg="Executing migration" id="add index alert dashboard_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.719618103Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=773.504µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.724638902Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.725681957Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.037565ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.765970443Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.767290989Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.319806ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.805891749Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.807110015Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.218656ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.861814457Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.874249466Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=12.433459ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.879230066Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.880093869Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=857.763µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.886950495Z 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:14 grafana | logger=migrator t=2024-03-10T11:35:31.88807871Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.126395ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.892343966Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.892749328Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=405.062µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.908730301Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.909480713Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=750.222µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.918473689Z level=info msg="Executing migration" id="create alert_notification table v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.919609163Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.134804ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.940364504Z level=info msg="Executing migration" id="Add column is_default" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.946189457Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.817723ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.951265186Z level=info msg="Executing migration" id="Add column frequency" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.954955851Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.694705ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.961107915Z level=info msg="Executing migration" id="Add column send_reminder" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.964534208Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.426003ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.968547535Z level=info msg="Executing migration" id="Add column disable_resolve_message" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.972047488Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.499583ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.976079823Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.976869706Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=790.303µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.982251487Z level=info msg="Executing migration" id="Update alert table charset" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.982277287Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=25.99µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.988024979Z level=info msg="Executing migration" id="Update alert_notification table charset" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:31.9880603Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=36.621µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.008747263Z level=info msg="Executing migration" id="create notification_journal table v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.009991263Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.24413ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.014077982Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.015418263Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.339461ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.021646566Z level=info msg="Executing migration" id="drop alert_notification_journal" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.022316272Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=672.446µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.025994354Z level=info msg="Executing migration" id="create alert_notification_state table v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.026995952Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=999.968µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.033203226Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.034585297Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.379061ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.038663253Z level=info msg="Executing migration" id="Add for to alert table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.042243953Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.58009ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.045979945Z level=info msg="Executing migration" id="Add column uid in alert_notification" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.049493205Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.51293ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.055474677Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.055641899Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=167.311µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.059765953Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.068895362Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=9.128439ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.072440383Z level=info msg="Executing migration" id="Remove unique index org_id_name" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.073050208Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=609.645µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.078056481Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.080695054Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=2.638323ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.084173213Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.084275944Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=102.551µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.087973005Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.088633571Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=660.506µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.092758867Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.093481733Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=722.846µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.098417245Z level=info msg="Executing migration" id="Drop old annotation table v4" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.098546566Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=128.931µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.101944085Z level=info msg="Executing migration" id="create annotation table v5" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.102705792Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=761.687µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.107358272Z level=info msg="Executing migration" id="add index annotation 0 v3" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.108196309Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=837.927µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.116026156Z level=info msg="Executing migration" id="add index annotation 1 v3" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.116703742Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=676.796µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.121802276Z level=info msg="Executing migration" id="add index annotation 2 v3" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.122490421Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=687.935µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.129155969Z level=info msg="Executing migration" id="add index annotation 3 v3" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.130251578Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.095499ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.13745287Z level=info msg="Executing migration" id="add index annotation 4 v3" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.138459259Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.005969ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.144549971Z level=info msg="Executing migration" id="Update annotation table charset" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.144567951Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=18.67µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.151709893Z level=info msg="Executing migration" id="Add column region_id to annotation table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.154616358Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=2.905765ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.15955089Z level=info msg="Executing migration" id="Drop category_id index" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.160228016Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=677.186µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.165550332Z level=info msg="Executing migration" id="Add column tags to annotation table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.168364596Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=2.812744ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.175887391Z level=info msg="Executing migration" id="Create annotation_tag table v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.176454875Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=565.774µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.182127004Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.183177313Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.050159ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.188972592Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.189598577Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=626.145µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.19565069Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.204026642Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=8.375442ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.209245116Z level=info msg="Executing migration" id="Create annotation_tag table v3" 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0450-pdpgroup.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0470-pdp.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.209858042Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=612.646µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.216465538Z 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:14 grafana | logger=migrator t=2024-03-10T11:35:32.217150274Z 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=684.786µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.224350326Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.224574918Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=225.582µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.230282107Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.230933402Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=652.455µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.237299687Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.237444379Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=144.672µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.243970725Z level=info msg="Executing migration" id="Add created time to annotation table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.24694345Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=2.972775ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.253547376Z level=info msg="Executing migration" id="Add updated time to annotation table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.256718563Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.171327ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.273431657Z level=info msg="Executing migration" id="Add index for created in annotation table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.274157974Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=726.097µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.283131751Z level=info msg="Executing migration" id="Add index for updated in annotation table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.28420292Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.074128ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.291860385Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.292239899Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=378.954µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.30051963Z level=info msg="Executing migration" id="Add epoch_end column" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.306856294Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.337714ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.314965964Z level=info msg="Executing migration" id="Add index for epoch_end" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.316165244Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.1973ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.323698738Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.323979251Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=278.713µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.329216516Z level=info msg="Executing migration" id="Move region to single row" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.330260865Z level=info msg="Migration successfully executed" id="Move region to single row" duration=1.043529ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.335032276Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.335883604Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=851.018µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.34129613Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.342286298Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=989.628µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.349839123Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.351360596Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.520833ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.358061714Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.359554656Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.491892ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.368618444Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.370018426Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.398062ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.377784593Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.379211245Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.424892ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.38564904Z level=info msg="Executing migration" id="Increase tags column to length 4096" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.385755511Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=106.961µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.392350668Z level=info msg="Executing migration" id="create test_data table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.393163485Z level=info msg="Migration successfully executed" id="create test_data table" duration=815.477µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.398147408Z level=info msg="Executing migration" id="create dashboard_version table v1" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.399388268Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.2402ms 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0570-toscadatatype.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0630-toscanodetype.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0660-toscaparameter.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.40661957Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.407544708Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=924.598µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.416097401Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.417734836Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.635015ms 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0670-toscapolicies.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0690-toscapolicy.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0730-toscaproperty.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0770-toscarequirement.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0780-toscarequirements.sql 11:37:14 policy-db-migrator | -------------- 11:37:14 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:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.422968211Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.423280133Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=311.902µs 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:32.427349348Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.427911034Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=561.156µs 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.435200236Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.435345557Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=148.392µs 11:37:14 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.444601716Z level=info msg="Executing migration" id="create team table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.445842267Z level=info msg="Migration successfully executed" id="create team table" duration=1.240021ms 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:32.45077435Z level=info msg="Executing migration" id="add index team.org_id" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.452391623Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.617453ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.457599458Z level=info msg="Executing migration" id="add unique index team_org_id_name" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.458550926Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=951.048µs 11:37:14 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.465115733Z level=info msg="Executing migration" id="Add column uid in team" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.472152102Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.035429ms 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:32.478600369Z level=info msg="Executing migration" id="Update uid column values in team" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.47879357Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=193.562µs 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.484901442Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.48689451Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.990288ms 11:37:14 policy-db-migrator | > upgrade 0820-toscatrigger.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.491861392Z level=info msg="Executing migration" id="create team member table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.493034732Z level=info msg="Migration successfully executed" id="create team member table" duration=1.17393ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.500524816Z level=info msg="Executing migration" id="add index team_member.org_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.502037899Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.512843ms 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:32.547342578Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.548831581Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.488243ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.555412457Z level=info msg="Executing migration" id="add index team_member.team_id" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.55684143Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.428903ms 11:37:14 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.562575759Z level=info msg="Executing migration" id="Add column email to team table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.567708242Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.133543ms 11:37:14 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.572643535Z level=info msg="Executing migration" id="Add column external to team_member table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.577130314Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.486169ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.581579382Z level=info msg="Executing migration" id="Add column permission to team_member table" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.586134541Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.554279ms 11:37:14 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.594979897Z level=info msg="Executing migration" id="create dashboard acl table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.596576911Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.596804ms 11:37:14 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.605598818Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.606792638Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.19243ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.613891799Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.615742416Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.849627ms 11:37:14 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.62445005Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.626193885Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.741804ms 11:37:14 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.633000764Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.634053772Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.054479ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.641242934Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.642946198Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.702574ms 11:37:14 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.650946047Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.651900625Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=954.428µs 11:37:14 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.659795143Z level=info msg="Executing migration" id="add index dashboard_permission" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.661472598Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.677635ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.670024841Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.671048429Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=1.021058ms 11:37:14 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.677803708Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.678213131Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=411.853µs 11:37:14 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.686485963Z level=info msg="Executing migration" id="create tag table" 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.687688603Z level=info msg="Migration successfully executed" id="create tag table" duration=1.20206ms 11:37:14 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.692797307Z level=info msg="Executing migration" id="add index tag.key_value" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.694069479Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.272952ms 11:37:14 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.698809059Z level=info msg="Executing migration" id="create login attempt table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.700557724Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.747405ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.71051623Z level=info msg="Executing migration" id="add index login_attempt.username" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.712171644Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.655074ms 11:37:14 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.720671738Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.722375543Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.703195ms 11:37:14 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.729603474Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.744317171Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=14.713847ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.75231444Z level=info msg="Executing migration" id="create login_attempt v2" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.752894566Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=579.666µs 11:37:14 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.759834566Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.761873823Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=2.041057ms 11:37:14 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.766579063Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.767066568Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=487.305µs 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.776164457Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.776778982Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=613.885µs 11:37:14 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.784277237Z level=info msg="Executing migration" id="create user auth table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.785513857Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.23637ms 11:37:14 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.792439767Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.794262192Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.821535ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.800489027Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.800595738Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=109.991µs 11:37:14 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.807059903Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.815366955Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.307552ms 11:37:14 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.821619479Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.829831949Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=8.21046ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.835098955Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.838838617Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=3.737912ms 11:37:14 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.844527466Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.849754231Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.225335ms 11:37:14 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.85546176Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.856428438Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=965.998µs 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.861439872Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.870202797Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.762685ms 11:37:14 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.878055695Z level=info msg="Executing migration" id="create server_lock table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.878886572Z level=info msg="Migration successfully executed" id="create server_lock table" duration=830.757µs 11:37:14 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.886335286Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.887986671Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.650615ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.893455948Z level=info msg="Executing migration" id="create user auth token table" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.894952861Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.497543ms 11:37:14 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.899049057Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.901462488Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=2.413271ms 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:32.905797914Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.906895654Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.09841ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.910733857Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.911746136Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.011729ms 11:37:14 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.915905082Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.921181938Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.275336ms 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:32.924863579Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.925889708Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.025069ms 11:37:14 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.9307374Z level=info msg="Executing migration" id="create cache_data table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.932152913Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.415263ms 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:32.936352028Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.937853372Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.500613ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.942072968Z level=info msg="Executing migration" id="create short_url table v1" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.942951855Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=878.297µs 11:37:14 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.947356613Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.948344061Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=986.478µs 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:32.952183735Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.952287476Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=104.291µs 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.95623463Z level=info msg="Executing migration" id="delete alert_definition table" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.956351871Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=117.481µs 11:37:14 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.960101902Z level=info msg="Executing migration" id="recreate alert_definition table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.960998751Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=898.379µs 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:32.965756342Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.967328905Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.572563ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.971145528Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.972737582Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.591024ms 11:37:14 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.97708559Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.977194191Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=109.911µs 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:32.982207123Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.983674437Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.467644ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.987929143Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.989289025Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.359072ms 11:37:14 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.993611812Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:32.994599941Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=987.97µs 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:32.999565774Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.000523382Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=956.788µs 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.004753464Z level=info msg="Executing migration" id="Add column paused in alert_definition" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.010467938Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.713953ms 11:37:14 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.014363764Z level=info msg="Executing migration" id="drop alert_definition table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.015245147Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=880.883µs 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:33.020227858Z level=info msg="Executing migration" id="delete alert_definition_version table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.020358298Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=127.84µs 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.024426444Z level=info msg="Executing migration" id="recreate alert_definition_version table" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.025929301Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.500287ms 11:37:14 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.031130632Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.032112586Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=981.574µs 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:33.03573422Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.037263477Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.528967ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.041130852Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.041231812Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=99.92µs 11:37:14 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.082952541Z level=info msg="Executing migration" id="drop alert_definition_version table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.084328788Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.373777ms 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:33.092564971Z level=info msg="Executing migration" id="create alert_instance table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.094375698Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.809897ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.108543605Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.110166312Z 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.622577ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.120784275Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.122371271Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.586906ms 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:33.133297626Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.142370713Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=9.073387ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.15400777Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.155378035Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.370615ms 11:37:14 policy-db-migrator | > upgrade 0100-pdp.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.170271446Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.171631701Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.361075ms 11:37:14 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.187646746Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.214963326Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=27.315ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.227979959Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.256592985Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=28.614026ms 11:37:14 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.259855178Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.260848613Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=989.225µs 11:37:14 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.266268475Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.267189918Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=920.613µs 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.273420073Z level=info msg="Executing migration" id="add current_reason column related to current_state" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.279262987Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.843024ms 11:37:14 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.284243707Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.291344437Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=7.10069ms 11:37:14 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.295109272Z level=info msg="Executing migration" id="create alert_rule table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.296041325Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=931.334µs 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.301518797Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.302549272Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.030015ms 11:37:14 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.305932986Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.306932609Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.000874ms 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:33.310896036Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.31194253Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.046104ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.318085334Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.318197195Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=112.921µs 11:37:14 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.322061101Z level=info msg="Executing migration" id="add column for to alert_rule" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.32945953Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.399039ms 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:33.333021856Z level=info msg="Executing migration" id="add column annotations to alert_rule" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.339296651Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.274175ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.384685045Z level=info msg="Executing migration" id="add column labels to alert_rule" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.393313979Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=8.630484ms 11:37:14 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.397623717Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.398546581Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=924.124µs 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.40576148Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.406760444Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=998.184µs 11:37:14 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.413045529Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.421868075Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.821606ms 11:37:14 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.426480424Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.433398872Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.918468ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.437626799Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.438346272Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=718.723µs 11:37:14 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.444549587Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.454057066Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.508349ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.459608898Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.465629763Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.018705ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.469830319Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 11:37:14 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.469895769Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=65.58µs 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.474697319Z level=info msg="Executing migration" id="create alert_rule_version table" 11:37:14 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.475785134Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.087455ms 11:37:14 policy-db-migrator | JOIN pdpstatistics b 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.481289427Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 11:37:14 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.482959343Z 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.669086ms 11:37:14 policy-db-migrator | SET a.id = b.id 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.48964462Z 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:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.491490977Z 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.840717ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.497801303Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.497900623Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=100.16µs 11:37:14 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.503260605Z level=info msg="Executing migration" id="add column for to alert_rule_version" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.510504734Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=7.245439ms 11:37:14 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.515888406Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.522164952Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.275526ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.526986081Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.533068496Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.081645ms 11:37:14 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.539226921Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.54868183Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=9.456289ms 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:33.55639489Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.564858764Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=8.469094ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.572676036Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.572742696Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=67.61µs 11:37:14 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.576332081Z level=info msg="Executing migration" id=create_alert_configuration_table 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.577087515Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=757.264µs 11:37:14 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.580790009Z level=info msg="Executing migration" id="Add column default in alert_configuration" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.590516609Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.7283ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.626445984Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.626548904Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=107.66µs 11:37:14 policy-db-migrator | > upgrade 0210-sequence.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.631197124Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.638651484Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=7.455121ms 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:33.642482199Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.643437633Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=954.684µs 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.648129282Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.654366727Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.237015ms 11:37:14 policy-db-migrator | > upgrade 0220-sequence.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.658148563Z level=info msg="Executing migration" id=create_ngalert_configuration_table 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.658958766Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=810.163µs 11:37:14 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.662673211Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.664149887Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.476226ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.669143018Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.675765244Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.622926ms 11:37:14 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.6798597Z level=info msg="Executing migration" id="create provenance_type table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.680612274Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=752.224µs 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:33.684289619Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.685287202Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=996.843µs 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.688988368Z level=info msg="Executing migration" id="create alert_image table" 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.690273513Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.286865ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.695392664Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:33.696874069Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.480925ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.700796286Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.700857676Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=61.6µs 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.70450537Z level=info msg="Executing migration" id=create_alert_configuration_history_table 11:37:14 policy-db-migrator | > upgrade 0120-toscatrigger.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.705468335Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=962.865µs 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.710561795Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 11:37:14 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.711985361Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.419706ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.716199378Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.716786661Z 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:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.720625006Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 11:37:14 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.721218528Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=592.822µs 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.726280239Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 11:37:14 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.727788825Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.508146ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.731729531Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.739246882Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.517721ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.743470648Z level=info msg="Executing migration" id="create library_element table v1" 11:37:14 policy-db-migrator | > upgrade 0140-toscaparameter.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.744513512Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.042554ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.749448102Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 11:37:14 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.750538568Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.091526ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.754127472Z level=info msg="Executing migration" id="create library_element_connection table v1" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.754979475Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=851.593µs 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.758717971Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 11:37:14 policy-db-migrator | > upgrade 0150-toscaproperty.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.759686604Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=968.003µs 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.764453714Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 11:37:14 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.76604655Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.592046ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.769911086Z level=info msg="Executing migration" id="increase max description length to 2048" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.769953196Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=43.17µs 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.773943422Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 11:37:14 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.774040322Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=97.6µs 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.779509485Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.779900316Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=391.351µs 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.784880766Z level=info msg="Executing migration" id="create data_keys table" 11:37:14 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.786424802Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.543346ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.790324369Z level=info msg="Executing migration" id="create secrets table" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.791584213Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.259294ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.79545236Z level=info msg="Executing migration" id="rename data_keys name column to id" 11:37:14 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.824214476Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=28.762116ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.828753855Z level=info msg="Executing migration" id="add name column into data_keys" 11:37:14 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.833832244Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.078329ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.837836351Z level=info msg="Executing migration" id="copy data_keys id column values into name" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.837978802Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=142.411µs 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.846215505Z level=info msg="Executing migration" id="rename data_keys name column to label" 11:37:14 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.875573294Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=29.354819ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.879759261Z level=info msg="Executing migration" id="rename data_keys id column back to name" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.909072659Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=29.312968ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.912858425Z level=info msg="Executing migration" id="create kv_store table v1" 11:37:14 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.913477028Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=617.173µs 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.917239583Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 11:37:14 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.918325498Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.085325ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.923120916Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 11:37:14 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.923317657Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=196.461µs 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.927101363Z level=info msg="Executing migration" id="create permission table" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.928461028Z level=info msg="Migration successfully executed" id="create permission table" duration=1.357075ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.932093132Z level=info msg="Executing migration" id="add unique index permission.role_id" 11:37:14 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.933154857Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.061915ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.938524589Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 11:37:14 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.939682504Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.157154ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.943130367Z level=info msg="Executing migration" id="create role table" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.944005431Z level=info msg="Migration successfully executed" id="create role table" duration=874.554µs 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.947248674Z level=info msg="Executing migration" id="add column display_name" 11:37:14 policy-db-migrator | > upgrade 0100-upgrade.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.954630255Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.381321ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.959302583Z level=info msg="Executing migration" id="add column group_name" 11:37:14 policy-db-migrator | select 'upgrade to 1100 completed' as msg 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.966369682Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.066639ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.970370428Z level=info msg="Executing migration" id="add index role.org_id" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.971448053Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.077905ms 11:37:14 policy-db-migrator | msg 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.975038107Z level=info msg="Executing migration" id="add unique index role_org_id_name" 11:37:14 policy-db-migrator | upgrade to 1100 completed 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.976174051Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.135764ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.979796936Z level=info msg="Executing migration" id="add index role_org_id_uid" 11:37:14 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.980968331Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.169725ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.985846611Z level=info msg="Executing migration" id="create team role table" 11:37:14 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.986985355Z level=info msg="Migration successfully executed" id="create team role table" duration=1.136564ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.990965541Z level=info msg="Executing migration" id="add index team_role.org_id" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.992673418Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.704727ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.998156561Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 11:37:14 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:33.999301065Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.144074ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.003235371Z level=info msg="Executing migration" id="add index team_role.team_id" 11:37:14 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.004949358Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.711827ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.008900754Z level=info msg="Executing migration" id="create user role table" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.010282609Z level=info msg="Migration successfully executed" id="create user role table" duration=1.381095ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.01523094Z level=info msg="Executing migration" id="add index user_role.org_id" 11:37:14 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.016290845Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.060015ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.020468461Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.022284029Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.815768ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.026672136Z level=info msg="Executing migration" id="add index user_role.user_id" 11:37:14 policy-db-migrator | > upgrade 0120-audit_sequence.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.028285303Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.613767ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.033820935Z level=info msg="Executing migration" id="create builtin role table" 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:34.034679189Z level=info msg="Migration successfully executed" id="create builtin role table" duration=858.064µs 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.038708955Z level=info msg="Executing migration" id="add index builtin_role.role_id" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.040433532Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.724697ms 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.044250917Z level=info msg="Executing migration" id="add index builtin_role.name" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.045986194Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.735357ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.050066491Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.057858912Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.790791ms 11:37:14 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.062784362Z level=info msg="Executing migration" id="add index builtin_role.org_id" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.063879837Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.095475ms 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.067915193Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.069035868Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.120435ms 11:37:14 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.072811453Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.074882151Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=2.066408ms 11:37:14 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:14 grafana | logger=migrator t=2024-03-10T11:35:34.07942577Z level=info msg="Executing migration" id="add unique index role.uid" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.081279308Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.853578ms 11:37:14 policy-db-migrator | 11:37:14 policy-db-migrator | -------------- 11:37:14 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.086578409Z level=info msg="Executing migration" id="create seed assignment table" 11:37:14 policy-db-migrator | -------------- 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.087437873Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=859.284µs 11:37:14 policy-db-migrator | 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.091703189Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 11:37:14 policy-db-migrator | policyadmin: OK: upgrade (1200) 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.093596607Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.895808ms 11:37:14 policy-db-migrator | name version 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.097929195Z level=info msg="Executing migration" id="add column hidden to role table" 11:37:14 policy-db-migrator | policyadmin 1200 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.107660594Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.732299ms 11:37:14 policy-db-migrator | ID script operation from_version to_version tag success atTime 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.112707395Z level=info msg="Executing migration" id="permission kind migration" 11:37:14 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:34 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.120463167Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.755372ms 11:37:14 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:34 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.124132111Z level=info msg="Executing migration" id="permission attribute migration" 11:37:14 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:34 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.129606803Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.474262ms 11:37:14 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:34 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.133102377Z level=info msg="Executing migration" id="permission identifier migration" 11:37:14 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:34 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.140848399Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.745692ms 11:37:14 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:34 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.193420792Z level=info msg="Executing migration" id="add permission identifier index" 11:37:14 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:34 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.195257489Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.837277ms 11:37:14 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:34 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.199636067Z level=info msg="Executing migration" id="add permission action scope role_id index" 11:37:14 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.200859452Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.222835ms 11:37:14 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.204768568Z level=info msg="Executing migration" id="remove permission role_id action scope index" 11:37:14 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.205839452Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.071104ms 11:37:14 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.211337354Z level=info msg="Executing migration" id="create query_history table v1" 11:37:14 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.212280468Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=942.714µs 11:37:14 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.216185044Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 11:37:14 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.218012102Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.826648ms 11:37:14 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.22262082Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 11:37:14 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.22272119Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=101.73µs 11:37:14 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.227801541Z level=info msg="Executing migration" id="rbac disabled migrator" 11:37:14 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.227835671Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=34.71µs 11:37:14 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.231613776Z level=info msg="Executing migration" id="teams permissions migration" 11:37:14 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.23224309Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=629.414µs 11:37:14 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.235986004Z level=info msg="Executing migration" id="dashboard permissions" 11:37:14 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.236966638Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=981.974µs 11:37:14 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.242009599Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 11:37:14 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.243228424Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.217835ms 11:37:14 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.249102528Z level=info msg="Executing migration" id="drop managed folder create actions" 11:37:14 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.249395629Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=293.201µs 11:37:14 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.253251884Z level=info msg="Executing migration" id="alerting notification permissions" 11:37:14 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.253817126Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=564.992µs 11:37:14 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.257940654Z level=info msg="Executing migration" id="create query_history_star table v1" 11:37:14 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.259310629Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.369635ms 11:37:14 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.264235739Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 11:37:14 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.266122697Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.886618ms 11:37:14 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.270568714Z level=info msg="Executing migration" id="add column org_id in query_history_star" 11:37:14 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.279877313Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=9.309419ms 11:37:14 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.283581007Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 11:37:14 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.283645638Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=65.541µs 11:37:14 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.287594413Z level=info msg="Executing migration" id="create correlation table v1" 11:37:14 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.288722778Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.127515ms 11:37:14 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.293708279Z level=info msg="Executing migration" id="add index correlations.uid" 11:37:14 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.295448065Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.739816ms 11:37:14 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.299563552Z level=info msg="Executing migration" id="add index correlations.source_uid" 11:37:14 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.301301359Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.738137ms 11:37:14 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.305624677Z level=info msg="Executing migration" id="add correlation config column" 11:37:14 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.31375568Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.130393ms 11:37:14 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.318704739Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 11:37:14 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.319750844Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.047515ms 11:37:14 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.323618809Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 11:37:14 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.325262596Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.644037ms 11:37:14 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.330434008Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 11:37:14 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.351209571Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=20.775793ms 11:37:14 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.355320258Z level=info msg="Executing migration" id="create correlation v2" 11:37:14 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.356164332Z level=info msg="Migration successfully executed" id="create correlation v2" duration=842.334µs 11:37:14 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.359713176Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 11:37:14 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.360697989Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=983.223µs 11:37:14 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.366222922Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 11:37:14 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.3681035Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.880708ms 11:37:14 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.372215267Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 11:37:14 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.373312141Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.096644ms 11:37:14 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.377110536Z level=info msg="Executing migration" id="copy correlation v1 to v2" 11:37:14 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.377456567Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=343.611µs 11:37:14 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.382472738Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 11:37:14 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.383770954Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.297496ms 11:37:14 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.38799309Z level=info msg="Executing migration" id="add provisioning column" 11:37:14 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.397113287Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.119537ms 11:37:14 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.401363765Z level=info msg="Executing migration" id="create entity_events table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.403002122Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.638537ms 11:37:14 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.408588254Z level=info msg="Executing migration" id="create dashboard public config v1" 11:37:14 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.409812669Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.224295ms 11:37:14 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.413403983Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 11:37:14 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.413980855Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 11:37:14 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.417622971Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:37:14 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.418148923Z 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:14 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.424006686Z level=info msg="Executing migration" id="Drop old dashboard public config table" 11:37:14 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.425431643Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.423997ms 11:37:14 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.431482687Z level=info msg="Executing migration" id="recreate dashboard public config v1" 11:37:14 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.432473151Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=990.604µs 11:37:14 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.439093737Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 11:37:14 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.440927655Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.833408ms 11:37:14 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.444858691Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:37:14 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.446456787Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.598066ms 11:37:14 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.450018931Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 11:37:14 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.451003286Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=984.265µs 11:37:14 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.455521844Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:37:14 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.456501388Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=979.384µs 11:37:14 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.460341214Z level=info msg="Executing migration" id="Drop public config table" 11:37:14 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.461085796Z level=info msg="Migration successfully executed" id="Drop public config table" duration=744.232µs 11:37:14 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.466040727Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 11:37:14 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.467160151Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.118794ms 11:37:14 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.470785786Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 11:37:14 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.47183138Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.045514ms 11:37:14 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.477879024Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.479710292Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.830568ms 11:37:14 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.48682848Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 11:37:14 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.488667078Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.838578ms 11:37:14 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 11:37:14 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:38 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.493002346Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 11:37:14 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:38 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.51625146Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=23.251234ms 11:37:14 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:38 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.520002895Z level=info msg="Executing migration" id="add annotations_enabled column" 11:37:14 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:38 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.526137981Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.135966ms 11:37:14 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:38 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.530767399Z level=info msg="Executing migration" id="add time_selection_enabled column" 11:37:14 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:38 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.539151433Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.380494ms 11:37:14 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:38 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.543092489Z level=info msg="Executing migration" id="delete orphaned public dashboards" 11:37:14 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:38 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.54331504Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=223.071µs 11:37:14 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.546891064Z level=info msg="Executing migration" id="add share column" 11:37:14 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.555327299Z level=info msg="Migration successfully executed" id="add share column" duration=8.434575ms 11:37:14 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.560037668Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 11:37:14 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.560242469Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=204.801µs 11:37:14 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.564286695Z level=info msg="Executing migration" id="create file table" 11:37:14 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.565290608Z level=info msg="Migration successfully executed" id="create file table" duration=1.003683ms 11:37:14 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.569737437Z level=info msg="Executing migration" id="file table idx: path natural pk" 11:37:14 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.571515184Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.777477ms 11:37:14 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.575684411Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 11:37:14 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.576729286Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.044485ms 11:37:14 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.581205933Z level=info msg="Executing migration" id="create file_meta table" 11:37:14 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.581995436Z level=info msg="Migration successfully executed" id="create file_meta table" duration=789.213µs 11:37:14 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.585796692Z level=info msg="Executing migration" id="file table idx: path key" 11:37:14 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.586850916Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.053874ms 11:37:14 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1003241135341100u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.590646742Z level=info msg="Executing migration" id="set path collation in file table" 11:37:14 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1003241135341200u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.590710362Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=64.08µs 11:37:14 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1003241135341200u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.59532716Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 11:37:14 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1003241135341200u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.595427551Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=101.271µs 11:37:14 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1003241135341200u 1 2024-03-10 11:35:39 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.599342707Z level=info msg="Executing migration" id="managed permissions migration" 11:37:14 policy-db-migrator | policyadmin: OK @ 1200 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.60014165Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=799.053µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.604112046Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.604441337Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=322.241µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.608276113Z level=info msg="Executing migration" id="RBAC action name migrator" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.610324942Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.047789ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.615405192Z level=info msg="Executing migration" id="Add UID column to playlist" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.624527109Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.121887ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.628452105Z level=info msg="Executing migration" id="Update uid column values in playlist" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.628611115Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=158.94µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.632535031Z level=info msg="Executing migration" id="Add index for uid in playlist" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.633735386Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.199895ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.638597396Z level=info msg="Executing migration" id="update group index for alert rules" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.639182048Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=585.682µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.643290345Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.643610146Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=319.561µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.647508142Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.647960944Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=450.502µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.651639729Z level=info msg="Executing migration" id="add action column to seed_assignment" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.660541684Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.899285ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.665000403Z level=info msg="Executing migration" id="add scope column to seed_assignment" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.671302608Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.301265ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.674794333Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.675821697Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.027254ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.679284561Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.750942061Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=71.65719ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.756194713Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.757967659Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.773606ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.763159831Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.764905898Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.745417ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.771111643Z level=info msg="Executing migration" id="add primary key to seed_assigment" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.796817307Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=25.705444ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.802889431Z level=info msg="Executing migration" id="add origin column to seed_assignment" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.810182881Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=7.29268ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.814452918Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.8147499Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=297.282µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.821155756Z level=info msg="Executing migration" id="prevent seeding OnCall access" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.821312277Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=158.831µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.825336992Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.825525933Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=188.631µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.829006068Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.829200889Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=194.461µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.835604754Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.835926926Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=322.492µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.843322956Z level=info msg="Executing migration" id="create folder table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.844887812Z level=info msg="Migration successfully executed" id="create folder table" duration=1.564696ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.849089139Z level=info msg="Executing migration" id="Add index for parent_uid" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.851250658Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.162249ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.856133117Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.857253862Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.118855ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.862265643Z level=info msg="Executing migration" id="Update folder title length" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.862307993Z level=info msg="Migration successfully executed" id="Update folder title length" duration=40.48µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.867762944Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.869683922Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.918248ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.875813367Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.876820182Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.006925ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.88162502Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.883450208Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.824398ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.888648089Z level=info msg="Executing migration" id="Sync dashboard and folder table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.889318052Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=669.553µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.893090378Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.893333289Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=243.751µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.897555385Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.898722951Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.166266ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.907070564Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.908868491Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.796747ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.915054696Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.916108121Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.052915ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.921169092Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.922361236Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.190864ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.926714874Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.92831663Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.601026ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.932239625Z level=info msg="Executing migration" id="create anon_device table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.93312946Z level=info msg="Migration successfully executed" id="create anon_device table" duration=889.205µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.941622364Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.943543582Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.920358ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.948714322Z level=info msg="Executing migration" id="add index anon_device.updated_at" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.950108539Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.394587ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.954309695Z level=info msg="Executing migration" id="create signing_key table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.955218599Z level=info msg="Migration successfully executed" id="create signing_key table" duration=908.384µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.96037987Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.962293108Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.913538ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.966696526Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.968353202Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.657996ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.973162672Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.973423923Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=262.121µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.979455297Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.991233015Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=11.778248ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.995172921Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:34.995857124Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=685.103µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.000051621Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.001145255Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.093184ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.006210866Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.007856162Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.646056ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.014354009Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.015983875Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.629816ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.020902685Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.022885833Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.979088ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.027421271Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.028646977Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.224846ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.033024644Z level=info msg="Executing migration" id="create sso_setting table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.034159349Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.134125ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.039467161Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.040297954Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=831.633µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.045862326Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.046399588Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=541.732µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.052742165Z level=info msg="Executing migration" id="alter kv_store.value to longtext" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.052939816Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=158.79µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.057203612Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.071238359Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=14.036677ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.076835182Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.085573407Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=8.736975ms 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.089324683Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.089611004Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=286.021µs 11:37:14 grafana | logger=migrator t=2024-03-10T11:35:35.093410449Z level=info msg="migrations completed" performed=547 skipped=0 duration=4.703470013s 11:37:14 grafana | logger=sqlstore t=2024-03-10T11:35:35.100536278Z level=info msg="Created default admin" user=admin 11:37:14 grafana | logger=sqlstore t=2024-03-10T11:35:35.10087468Z level=info msg="Created default organization" 11:37:14 grafana | logger=secrets t=2024-03-10T11:35:35.106823344Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 11:37:14 grafana | logger=plugin.store t=2024-03-10T11:35:35.126750714Z level=info msg="Loading plugins..." 11:37:14 grafana | logger=local.finder t=2024-03-10T11:35:35.171397365Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 11:37:14 grafana | logger=plugin.store t=2024-03-10T11:35:35.171425705Z level=info msg="Plugins loaded" count=55 duration=44.675531ms 11:37:14 grafana | logger=query_data t=2024-03-10T11:35:35.173751525Z level=info msg="Query Service initialization" 11:37:14 grafana | logger=live.push_http t=2024-03-10T11:35:35.177347989Z level=info msg="Live Push Gateway initialization" 11:37:14 grafana | logger=ngalert.migration t=2024-03-10T11:35:35.191375216Z level=info msg=Starting 11:37:14 grafana | logger=ngalert.migration t=2024-03-10T11:35:35.192140399Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false 11:37:14 grafana | logger=ngalert.migration orgID=1 t=2024-03-10T11:35:35.192945623Z level=info msg="Migrating alerts for organisation" 11:37:14 grafana | logger=ngalert.migration orgID=1 t=2024-03-10T11:35:35.193647226Z level=info msg="Alerts found to migrate" alerts=0 11:37:14 grafana | logger=ngalert.migration t=2024-03-10T11:35:35.195356362Z level=info msg="Completed alerting migration" 11:37:14 grafana | logger=ngalert.state.manager t=2024-03-10T11:35:35.222254931Z level=info msg="Running in alternative execution of Error/NoData mode" 11:37:14 grafana | logger=infra.usagestats.collector t=2024-03-10T11:35:35.224552761Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 11:37:14 grafana | logger=provisioning.datasources t=2024-03-10T11:35:35.226493139Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 11:37:14 grafana | logger=provisioning.alerting t=2024-03-10T11:35:35.272156694Z level=info msg="starting to provision alerting" 11:37:14 grafana | logger=provisioning.alerting t=2024-03-10T11:35:35.272270654Z level=info msg="finished to provision alerting" 11:37:14 grafana | logger=ngalert.state.manager t=2024-03-10T11:35:35.272547895Z level=info msg="Warming state cache for startup" 11:37:14 grafana | logger=ngalert.multiorg.alertmanager t=2024-03-10T11:35:35.272736356Z level=info msg="Starting MultiOrg Alertmanager" 11:37:14 grafana | logger=ngalert.state.manager t=2024-03-10T11:35:35.273424088Z level=info msg="State cache has been initialized" states=0 duration=874.833µs 11:37:14 grafana | logger=ngalert.scheduler t=2024-03-10T11:35:35.273470008Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 11:37:14 grafana | logger=ticker t=2024-03-10T11:35:35.274394033Z level=info msg=starting first_tick=2024-03-10T11:35:40Z 11:37:14 grafana | logger=grafanaStorageLogger t=2024-03-10T11:35:35.275144296Z level=info msg="Storage starting" 11:37:14 grafana | logger=http.server t=2024-03-10T11:35:35.277342645Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 11:37:14 grafana | logger=provisioning.dashboard t=2024-03-10T11:35:35.332006046Z level=info msg="starting to provision dashboards" 11:37:14 grafana | logger=sqlstore.transactions t=2024-03-10T11:35:35.356340235Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 11:37:14 grafana | logger=sqlstore.transactions t=2024-03-10T11:35:35.367723961Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" 11:37:14 grafana | logger=plugins.update.checker t=2024-03-10T11:35:35.406048666Z level=info msg="Update check succeeded" duration=132.916199ms 11:37:14 grafana | logger=sqlstore.transactions t=2024-03-10T11:35:35.456417691Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 11:37:14 grafana | logger=grafana.update.checker t=2024-03-10T11:35:35.496825664Z level=info msg="Update check succeeded" duration=223.691737ms 11:37:14 grafana | logger=provisioning.dashboard t=2024-03-10T11:35:35.610975527Z level=info msg="finished to provision dashboards" 11:37:14 grafana | logger=grafana-apiserver t=2024-03-10T11:35:35.788833207Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 11:37:14 grafana | logger=grafana-apiserver t=2024-03-10T11:35:35.789564141Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" 11:37:14 grafana | logger=infra.usagestats t=2024-03-10T11:36:35.284915032Z level=info msg="Usage stats are ready to report" 11:37:14 ++ echo 'Tearing down containers...' 11:37:14 Tearing down containers... 11:37:14 ++ docker-compose down -v --remove-orphans 11:37:14 Stopping grafana ... 11:37:14 Stopping policy-api ... 11:37:14 Stopping mariadb ... 11:37:14 Stopping prometheus ... 11:37:15 Stopping grafana ... done 11:37:15 Stopping prometheus ... done 11:37:15 Stopping mariadb ... done 11:37:24 Stopping policy-api ... done 11:37:25 Removing grafana ... 11:37:25 Removing policy-api ... 11:37:25 Removing policy-db-migrator ... 11:37:25 Removing mariadb ... 11:37:25 Removing prometheus ... 11:37:25 Removing policy-api ... done 11:37:25 Removing prometheus ... done 11:37:25 Removing grafana ... done 11:37:25 Removing policy-db-migrator ... done 11:37:25 Removing mariadb ... done 11:37:25 Removing network compose_default 11:37:25 ++ cd /w/workspace/policy-api-london-project-csit-api 11:37:25 + load_set 11:37:25 + _setopts=hxB 11:37:25 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:37:25 ++ tr : ' ' 11:37:25 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:25 + set +o braceexpand 11:37:25 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:25 + set +o hashall 11:37:25 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:25 + set +o interactive-comments 11:37:25 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:25 + set +o xtrace 11:37:25 ++ echo hxB 11:37:25 ++ sed 's/./& /g' 11:37:25 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:37:25 + set +h 11:37:25 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:37:25 + set +x 11:37:25 + [[ -n /tmp/tmp.Px3up8NRu8 ]] 11:37:25 + rsync -av /tmp/tmp.Px3up8NRu8/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api 11:37:25 sending incremental file list 11:37:25 ./ 11:37:25 log.html 11:37:25 output.xml 11:37:25 report.html 11:37:25 testplan.txt 11:37:25 11:37:25 sent 1,347,588 bytes received 95 bytes 2,695,366.00 bytes/sec 11:37:25 total size is 1,346,938 speedup is 1.00 11:37:25 + rm -rf /w/workspace/policy-api-london-project-csit-api/models 11:37:25 + exit 0 11:37:25 $ ssh-agent -k 11:37:25 unset SSH_AUTH_SOCK; 11:37:25 unset SSH_AGENT_PID; 11:37:25 echo Agent pid 2108 killed; 11:37:25 [ssh-agent] Stopped. 11:37:25 Robot results publisher started... 11:37:25 INFO: Checking test criticality is deprecated and will be dropped in a future release! 11:37:25 -Parsing output xml: 11:37:25 Done! 11:37:25 WARNING! Could not find file: **/log.html 11:37:25 WARNING! Could not find file: **/report.html 11:37:25 -Copying log files to build dir: 11:37:26 Done! 11:37:26 -Assigning results to build: 11:37:26 Done! 11:37:26 -Checking thresholds: 11:37:26 Done! 11:37:26 Done publishing Robot results. 11:37:26 [PostBuildScript] - [INFO] Executing post build scripts. 11:37:26 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins695000440693684938.sh 11:37:26 ---> sysstat.sh 11:37:26 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins17020357437683775461.sh 11:37:26 ---> package-listing.sh 11:37:26 ++ facter osfamily 11:37:26 ++ tr '[:upper:]' '[:lower:]' 11:37:26 + OS_FAMILY=debian 11:37:26 + workspace=/w/workspace/policy-api-london-project-csit-api 11:37:26 + START_PACKAGES=/tmp/packages_start.txt 11:37:26 + END_PACKAGES=/tmp/packages_end.txt 11:37:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:37:26 + PACKAGES=/tmp/packages_start.txt 11:37:26 + '[' /w/workspace/policy-api-london-project-csit-api ']' 11:37:26 + PACKAGES=/tmp/packages_end.txt 11:37:26 + case "${OS_FAMILY}" in 11:37:26 + dpkg -l 11:37:26 + grep '^ii' 11:37:26 + '[' -f /tmp/packages_start.txt ']' 11:37:26 + '[' -f /tmp/packages_end.txt ']' 11:37:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:37:26 + '[' /w/workspace/policy-api-london-project-csit-api ']' 11:37:26 + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ 11:37:26 + 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:26 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16136130348772578516.sh 11:37:26 ---> capture-instance-metadata.sh 11:37:26 Setup pyenv: 11:37:26 system 11:37:26 3.8.13 11:37:26 3.9.13 11:37:26 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:37:26 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-gBUe from file:/tmp/.os_lf_venv 11:37:28 lf-activate-venv(): INFO: Installing: lftools 11:37:37 lf-activate-venv(): INFO: Adding /tmp/venv-gBUe/bin to PATH 11:37:37 INFO: Running in OpenStack, capturing instance metadata 11:37:38 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13608246812344374459.sh 11:37:38 provisioning config files... 11:37:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config6007288903114657410tmp 11:37:38 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 11:37:38 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 11:37:38 [EnvInject] - Injecting environment variables from a build step. 11:37:38 [EnvInject] - Injecting as environment variables the properties content 11:37:38 SERVER_ID=logs 11:37:38 11:37:38 [EnvInject] - Variables injected successfully. 11:37:38 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8555126739447349187.sh 11:37:38 ---> create-netrc.sh 11:37:38 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins7390294141431728882.sh 11:37:38 ---> python-tools-install.sh 11:37:38 Setup pyenv: 11:37:38 system 11:37:38 3.8.13 11:37:38 3.9.13 11:37:38 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:37:38 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-gBUe from file:/tmp/.os_lf_venv 11:37:39 lf-activate-venv(): INFO: Installing: lftools 11:37:47 lf-activate-venv(): INFO: Adding /tmp/venv-gBUe/bin to PATH 11:37:47 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins17277135061405542391.sh 11:37:47 ---> sudo-logs.sh 11:37:47 Archiving 'sudo' log.. 11:37:47 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3960960309394550351.sh 11:37:47 ---> job-cost.sh 11:37:47 Setup pyenv: 11:37:47 system 11:37:47 3.8.13 11:37:47 3.9.13 11:37:47 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:37:48 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-gBUe from file:/tmp/.os_lf_venv 11:37:49 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 11:37:53 lf-activate-venv(): INFO: Adding /tmp/venv-gBUe/bin to PATH 11:37:53 INFO: No Stack... 11:37:54 INFO: Retrieving Pricing Info for: v3-standard-8 11:37:54 INFO: Archiving Costs 11:37:54 [policy-api-london-project-csit-api] $ /bin/bash -l /tmp/jenkins6188829065933554793.sh 11:37:54 ---> logs-deploy.sh 11:37:54 Setup pyenv: 11:37:54 system 11:37:54 3.8.13 11:37:54 3.9.13 11:37:54 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:37:54 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-gBUe from file:/tmp/.os_lf_venv 11:37:55 lf-activate-venv(): INFO: Installing: lftools 11:38:03 lf-activate-venv(): INFO: Adding /tmp/venv-gBUe/bin to PATH 11:38:03 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/296 11:38:03 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 11:38:04 Archives upload complete. 11:38:04 INFO: archiving logs to Nexus 11:38:05 ---> uname -a: 11:38:05 Linux prd-ubuntu1804-docker-8c-8g-12321 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:05 11:38:05 11:38:05 ---> lscpu: 11:38:05 Architecture: x86_64 11:38:05 CPU op-mode(s): 32-bit, 64-bit 11:38:05 Byte Order: Little Endian 11:38:05 CPU(s): 8 11:38:05 On-line CPU(s) list: 0-7 11:38:05 Thread(s) per core: 1 11:38:05 Core(s) per socket: 1 11:38:05 Socket(s): 8 11:38:05 NUMA node(s): 1 11:38:05 Vendor ID: AuthenticAMD 11:38:05 CPU family: 23 11:38:05 Model: 49 11:38:05 Model name: AMD EPYC-Rome Processor 11:38:05 Stepping: 0 11:38:05 CPU MHz: 2799.998 11:38:05 BogoMIPS: 5599.99 11:38:05 Virtualization: AMD-V 11:38:05 Hypervisor vendor: KVM 11:38:05 Virtualization type: full 11:38:05 L1d cache: 32K 11:38:05 L1i cache: 32K 11:38:05 L2 cache: 512K 11:38:05 L3 cache: 16384K 11:38:05 NUMA node0 CPU(s): 0-7 11:38:05 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:05 11:38:05 11:38:05 ---> nproc: 11:38:05 8 11:38:05 11:38:05 11:38:05 ---> df -h: 11:38:05 Filesystem Size Used Avail Use% Mounted on 11:38:05 udev 16G 0 16G 0% /dev 11:38:05 tmpfs 3.2G 708K 3.2G 1% /run 11:38:05 /dev/vda1 155G 12G 144G 8% / 11:38:05 tmpfs 16G 0 16G 0% /dev/shm 11:38:05 tmpfs 5.0M 0 5.0M 0% /run/lock 11:38:05 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:38:05 /dev/vda15 105M 4.4M 100M 5% /boot/efi 11:38:05 tmpfs 3.2G 0 3.2G 0% /run/user/1001 11:38:05 11:38:05 11:38:05 ---> free -m: 11:38:05 total used free shared buff/cache available 11:38:05 Mem: 32167 843 27422 0 3901 30867 11:38:05 Swap: 1023 0 1023 11:38:05 11:38:05 11:38:05 ---> ip addr: 11:38:05 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 11:38:05 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:38:05 inet 127.0.0.1/8 scope host lo 11:38:05 valid_lft forever preferred_lft forever 11:38:05 inet6 ::1/128 scope host 11:38:05 valid_lft forever preferred_lft forever 11:38:05 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 11:38:05 link/ether fa:16:3e:98:05:5a brd ff:ff:ff:ff:ff:ff 11:38:05 inet 10.30.107.112/23 brd 10.30.107.255 scope global dynamic ens3 11:38:05 valid_lft 86062sec preferred_lft 86062sec 11:38:05 inet6 fe80::f816:3eff:fe98:55a/64 scope link 11:38:05 valid_lft forever preferred_lft forever 11:38:05 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 11:38:05 link/ether 02:42:4a:36:fe:7c brd ff:ff:ff:ff:ff:ff 11:38:05 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 11:38:05 valid_lft forever preferred_lft forever 11:38:05 11:38:05 11:38:05 ---> sar -b -r -n DEV: 11:38:05 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-12321) 03/10/24 _x86_64_ (8 CPU) 11:38:05 11:38:05 11:32:30 LINUX RESTART (8 CPU) 11:38:05 11:38:05 11:33:01 tps rtps wtps bread/s bwrtn/s 11:38:05 11:34:01 143.36 70.69 72.67 4567.11 22798.60 11:38:05 11:35:01 131.56 22.98 108.58 2773.54 27299.05 11:38:05 11:36:01 377.14 15.93 361.21 810.10 75194.92 11:38:05 11:37:01 13.41 0.00 13.41 0.00 14870.22 11:38:05 11:38:01 56.12 1.93 54.19 111.98 17318.51 11:38:05 Average: 144.30 22.30 122.00 1652.38 31494.60 11:38:05 11:38:05 11:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:38:05 11:34:01 30149496 31731152 2789724 8.47 68108 1824244 1379476 4.06 836880 1660320 156848 11:38:05 11:35:01 28998904 31654192 3940316 11.96 99080 2832448 1553576 4.57 1000940 2574132 811292 11:38:05 11:36:01 26821048 30450100 6118172 18.57 127036 3669284 4697604 13.82 2291600 3375004 324 11:38:05 11:37:01 26844816 30445472 6094404 18.50 127188 3669972 4679240 13.77 2297812 3345136 48 11:38:05 11:38:01 28057696 31585292 4881524 14.82 129260 3636968 1516584 4.46 1191816 3264536 23668 11:38:05 Average: 28174392 31173242 4764828 14.47 110134 3126583 2765296 8.14 1523810 2843826 198436 11:38:05 11:38:05 11:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:38:05 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:05 11:34:01 ens3 355.41 254.54 1560.72 70.79 0.00 0.00 0.00 0.00 11:38:05 11:34:01 lo 1.53 1.53 0.16 0.16 0.00 0.00 0.00 0.00 11:38:05 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:05 11:35:01 br-dffb5d82c835 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:05 11:35:01 ens3 169.27 115.86 4320.63 13.79 0.00 0.00 0.00 0.00 11:38:05 11:35:01 lo 6.60 6.60 0.62 0.62 0.00 0.00 0.00 0.00 11:38:05 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:05 11:36:01 br-dffb5d82c835 0.88 0.95 0.10 0.34 0.00 0.00 0.00 0.00 11:38:05 11:36:01 vethd832325 30.83 27.50 14.18 24.58 0.00 0.00 0.00 0.00 11:38:05 11:36:01 veth7c17329 0.05 0.28 0.00 0.02 0.00 0.00 0.00 0.00 11:38:05 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:05 11:37:01 br-dffb5d82c835 2.91 3.33 5.83 2.20 0.00 0.00 0.00 0.00 11:38:05 11:37:01 vethd832325 84.28 67.59 32.49 94.47 0.00 0.00 0.00 0.01 11:38:05 11:37:01 veth7c17329 0.18 0.18 0.02 0.47 0.00 0.00 0.00 0.00 11:38:05 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:05 11:38:01 ens3 764.54 531.99 11083.05 130.90 0.00 0.00 0.00 0.00 11:38:05 11:38:01 lo 34.14 34.14 10.43 10.43 0.00 0.00 0.00 0.00 11:38:05 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:05 Average: ens3 150.35 104.33 2202.74 25.92 0.00 0.00 0.00 0.00 11:38:05 Average: lo 6.07 6.07 2.02 2.02 0.00 0.00 0.00 0.00 11:38:05 11:38:05 11:38:05 ---> sar -P ALL: 11:38:05 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-12321) 03/10/24 _x86_64_ (8 CPU) 11:38:05 11:38:05 11:32:30 LINUX RESTART (8 CPU) 11:38:05 11:38:05 11:33:01 CPU %user %nice %system %iowait %steal %idle 11:38:05 11:34:01 all 11.06 0.00 1.01 2.49 0.05 85.39 11:38:05 11:34:01 0 27.82 0.00 2.21 2.35 0.07 67.55 11:38:05 11:34:01 1 18.96 0.00 1.01 1.19 0.03 78.81 11:38:05 11:34:01 2 14.66 0.00 0.99 0.52 0.03 83.81 11:38:05 11:34:01 3 7.70 0.00 0.85 0.58 0.03 90.83 11:38:05 11:34:01 4 2.44 0.00 0.80 0.65 0.03 96.07 11:38:05 11:34:01 5 8.07 0.00 0.92 0.82 0.05 90.14 11:38:05 11:34:01 6 5.65 0.00 0.55 0.74 0.08 92.98 11:38:05 11:34:01 7 3.30 0.00 0.70 13.10 0.03 82.87 11:38:05 11:35:01 all 10.73 0.00 1.46 2.46 0.04 85.31 11:38:05 11:35:01 0 9.75 0.00 1.19 1.19 0.05 87.82 11:38:05 11:35:01 1 3.38 0.00 1.03 3.62 0.03 91.94 11:38:05 11:35:01 2 5.72 0.00 1.23 0.90 0.02 92.13 11:38:05 11:35:01 3 25.04 0.00 2.08 1.59 0.05 71.24 11:38:05 11:35:01 4 10.21 0.00 2.11 0.17 0.05 87.46 11:38:05 11:35:01 5 4.19 0.00 1.44 0.30 0.05 94.02 11:38:05 11:35:01 6 24.68 0.00 1.71 1.14 0.07 72.40 11:38:05 11:35:01 7 2.93 0.00 0.87 10.74 0.05 85.41 11:38:05 11:36:01 all 18.49 0.00 3.50 6.31 0.07 71.62 11:38:05 11:36:01 0 20.05 0.00 3.10 2.58 0.07 74.20 11:38:05 11:36:01 1 20.11 0.00 3.28 3.05 0.07 73.49 11:38:05 11:36:01 2 18.88 0.00 3.13 1.69 0.05 76.24 11:38:05 11:36:01 3 15.98 0.00 3.05 4.41 0.05 76.51 11:38:05 11:36:01 4 16.08 0.00 3.76 0.67 0.07 79.42 11:38:05 11:36:01 5 12.10 0.00 2.55 3.69 0.07 81.58 11:38:05 11:36:01 6 23.83 0.00 5.09 23.29 0.08 47.70 11:38:05 11:36:01 7 20.95 0.00 4.09 11.24 0.07 63.65 11:38:05 11:37:01 all 3.78 0.00 0.32 0.98 0.04 94.88 11:38:05 11:37:01 0 1.97 0.00 0.23 0.03 0.07 97.70 11:38:05 11:37:01 1 3.93 0.00 0.23 0.00 0.03 95.80 11:38:05 11:37:01 2 4.93 0.00 0.30 0.00 0.03 94.73 11:38:05 11:37:01 3 5.63 0.00 0.62 7.33 0.05 86.38 11:38:05 11:37:01 4 2.95 0.00 0.32 0.17 0.05 96.52 11:38:05 11:37:01 5 4.07 0.00 0.28 0.30 0.00 95.35 11:38:05 11:37:01 6 2.95 0.00 0.28 0.00 0.05 96.72 11:38:05 11:37:01 7 3.80 0.00 0.28 0.00 0.03 95.88 11:38:05 11:38:01 all 7.30 0.00 0.63 1.32 0.04 90.71 11:38:05 11:38:01 0 7.75 0.00 0.77 0.68 0.08 90.72 11:38:05 11:38:01 1 2.57 0.00 0.47 0.05 0.02 96.89 11:38:05 11:38:01 2 1.73 0.00 0.53 0.22 0.02 97.50 11:38:05 11:38:01 3 9.90 0.00 0.75 1.53 0.05 87.77 11:38:05 11:38:01 4 2.17 0.00 0.52 0.08 0.03 97.19 11:38:05 11:38:01 5 0.57 0.00 0.40 4.91 0.03 94.09 11:38:05 11:38:01 6 28.50 0.00 0.95 3.02 0.05 67.48 11:38:05 11:38:01 7 5.16 0.00 0.73 0.03 0.03 94.04 11:38:05 Average: all 10.26 0.00 1.38 2.71 0.05 85.60 11:38:05 Average: 0 13.45 0.00 1.50 1.36 0.07 83.62 11:38:05 Average: 1 9.78 0.00 1.20 1.58 0.04 87.41 11:38:05 Average: 2 9.17 0.00 1.24 0.66 0.03 88.90 11:38:05 Average: 3 12.84 0.00 1.47 3.09 0.05 82.56 11:38:05 Average: 4 6.76 0.00 1.50 0.35 0.05 91.34 11:38:05 Average: 5 5.79 0.00 1.12 2.00 0.04 91.05 11:38:05 Average: 6 17.09 0.00 1.71 5.61 0.07 75.52 11:38:05 Average: 7 7.20 0.00 1.33 7.01 0.04 84.42 11:38:05 11:38:05 11:38:05