16:08:54 Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/docker/+/137538 16:08:54 Running as SYSTEM 16:08:54 [EnvInject] - Loading node environment variables. 16:08:54 Building remotely on prd-ubuntu1804-docker-8c-8g-14651 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-project-csit-verify-api 16:08:54 [ssh-agent] Looking for ssh-agent implementation... 16:08:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:54 $ ssh-agent 16:08:54 SSH_AUTH_SOCK=/tmp/ssh-5kEkYnchNQ2E/agent.2056 16:08:54 SSH_AGENT_PID=2058 16:08:54 [ssh-agent] Started. 16:08:55 Running ssh-add (command line suppressed) 16:08:55 Identity added: /w/workspace/policy-api-master-project-csit-verify-api@tmp/private_key_17411558139716974322.key (/w/workspace/policy-api-master-project-csit-verify-api@tmp/private_key_17411558139716974322.key) 16:08:55 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 16:08:55 The recommended git tool is: NONE 16:08:56 using credential onap-jenkins-ssh 16:08:56 Wiping out workspace first. 16:08:56 Cloning the remote Git repository 16:08:56 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 16:08:56 > git init /w/workspace/policy-api-master-project-csit-verify-api # timeout=10 16:08:56 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 16:08:56 > git --version # timeout=10 16:08:56 > git --version # 'git version 2.17.1' 16:08:56 using GIT_SSH to set credentials Gerrit user 16:08:56 Verifying host key using manually-configured host key entries 16:08:56 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 16:08:57 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 16:08:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:08:57 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 16:08:57 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 16:08:57 using GIT_SSH to set credentials Gerrit user 16:08:57 Verifying host key using manually-configured host key entries 16:08:57 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git refs/changes/38/137538/1 # timeout=30 16:08:57 > git rev-parse 6f8a8fdf2815ab5354b15c3fa6c076c09cf62b27^{commit} # timeout=10 16:08:57 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 16:08:57 Checking out Revision 6f8a8fdf2815ab5354b15c3fa6c076c09cf62b27 (refs/changes/38/137538/1) 16:08:57 > git config core.sparsecheckout # timeout=10 16:08:57 > git checkout -f 6f8a8fdf2815ab5354b15c3fa6c076c09cf62b27 # timeout=30 16:09:01 Commit message: "Fix jenkins merge job failure in policy-docker" 16:09:01 > git rev-parse FETCH_HEAD^{commit} # timeout=10 16:09:01 > git rev-list --no-walk 3e1c1491c4aa260fda04d13cd7ad97056e43c02a # timeout=10 16:09:01 provisioning config files... 16:09:01 copy managed file [npmrc] to file:/home/jenkins/.npmrc 16:09:01 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 16:09:01 [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins10158156474676793931.sh 16:09:01 ---> python-tools-install.sh 16:09:01 Setup pyenv: 16:09:01 * system (set by /opt/pyenv/version) 16:09:01 * 3.8.13 (set by /opt/pyenv/version) 16:09:01 * 3.9.13 (set by /opt/pyenv/version) 16:09:01 * 3.10.6 (set by /opt/pyenv/version) 16:09:05 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-DRc8 16:09:05 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 16:09:08 lf-activate-venv(): INFO: Installing: lftools 16:09:41 lf-activate-venv(): INFO: Adding /tmp/venv-DRc8/bin to PATH 16:09:41 Generating Requirements File 16:10:08 Python 3.10.6 16:10:08 pip 24.0 from /tmp/venv-DRc8/lib/python3.10/site-packages/pip (python 3.10) 16:10:09 appdirs==1.4.4 16:10:09 argcomplete==3.2.3 16:10:09 aspy.yaml==1.3.0 16:10:09 attrs==23.2.0 16:10:09 autopage==0.5.2 16:10:09 beautifulsoup4==4.12.3 16:10:09 boto3==1.34.66 16:10:09 botocore==1.34.66 16:10:09 bs4==0.0.2 16:10:09 cachetools==5.3.3 16:10:09 certifi==2024.2.2 16:10:09 cffi==1.16.0 16:10:09 cfgv==3.4.0 16:10:09 chardet==5.2.0 16:10:09 charset-normalizer==3.3.2 16:10:09 click==8.1.7 16:10:09 cliff==4.6.0 16:10:09 cmd2==2.4.3 16:10:09 cryptography==3.3.2 16:10:09 debtcollector==3.0.0 16:10:09 decorator==5.1.1 16:10:09 defusedxml==0.7.1 16:10:09 Deprecated==1.2.14 16:10:09 distlib==0.3.8 16:10:09 dnspython==2.6.1 16:10:09 docker==4.2.2 16:10:09 dogpile.cache==1.3.2 16:10:09 email_validator==2.1.1 16:10:09 filelock==3.13.1 16:10:09 future==1.0.0 16:10:09 gitdb==4.0.11 16:10:09 GitPython==3.1.42 16:10:09 google-auth==2.28.2 16:10:09 httplib2==0.22.0 16:10:09 identify==2.5.35 16:10:09 idna==3.6 16:10:09 importlib-resources==1.5.0 16:10:09 iso8601==2.1.0 16:10:09 Jinja2==3.1.3 16:10:09 jmespath==1.0.1 16:10:09 jsonpatch==1.33 16:10:09 jsonpointer==2.4 16:10:09 jsonschema==4.21.1 16:10:09 jsonschema-specifications==2023.12.1 16:10:09 keystoneauth1==5.6.0 16:10:09 kubernetes==29.0.0 16:10:09 lftools==0.37.10 16:10:09 lxml==5.1.0 16:10:09 MarkupSafe==2.1.5 16:10:09 msgpack==1.0.8 16:10:09 multi_key_dict==2.0.3 16:10:09 munch==4.0.0 16:10:09 netaddr==1.2.1 16:10:09 netifaces==0.11.0 16:10:09 niet==1.4.2 16:10:09 nodeenv==1.8.0 16:10:09 oauth2client==4.1.3 16:10:09 oauthlib==3.2.2 16:10:09 openstacksdk==3.0.0 16:10:09 os-client-config==2.1.0 16:10:09 os-service-types==1.7.0 16:10:09 osc-lib==3.0.1 16:10:09 oslo.config==9.4.0 16:10:09 oslo.context==5.5.0 16:10:09 oslo.i18n==6.3.0 16:10:09 oslo.log==5.5.0 16:10:09 oslo.serialization==5.4.0 16:10:09 oslo.utils==7.1.0 16:10:09 packaging==24.0 16:10:09 pbr==6.0.0 16:10:09 platformdirs==4.2.0 16:10:09 prettytable==3.10.0 16:10:09 pyasn1==0.5.1 16:10:09 pyasn1-modules==0.3.0 16:10:09 pycparser==2.21 16:10:09 pygerrit2==2.0.15 16:10:09 PyGithub==2.2.0 16:10:09 pyinotify==0.9.6 16:10:09 PyJWT==2.8.0 16:10:09 PyNaCl==1.5.0 16:10:09 pyparsing==2.4.7 16:10:09 pyperclip==1.8.2 16:10:09 pyrsistent==0.20.0 16:10:09 python-cinderclient==9.5.0 16:10:09 python-dateutil==2.9.0.post0 16:10:09 python-heatclient==3.5.0 16:10:09 python-jenkins==1.8.2 16:10:09 python-keystoneclient==5.4.0 16:10:09 python-magnumclient==4.4.0 16:10:09 python-novaclient==18.6.0 16:10:09 python-openstackclient==6.6.0 16:10:09 python-swiftclient==4.5.0 16:10:09 PyYAML==6.0.1 16:10:09 referencing==0.34.0 16:10:09 requests==2.31.0 16:10:09 requests-oauthlib==1.4.0 16:10:09 requestsexceptions==1.4.0 16:10:09 rfc3986==2.0.0 16:10:09 rpds-py==0.18.0 16:10:09 rsa==4.9 16:10:09 ruamel.yaml==0.18.6 16:10:09 ruamel.yaml.clib==0.2.8 16:10:09 s3transfer==0.10.1 16:10:09 simplejson==3.19.2 16:10:09 six==1.16.0 16:10:09 smmap==5.0.1 16:10:09 soupsieve==2.5 16:10:09 stevedore==5.2.0 16:10:09 tabulate==0.9.0 16:10:09 toml==0.10.2 16:10:09 tomlkit==0.12.4 16:10:09 tqdm==4.66.2 16:10:09 typing_extensions==4.10.0 16:10:09 tzdata==2024.1 16:10:09 urllib3==1.26.18 16:10:09 virtualenv==20.25.1 16:10:09 wcwidth==0.2.13 16:10:09 websocket-client==1.7.0 16:10:09 wrapt==1.16.0 16:10:09 xdg==6.0.0 16:10:09 xmltodict==0.13.0 16:10:09 yq==3.2.3 16:10:09 [EnvInject] - Injecting environment variables from a build step. 16:10:09 [EnvInject] - Injecting as environment variables the properties content 16:10:09 SET_JDK_VERSION=openjdk17 16:10:09 GIT_URL="git://cloud.onap.org/mirror" 16:10:09 16:10:09 [EnvInject] - Variables injected successfully. 16:10:09 [policy-api-master-project-csit-verify-api] $ /bin/sh /tmp/jenkins7018449932735232172.sh 16:10:09 ---> update-java-alternatives.sh 16:10:09 ---> Updating Java version 16:10:09 ---> Ubuntu/Debian system detected 16:10:09 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 16:10:09 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 16:10:09 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 16:10:09 openjdk version "17.0.4" 2022-07-19 16:10:09 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 16:10:09 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 16:10:09 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 16:10:09 [EnvInject] - Injecting environment variables from a build step. 16:10:09 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 16:10:09 [EnvInject] - Variables injected successfully. 16:10:09 [policy-api-master-project-csit-verify-api] $ /bin/sh -xe /tmp/jenkins5768181701317670078.sh 16:10:09 + /w/workspace/policy-api-master-project-csit-verify-api/csit/run-project-csit.sh api 16:10:09 + set +u 16:10:09 + save_set 16:10:09 + RUN_CSIT_SAVE_SET=ehxB 16:10:09 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 16:10:09 + '[' 1 -eq 0 ']' 16:10:09 + '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' 16:10:09 + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin 16:10:09 + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin 16:10:09 + export SCRIPTS=/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts 16:10:09 + SCRIPTS=/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts 16:10:09 + export ROBOT_VARIABLES= 16:10:09 + ROBOT_VARIABLES= 16:10:09 + export PROJECT=api 16:10:09 + PROJECT=api 16:10:09 + cd /w/workspace/policy-api-master-project-csit-verify-api 16:10:09 + rm -rf /w/workspace/policy-api-master-project-csit-verify-api/csit/archives/api 16:10:09 + mkdir -p /w/workspace/policy-api-master-project-csit-verify-api/csit/archives/api 16:10:09 + source_safely /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/prepare-robot-env.sh 16:10:09 + '[' -z /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/prepare-robot-env.sh ']' 16:10:09 + relax_set 16:10:09 + set +e 16:10:09 + set +o pipefail 16:10:09 + . /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/prepare-robot-env.sh 16:10:09 ++ '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' 16:10:09 +++ mktemp -d 16:10:09 ++ ROBOT_VENV=/tmp/tmp.UFoqEpDfpi 16:10:09 ++ echo ROBOT_VENV=/tmp/tmp.UFoqEpDfpi 16:10:09 +++ python3 --version 16:10:09 ++ echo 'Python version is: Python 3.6.9' 16:10:09 Python version is: Python 3.6.9 16:10:09 ++ python3 -m venv --clear /tmp/tmp.UFoqEpDfpi 16:10:11 ++ source /tmp/tmp.UFoqEpDfpi/bin/activate 16:10:11 +++ deactivate nondestructive 16:10:11 +++ '[' -n '' ']' 16:10:11 +++ '[' -n '' ']' 16:10:11 +++ '[' -n /bin/bash -o -n '' ']' 16:10:11 +++ hash -r 16:10:11 +++ '[' -n '' ']' 16:10:11 +++ unset VIRTUAL_ENV 16:10:11 +++ '[' '!' nondestructive = nondestructive ']' 16:10:11 +++ VIRTUAL_ENV=/tmp/tmp.UFoqEpDfpi 16:10:11 +++ export VIRTUAL_ENV 16:10:11 +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin 16:10:11 +++ PATH=/tmp/tmp.UFoqEpDfpi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin 16:10:11 +++ export PATH 16:10:11 +++ '[' -n '' ']' 16:10:11 +++ '[' -z '' ']' 16:10:11 +++ _OLD_VIRTUAL_PS1= 16:10:11 +++ '[' 'x(tmp.UFoqEpDfpi) ' '!=' x ']' 16:10:11 +++ PS1='(tmp.UFoqEpDfpi) ' 16:10:11 +++ export PS1 16:10:11 +++ '[' -n /bin/bash -o -n '' ']' 16:10:11 +++ hash -r 16:10:11 ++ set -exu 16:10:11 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 16:10:14 ++ echo 'Installing Python Requirements' 16:10:14 Installing Python Requirements 16:10:14 ++ python3 -m pip install -qq -r /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/pylibs.txt 16:10:32 ++ python3 -m pip -qq freeze 16:10:32 bcrypt==4.0.1 16:10:32 beautifulsoup4==4.12.3 16:10:32 bitarray==2.9.2 16:10:32 certifi==2024.2.2 16:10:32 cffi==1.15.1 16:10:32 charset-normalizer==2.0.12 16:10:32 cryptography==40.0.2 16:10:32 decorator==5.1.1 16:10:32 elasticsearch==7.17.9 16:10:32 elasticsearch-dsl==7.4.1 16:10:32 enum34==1.1.10 16:10:32 idna==3.6 16:10:32 importlib-resources==5.4.0 16:10:32 ipaddr==2.2.0 16:10:32 isodate==0.6.1 16:10:32 jmespath==0.10.0 16:10:32 jsonpatch==1.32 16:10:32 jsonpath-rw==1.4.0 16:10:32 jsonpointer==2.3 16:10:32 lxml==5.1.0 16:10:32 netaddr==0.8.0 16:10:32 netifaces==0.11.0 16:10:32 odltools==0.1.28 16:10:32 paramiko==3.4.0 16:10:32 pkg_resources==0.0.0 16:10:32 ply==3.11 16:10:32 pyang==2.6.0 16:10:32 pyangbind==0.8.1 16:10:32 pycparser==2.21 16:10:32 pyhocon==0.3.60 16:10:32 PyNaCl==1.5.0 16:10:32 pyparsing==3.1.2 16:10:32 python-dateutil==2.9.0.post0 16:10:32 regex==2023.8.8 16:10:32 requests==2.27.1 16:10:32 robotframework==6.1.1 16:10:32 robotframework-httplibrary==0.4.2 16:10:32 robotframework-pythonlibcore==3.0.0 16:10:32 robotframework-requests==0.9.4 16:10:32 robotframework-selenium2library==3.0.0 16:10:32 robotframework-seleniumlibrary==5.1.3 16:10:32 robotframework-sshlibrary==3.8.0 16:10:32 scapy==2.5.0 16:10:32 scp==0.14.5 16:10:32 selenium==3.141.0 16:10:32 six==1.16.0 16:10:32 soupsieve==2.3.2.post1 16:10:32 urllib3==1.26.18 16:10:32 waitress==2.0.0 16:10:32 WebOb==1.8.7 16:10:32 WebTest==3.0.0 16:10:32 zipp==3.6.0 16:10:32 ++ mkdir -p /tmp/tmp.UFoqEpDfpi/src/onap 16:10:32 ++ rm -rf /tmp/tmp.UFoqEpDfpi/src/onap/testsuite 16:10:32 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 16:10:38 ++ echo 'Installing python confluent-kafka library' 16:10:38 Installing python confluent-kafka library 16:10:38 ++ python3 -m pip install -qq confluent-kafka 16:10:39 ++ echo 'Uninstall docker-py and reinstall docker.' 16:10:39 Uninstall docker-py and reinstall docker. 16:10:39 ++ python3 -m pip uninstall -y -qq docker 16:10:40 ++ python3 -m pip install -U -qq docker 16:10:41 ++ python3 -m pip -qq freeze 16:10:41 bcrypt==4.0.1 16:10:41 beautifulsoup4==4.12.3 16:10:41 bitarray==2.9.2 16:10:41 certifi==2024.2.2 16:10:41 cffi==1.15.1 16:10:41 charset-normalizer==2.0.12 16:10:41 confluent-kafka==2.3.0 16:10:41 cryptography==40.0.2 16:10:41 decorator==5.1.1 16:10:41 deepdiff==5.7.0 16:10:41 dnspython==2.2.1 16:10:41 docker==5.0.3 16:10:41 elasticsearch==7.17.9 16:10:41 elasticsearch-dsl==7.4.1 16:10:41 enum34==1.1.10 16:10:41 future==1.0.0 16:10:41 idna==3.6 16:10:41 importlib-resources==5.4.0 16:10:41 ipaddr==2.2.0 16:10:41 isodate==0.6.1 16:10:41 Jinja2==3.0.3 16:10:41 jmespath==0.10.0 16:10:41 jsonpatch==1.32 16:10:41 jsonpath-rw==1.4.0 16:10:41 jsonpointer==2.3 16:10:41 kafka-python==2.0.2 16:10:41 lxml==5.1.0 16:10:41 MarkupSafe==2.0.1 16:10:41 more-itertools==5.0.0 16:10:41 netaddr==0.8.0 16:10:41 netifaces==0.11.0 16:10:41 odltools==0.1.28 16:10:41 ordered-set==4.0.2 16:10:41 paramiko==3.4.0 16:10:41 pbr==6.0.0 16:10:41 pkg_resources==0.0.0 16:10:41 ply==3.11 16:10:41 protobuf==3.19.6 16:10:41 pyang==2.6.0 16:10:41 pyangbind==0.8.1 16:10:41 pycparser==2.21 16:10:41 pyhocon==0.3.60 16:10:41 PyNaCl==1.5.0 16:10:41 pyparsing==3.1.2 16:10:41 python-dateutil==2.9.0.post0 16:10:41 PyYAML==6.0.1 16:10:41 regex==2023.8.8 16:10:41 requests==2.27.1 16:10:41 robotframework==6.1.1 16:10:41 robotframework-httplibrary==0.4.2 16:10:41 robotframework-onap==0.6.0.dev105 16:10:41 robotframework-pythonlibcore==3.0.0 16:10:41 robotframework-requests==0.9.4 16:10:41 robotframework-selenium2library==3.0.0 16:10:41 robotframework-seleniumlibrary==5.1.3 16:10:41 robotframework-sshlibrary==3.8.0 16:10:41 robotlibcore-temp==1.0.2 16:10:41 scapy==2.5.0 16:10:41 scp==0.14.5 16:10:41 selenium==3.141.0 16:10:41 six==1.16.0 16:10:41 soupsieve==2.3.2.post1 16:10:41 urllib3==1.26.18 16:10:41 waitress==2.0.0 16:10:41 WebOb==1.8.7 16:10:41 websocket-client==1.3.1 16:10:41 WebTest==3.0.0 16:10:41 zipp==3.6.0 16:10:41 ++ uname 16:10:41 ++ grep -q Linux 16:10:41 ++ sudo apt-get -y -qq install libxml2-utils 16:10:41 + load_set 16:10:41 + _setopts=ehuxB 16:10:41 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 16:10:41 ++ tr : ' ' 16:10:41 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:10:41 + set +o braceexpand 16:10:41 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:10:41 + set +o hashall 16:10:41 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:10:41 + set +o interactive-comments 16:10:41 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:10:41 + set +o nounset 16:10:41 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:10:41 + set +o xtrace 16:10:41 ++ echo ehuxB 16:10:41 ++ sed 's/./& /g' 16:10:41 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:10:41 + set +e 16:10:41 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:10:41 + set +h 16:10:41 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:10:41 + set +u 16:10:41 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:10:41 + set +x 16:10:41 + source_safely /tmp/tmp.UFoqEpDfpi/bin/activate 16:10:41 + '[' -z /tmp/tmp.UFoqEpDfpi/bin/activate ']' 16:10:41 + relax_set 16:10:41 + set +e 16:10:41 + set +o pipefail 16:10:41 + . /tmp/tmp.UFoqEpDfpi/bin/activate 16:10:41 ++ deactivate nondestructive 16:10:41 ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin ']' 16:10:41 ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin 16:10:41 ++ export PATH 16:10:41 ++ unset _OLD_VIRTUAL_PATH 16:10:41 ++ '[' -n '' ']' 16:10:41 ++ '[' -n /bin/bash -o -n '' ']' 16:10:41 ++ hash -r 16:10:41 ++ '[' -n '' ']' 16:10:41 ++ unset VIRTUAL_ENV 16:10:41 ++ '[' '!' nondestructive = nondestructive ']' 16:10:41 ++ VIRTUAL_ENV=/tmp/tmp.UFoqEpDfpi 16:10:41 ++ export VIRTUAL_ENV 16:10:41 ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin 16:10:41 ++ PATH=/tmp/tmp.UFoqEpDfpi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin 16:10:41 ++ export PATH 16:10:41 ++ '[' -n '' ']' 16:10:41 ++ '[' -z '' ']' 16:10:41 ++ _OLD_VIRTUAL_PS1='(tmp.UFoqEpDfpi) ' 16:10:41 ++ '[' 'x(tmp.UFoqEpDfpi) ' '!=' x ']' 16:10:41 ++ PS1='(tmp.UFoqEpDfpi) (tmp.UFoqEpDfpi) ' 16:10:41 ++ export PS1 16:10:41 ++ '[' -n /bin/bash -o -n '' ']' 16:10:41 ++ hash -r 16:10:41 + load_set 16:10:41 + _setopts=hxB 16:10:41 ++ echo braceexpand:hashall:interactive-comments:xtrace 16:10:41 ++ tr : ' ' 16:10:41 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:10:41 + set +o braceexpand 16:10:41 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:10:41 + set +o hashall 16:10:41 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:10:41 + set +o interactive-comments 16:10:41 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:10:41 + set +o xtrace 16:10:41 ++ echo hxB 16:10:41 ++ sed 's/./& /g' 16:10:41 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:10:41 + set +h 16:10:41 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:10:41 + set +x 16:10:41 + export TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests 16:10:41 + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests 16:10:41 + export TEST_OPTIONS= 16:10:41 + TEST_OPTIONS= 16:10:41 ++ mktemp -d 16:10:41 + WORKDIR=/tmp/tmp.15rvSbGlht 16:10:41 + cd /tmp/tmp.15rvSbGlht 16:10:41 + docker login -u docker -p docker nexus3.onap.org:10001 16:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:42 Configure a credential helper to remove this warning. See 16:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:42 16:10:42 Login Succeeded 16:10:42 + SETUP=/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh 16:10:42 + '[' -f /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh ']' 16:10:42 + echo 'Running setup script /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh' 16:10:42 Running setup script /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh 16:10:42 + source_safely /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh 16:10:42 + '[' -z /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh ']' 16:10:42 + relax_set 16:10:42 + set +e 16:10:42 + set +o pipefail 16:10:42 + . /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh 16:10:42 ++ source /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/node-templates.sh 16:10:42 +++ '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' 16:10:42 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-verify-api/.gitreview 16:10:42 +++ GERRIT_BRANCH=master 16:10:42 +++ echo GERRIT_BRANCH=master 16:10:42 GERRIT_BRANCH=master 16:10:42 +++ rm -rf /w/workspace/policy-api-master-project-csit-verify-api/models 16:10:42 +++ mkdir /w/workspace/policy-api-master-project-csit-verify-api/models 16:10:42 +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-verify-api/models 16:10:42 Cloning into '/w/workspace/policy-api-master-project-csit-verify-api/models'... 16:10:43 +++ export DATA=/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies 16:10:43 +++ DATA=/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies 16:10:43 +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates 16:10:43 +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates 16:10:43 +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 16:10:43 +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 16:10:43 ++ source /w/workspace/policy-api-master-project-csit-verify-api/compose/start-compose.sh api --grafana 16:10:43 +++ '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' 16:10:43 +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-verify-api/compose 16:10:43 +++ grafana=false 16:10:43 +++ gui=false 16:10:43 +++ [[ 2 -gt 0 ]] 16:10:43 +++ key=api 16:10:43 +++ case $key in 16:10:43 +++ echo api 16:10:43 api 16:10:43 +++ component=api 16:10:43 +++ shift 16:10:43 +++ [[ 1 -gt 0 ]] 16:10:43 +++ key=--grafana 16:10:43 +++ case $key in 16:10:43 +++ grafana=true 16:10:43 +++ shift 16:10:43 +++ [[ 0 -gt 0 ]] 16:10:43 +++ cd /w/workspace/policy-api-master-project-csit-verify-api/compose 16:10:43 +++ echo 'Configuring docker compose...' 16:10:43 Configuring docker compose... 16:10:43 +++ source export-ports.sh 16:10:43 +++ source get-versions.sh 16:10:45 +++ '[' -z api ']' 16:10:45 +++ '[' -n api ']' 16:10:45 +++ '[' api == logs ']' 16:10:45 +++ '[' true = true ']' 16:10:45 +++ echo 'Starting api application with Grafana' 16:10:45 Starting api application with Grafana 16:10:45 +++ docker-compose up -d api grafana 16:10:46 Creating network "compose_default" with the default driver 16:10:46 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 16:10:46 10.10.2: Pulling from mariadb 16:10:51 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 16:10:51 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 16:10:51 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.1.2-SNAPSHOT)... 16:10:51 3.1.2-SNAPSHOT: Pulling from onap/policy-db-migrator 16:10:55 Digest: sha256:ab0a3a1ee55f1bb0f1d1fd16687dc5c3f589ad75c369848b1db1aef2f7ab963c 16:10:55 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.2-SNAPSHOT 16:10:55 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.2-SNAPSHOT)... 16:10:56 3.1.2-SNAPSHOT: Pulling from onap/policy-api 16:11:00 Digest: sha256:fdc9aa26830be0af882248f5f576f0e9466b8e17ff432e8618d01432efa85803 16:11:00 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.2-SNAPSHOT 16:11:00 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 16:11:00 latest: Pulling from prom/prometheus 16:11:03 Digest: sha256:5ccad477d0057e62a7cd1981ffcc43785ac10c5a35522dc207466ff7e7ec845f 16:11:03 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 16:11:03 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 16:11:03 latest: Pulling from grafana/grafana 16:11:09 Digest: sha256:f9811e4e687ffecf1a43adb9b64096c50bc0d7a782f8608530f478b6542de7d5 16:11:09 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 16:11:09 Creating mariadb ... 16:11:09 Creating prometheus ... 16:11:24 Creating prometheus ... done 16:11:24 Creating grafana ... 16:11:25 Creating grafana ... done 16:11:26 Creating mariadb ... done 16:11:26 Creating policy-db-migrator ... 16:11:27 Creating policy-db-migrator ... done 16:11:27 Creating policy-api ... 16:11:28 Creating policy-api ... done 16:11:28 +++ echo 'Prometheus server: http://localhost:30259' 16:11:28 Prometheus server: http://localhost:30259 16:11:28 +++ echo 'Grafana server: http://localhost:30269' 16:11:28 Grafana server: http://localhost:30269 16:11:28 +++ cd /w/workspace/policy-api-master-project-csit-verify-api 16:11:28 ++ sleep 10 16:11:38 ++ unset http_proxy https_proxy 16:11:38 ++ bash /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 16:11:38 Waiting for REST to come up on localhost port 30002... 16:11:38 NAMES STATUS 16:11:38 policy-api Up 10 seconds 16:11:38 policy-db-migrator Up 11 seconds 16:11:38 grafana Up 13 seconds 16:11:38 prometheus Up 14 seconds 16:11:38 mariadb Up 11 seconds 16:11:43 NAMES STATUS 16:11:43 policy-api Up 15 seconds 16:11:43 grafana Up 18 seconds 16:11:43 prometheus Up 19 seconds 16:11:43 mariadb Up 16 seconds 16:11:48 NAMES STATUS 16:11:48 policy-api Up 20 seconds 16:11:48 grafana Up 23 seconds 16:11:48 prometheus Up 24 seconds 16:11:48 mariadb Up 22 seconds 16:11:53 NAMES STATUS 16:11:53 policy-api Up 25 seconds 16:11:53 grafana Up 28 seconds 16:11:53 prometheus Up 29 seconds 16:11:53 mariadb Up 27 seconds 16:11:54 ++ export 'SUITES=api-test.robot 16:11:54 api-slas.robot' 16:11:54 ++ SUITES='api-test.robot 16:11:54 api-slas.robot' 16:11:54 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 16:11:54 -v DATA:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates' 16:11:54 + load_set 16:11:54 + _setopts=hxB 16:11:54 ++ echo braceexpand:hashall:interactive-comments:xtrace 16:11:54 ++ tr : ' ' 16:11:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:11:54 + set +o braceexpand 16:11:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:11:54 + set +o hashall 16:11:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:11:54 + set +o interactive-comments 16:11:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:11:54 + set +o xtrace 16:11:54 ++ echo hxB 16:11:54 ++ sed 's/./& /g' 16:11:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:11:54 + set +h 16:11:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:11:54 + set +x 16:11:54 + docker_stats 16:11:54 + tee /w/workspace/policy-api-master-project-csit-verify-api/csit/archives/api/_sysinfo-1-after-setup.txt 16:11:54 ++ uname -s 16:11:54 + '[' Linux == Darwin ']' 16:11:54 + sh -c 'top -bn1 | head -3' 16:11:54 top - 16:11:54 up 3 min, 0 users, load average: 2.27, 0.99, 0.39 16:11:54 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie 16:11:54 %Cpu(s): 10.7 us, 2.1 sy, 0.0 ni, 83.1 id, 4.0 wa, 0.0 hi, 0.1 si, 0.1 st 16:11:54 + echo 16:11:54 16:11:54 + sh -c 'free -h' 16:11:54 total used free shared buff/cache available 16:11:54 Mem: 31G 1.5G 25G 1.0M 4.2G 29G 16:11:54 Swap: 1.0G 0B 1.0G 16:11:54 + echo 16:11:54 16:11:54 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 16:11:54 NAMES STATUS 16:11:54 policy-api Up 25 seconds 16:11:54 grafana Up 28 seconds 16:11:54 prometheus Up 29 seconds 16:11:54 mariadb Up 27 seconds 16:11:54 + echo 16:11:54 16:11:54 + docker stats --no-stream 16:11:56 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 16:11:56 8fb1a2f27113 policy-api 0.45% 504.7MiB / 31.41GiB 1.57% 999kB / 710kB 0B / 0B 54 16:11:56 959807626a9a grafana 0.06% 56MiB / 31.41GiB 0.17% 18.5kB / 3.25kB 0B / 24.8MB 18 16:11:56 9bd5e50b5f8d prometheus 0.24% 18.97MiB / 31.41GiB 0.06% 1.52kB / 158B 229kB / 0B 12 16:11:56 226e1799c777 mariadb 0.02% 100.6MiB / 31.41GiB 0.31% 986kB / 1.18MB 11MB / 70.4MB 27 16:11:56 + echo 16:11:56 16:11:56 + cd /tmp/tmp.15rvSbGlht 16:11:56 + echo 'Reading the testplan:' 16:11:56 Reading the testplan: 16:11:56 + echo 'api-test.robot 16:11:56 api-slas.robot' 16:11:56 + sed 's|^|/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/|' 16:11:56 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 16:11:56 + cat testplan.txt 16:11:56 /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot 16:11:56 /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-slas.robot 16:11:56 ++ xargs 16:11:56 + SUITES='/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-slas.robot' 16:11:56 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 16:11:56 -v DATA:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates' 16:11:56 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 16:11:56 -v DATA:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates 16:11:56 + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-slas.robot ...' 16:11:56 Starting Robot test suites /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-slas.robot ... 16:11:56 + relax_set 16:11:56 + set +e 16:11:56 + set +o pipefail 16:11:56 + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-slas.robot 16:11:57 ============================================================================== 16:11:57 api 16:11:57 ============================================================================== 16:11:57 api.Api-Test 16:11:57 ============================================================================== 16:11:57 Healthcheck :: Verify policy api health check | PASS | 16:11:57 ------------------------------------------------------------------------------ 16:11:59 RetrievePolicyTypes :: Retrieve all policy types | PASS | 16:11:59 ------------------------------------------------------------------------------ 16:12:00 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 16:12:00 ------------------------------------------------------------------------------ 16:12:00 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 16:12:00 ------------------------------------------------------------------------------ 16:12:00 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 16:12:00 ------------------------------------------------------------------------------ 16:12:01 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 16:12:01 ------------------------------------------------------------------------------ 16:12:01 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 16:12:01 ------------------------------------------------------------------------------ 16:12:01 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 16:12:01 ------------------------------------------------------------------------------ 16:12:02 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 16:12:02 ------------------------------------------------------------------------------ 16:12:02 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 16:12:02 ------------------------------------------------------------------------------ 16:12:03 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 16:12:03 ------------------------------------------------------------------------------ 16:12:03 RetrieveAllPolicies :: Retrieve all policies | PASS | 16:12:03 ------------------------------------------------------------------------------ 16:12:03 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 16:12:03 ------------------------------------------------------------------------------ 16:12:03 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 16:12:03 ------------------------------------------------------------------------------ 16:12:03 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 16:12:03 ------------------------------------------------------------------------------ 16:12:04 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 16:12:04 ------------------------------------------------------------------------------ 16:12:04 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 16:12:04 ------------------------------------------------------------------------------ 16:12:04 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 16:12:04 ------------------------------------------------------------------------------ 16:12:05 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 16:12:05 ------------------------------------------------------------------------------ 16:12:05 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 16:12:05 ------------------------------------------------------------------------------ 16:12:05 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 16:12:05 ------------------------------------------------------------------------------ 16:12:05 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 16:12:05 ------------------------------------------------------------------------------ 16:12:05 api.Api-Test | PASS | 16:12:05 22 tests, 22 passed, 0 failed 16:12:05 ============================================================================== 16:12:05 api.Api-Slas 16:12:05 ============================================================================== 16:13:05 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 16:13:05 ------------------------------------------------------------------------------ 16:13:05 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 16:13:05 ------------------------------------------------------------------------------ 16:13:05 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 16:13:05 ------------------------------------------------------------------------------ 16:13:05 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 16:13:05 ------------------------------------------------------------------------------ 16:13:05 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 16:13:05 ------------------------------------------------------------------------------ 16:13:05 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 16:13:05 ------------------------------------------------------------------------------ 16:13:05 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 16:13:05 ------------------------------------------------------------------------------ 16:13:05 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 16:13:05 ------------------------------------------------------------------------------ 16:13:05 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 16:13:05 ------------------------------------------------------------------------------ 16:13:05 api.Api-Slas | PASS | 16:13:05 9 tests, 9 passed, 0 failed 16:13:05 ============================================================================== 16:13:05 api | PASS | 16:13:05 31 tests, 31 passed, 0 failed 16:13:05 ============================================================================== 16:13:05 Output: /tmp/tmp.15rvSbGlht/output.xml 16:13:05 Log: /tmp/tmp.15rvSbGlht/log.html 16:13:05 Report: /tmp/tmp.15rvSbGlht/report.html 16:13:06 + RESULT=0 16:13:06 + load_set 16:13:06 + _setopts=hxB 16:13:06 ++ echo braceexpand:hashall:interactive-comments:xtrace 16:13:06 ++ tr : ' ' 16:13:06 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:13:06 + set +o braceexpand 16:13:06 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:13:06 + set +o hashall 16:13:06 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:13:06 + set +o interactive-comments 16:13:06 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:13:06 + set +o xtrace 16:13:06 ++ echo hxB 16:13:06 ++ sed 's/./& /g' 16:13:06 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:13:06 + set +h 16:13:06 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:13:06 + set +x 16:13:06 + echo 'RESULT: 0' 16:13:06 RESULT: 0 16:13:06 + exit 0 16:13:06 + on_exit 16:13:06 + rc=0 16:13:06 + [[ -n /w/workspace/policy-api-master-project-csit-verify-api ]] 16:13:06 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 16:13:06 NAMES STATUS 16:13:06 policy-api Up About a minute 16:13:06 grafana Up About a minute 16:13:06 prometheus Up About a minute 16:13:06 mariadb Up About a minute 16:13:06 + docker_stats 16:13:06 ++ uname -s 16:13:06 + '[' Linux == Darwin ']' 16:13:06 + sh -c 'top -bn1 | head -3' 16:13:06 top - 16:13:06 up 4 min, 0 users, load average: 0.90, 0.88, 0.40 16:13:06 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie 16:13:06 %Cpu(s): 9.0 us, 1.7 sy, 0.0 ni, 86.0 id, 3.2 wa, 0.0 hi, 0.0 si, 0.0 st 16:13:06 + echo 16:13:06 16:13:06 + sh -c 'free -h' 16:13:06 total used free shared buff/cache available 16:13:06 Mem: 31G 2.1G 25G 1.0M 4.2G 28G 16:13:06 Swap: 1.0G 0B 1.0G 16:13:06 + echo 16:13:06 16:13:06 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 16:13:06 NAMES STATUS 16:13:06 policy-api Up About a minute 16:13:06 grafana Up About a minute 16:13:06 prometheus Up About a minute 16:13:06 mariadb Up About a minute 16:13:06 + echo 16:13:06 16:13:06 + docker stats --no-stream 16:13:08 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 16:13:08 8fb1a2f27113 policy-api 0.12% 1.185GiB / 31.41GiB 3.77% 7MB / 2.55MB 0B / 0B 55 16:13:08 959807626a9a grafana 0.04% 61.11MiB / 31.41GiB 0.19% 19.4kB / 4.39kB 0B / 24.8MB 18 16:13:08 9bd5e50b5f8d prometheus 0.00% 24.86MiB / 31.41GiB 0.08% 55.3kB / 6.35kB 229kB / 0B 13 16:13:08 226e1799c777 mariadb 0.02% 101.8MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 70.8MB 18 16:13:08 + echo 16:13:08 16:13:08 + source_safely /w/workspace/policy-api-master-project-csit-verify-api/compose/stop-compose.sh 16:13:08 + '[' -z /w/workspace/policy-api-master-project-csit-verify-api/compose/stop-compose.sh ']' 16:13:08 + relax_set 16:13:08 + set +e 16:13:08 + set +o pipefail 16:13:08 + . /w/workspace/policy-api-master-project-csit-verify-api/compose/stop-compose.sh 16:13:08 ++ echo 'Shut down started!' 16:13:08 Shut down started! 16:13:08 ++ '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' 16:13:08 ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-verify-api/compose 16:13:08 ++ cd /w/workspace/policy-api-master-project-csit-verify-api/compose 16:13:08 ++ source export-ports.sh 16:13:08 ++ source get-versions.sh 16:13:10 ++ echo 'Collecting logs from docker compose containers...' 16:13:10 Collecting logs from docker compose containers... 16:13:10 ++ docker-compose logs 16:13:11 ++ cat docker_compose.log 16:13:11 Attaching to policy-api, policy-db-migrator, grafana, prometheus, mariadb 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.784637999Z level=info msg="Starting Grafana" version=10.4.0 commit=03f502a94d17f7dc4e6c34acdf8428aedd986e4c branch=HEAD compiled=2024-03-20T16:11:25Z 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785044172Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785059672Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785063832Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785067392Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785070663Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785073613Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785076403Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785079933Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785085053Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785087793Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785091133Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785197954Z level=info msg=Target target=[all] 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785217404Z level=info msg="Path Home" path=/usr/share/grafana 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785221974Z level=info msg="Path Data" path=/var/lib/grafana 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785227874Z level=info msg="Path Logs" path=/var/log/grafana 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785230534Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785233264Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 16:13:11 grafana | logger=settings t=2024-03-20T16:11:25.785236254Z level=info msg="App mode production" 16:13:11 grafana | logger=sqlstore t=2024-03-20T16:11:25.785596697Z level=info msg="Connecting to DB" dbtype=sqlite3 16:13:11 grafana | logger=sqlstore t=2024-03-20T16:11:25.785617777Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.786411955Z level=info msg="Starting DB migrations" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.787546326Z level=info msg="Executing migration" id="create migration_log table" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.788532745Z level=info msg="Migration successfully executed" id="create migration_log table" duration=985.779µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.797245728Z level=info msg="Executing migration" id="create user table" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.798146056Z level=info msg="Migration successfully executed" id="create user table" duration=900.038µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.804308415Z level=info msg="Executing migration" id="add unique index user.login" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.805582857Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.274122ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.810882006Z level=info msg="Executing migration" id="add unique index user.email" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.812086098Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.203582ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.816853213Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.817874262Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.020589ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.823424305Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.824035311Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=611.436µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.82812612Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.831766954Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.641984ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.835756301Z level=info msg="Executing migration" id="create user table v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.836833532Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.078851ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.842212673Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.842875989Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=662.856µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.849942195Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.850623572Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=681.137µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.856532858Z level=info msg="Executing migration" id="copy data_source v1 to v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.857095533Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=560.585µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.862716696Z level=info msg="Executing migration" id="Drop old table user_v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.863499364Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=784.818µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.867809315Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.869520491Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.710426ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.873998573Z level=info msg="Executing migration" id="Update user table charset" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.874039453Z level=info msg="Migration successfully executed" id="Update user table charset" duration=42.35µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.879137612Z level=info msg="Executing migration" id="Add last_seen_at column to user" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.880252163Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.114241ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.887789503Z level=info msg="Executing migration" id="Add missing user data" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.888144346Z level=info msg="Migration successfully executed" id="Add missing user data" duration=354.813µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.892841512Z level=info msg="Executing migration" id="Add is_disabled column to user" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.894509927Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.668045ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.89911189Z level=info msg="Executing migration" id="Add index user.login/user.email" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.899768967Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=656.467µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.904010267Z level=info msg="Executing migration" id="Add is_service_account column to user" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.905493811Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.479374ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.911034833Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.919330332Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=8.290729ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.923150787Z level=info msg="Executing migration" id="Add uid column to user" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.924239688Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.088871ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.928399047Z level=info msg="Executing migration" id="Update uid column values for users" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.928577839Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=178.872µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.932660358Z level=info msg="Executing migration" id="Add unique index user_uid" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.934436965Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.769837ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.941138208Z level=info msg="Executing migration" id="create temp user table v1-7" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.94242098Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.282222ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.947047824Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.948142054Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.09359ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.952320893Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.95299099Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=669.737µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.958730564Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.959963526Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.233942ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.96462477Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.965879882Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.255022ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.970296464Z level=info msg="Executing migration" id="Update temp_user table charset" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.970324584Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=28.99µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.975837876Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:25.976528003Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=690.537µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.036117215Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.037202196Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.082731ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.043535615Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.044616546Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.080331ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.05242491Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.0534807Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.05512ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.059475787Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.064448314Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.954496ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.071710683Z level=info msg="Executing migration" id="create temp_user v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.072673032Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=963.159µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.080033282Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.081191492Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.1572ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.085346511Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.086528503Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.181802ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.090655172Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.091774342Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.11578ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.098394256Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.099529995Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.135389ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.104108049Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.104517203Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=409.154µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.109794423Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.11056887Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=773.767µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.11582517Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.116483427Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=658.177µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.121662855Z level=info msg="Executing migration" id="create star table" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.122652905Z level=info msg="Migration successfully executed" id="create star table" duration=988.77µs 16:13:11 policy-api | Waiting for mariadb port 3306... 16:13:11 policy-api | mariadb (172.17.0.3:3306) open 16:13:11 policy-api | Waiting for policy-db-migrator port 6824... 16:13:11 policy-api | policy-db-migrator (172.17.0.5:6824) open 16:13:11 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 16:13:11 policy-api | 16:13:11 policy-api | . ____ _ __ _ _ 16:13:11 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 16:13:11 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 16:13:11 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 16:13:11 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 16:13:11 policy-api | =========|_|==============|___/=/_/_/_/ 16:13:11 policy-api | :: Spring Boot :: (v3.1.8) 16:13:11 policy-api | 16:13:11 policy-api | [2024-03-20T16:11:42.111+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.10 with PID 22 (/app/api.jar started by policy in /opt/app/policy/api/bin) 16:13:11 policy-api | [2024-03-20T16:11:42.113+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 16:13:11 policy-api | [2024-03-20T16:11:43.816+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 16:13:11 policy-api | [2024-03-20T16:11:43.905+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 81 ms. Found 6 JPA repository interfaces. 16:13:11 policy-api | [2024-03-20T16:11:44.308+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler 16:13:11 policy-api | [2024-03-20T16:11:44.309+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler 16:13:11 policy-api | [2024-03-20T16:11:44.957+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 16:13:11 policy-api | [2024-03-20T16:11:44.967+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 16:13:11 policy-api | [2024-03-20T16:11:44.969+00:00|INFO|StandardService|main] Starting service [Tomcat] 16:13:11 policy-api | [2024-03-20T16:11:44.969+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.18] 16:13:11 policy-api | [2024-03-20T16:11:45.052+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 16:13:11 policy-api | [2024-03-20T16:11:45.052+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2877 ms 16:13:11 policy-api | [2024-03-20T16:11:45.470+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 16:13:11 policy-api | [2024-03-20T16:11:45.548+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 16:13:11 policy-api | [2024-03-20T16:11:45.551+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 16:13:11 policy-api | [2024-03-20T16:11:45.599+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 16:13:11 policy-api | [2024-03-20T16:11:45.968+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.127068126Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.127785684Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=717.327µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.13167225Z level=info msg="Executing migration" id="create org table v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.132427277Z level=info msg="Migration successfully executed" id="create org table v1" duration=754.627µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.136062812Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.136778328Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=731.476µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.141492582Z level=info msg="Executing migration" id="create org_user table v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.14219242Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=700.128µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.146838603Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.148019674Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.180661ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.152311075Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.153050652Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=738.987µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.156681836Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.157556395Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=873.539µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.163560301Z level=info msg="Executing migration" id="Update org table charset" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.163585752Z level=info msg="Migration successfully executed" id="Update org table charset" duration=26.951µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.16974712Z level=info msg="Executing migration" id="Update org_user table charset" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.169781061Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=35.001µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.176342492Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.176607085Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=265.243µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.180570862Z level=info msg="Executing migration" id="create dashboard table" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.181753823Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.182471ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.186820702Z level=info msg="Executing migration" id="add index dashboard.account_id" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.187629289Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=804.887µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.192193083Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.193276452Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.081649ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.19823308Z level=info msg="Executing migration" id="create dashboard_tag table" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.19928456Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.05049ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.204977964Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.206348657Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.370653ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.211187852Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.212267892Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.07956ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.217597223Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.222461418Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=4.863845ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.229614476Z level=info msg="Executing migration" id="create dashboard v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.230382254Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=767.248µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.234363261Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.235459652Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.094261ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.240714631Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.241955383Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.242082ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.249250952Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.249829028Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=577.546µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.255410361Z level=info msg="Executing migration" id="drop table dashboard_v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.256708953Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.297882ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.260873263Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.260936073Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=61.471µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.265680997Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.26803995Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.357343ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.272088068Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.274859665Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.771287ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.279119565Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.280852081Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.732096ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.28717024Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 16:13:11 policy-api | [2024-03-20T16:11:45.990+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 16:13:11 policy-api | [2024-03-20T16:11:46.086+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@63b3ee82 16:13:11 policy-api | [2024-03-20T16:11:46.089+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 16:13:11 policy-api | [2024-03-20T16:11:47.931+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 16:13:11 policy-api | [2024-03-20T16:11:47.934+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 16:13:11 policy-api | [2024-03-20T16:11:48.968+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 16:13:11 policy-api | [2024-03-20T16:11:49.801+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 16:13:11 policy-api | [2024-03-20T16:11:50.975+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 16:13:11 policy-api | [2024-03-20T16:11:51.209+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@5f967ad3, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5c1348c6, org.springframework.security.web.context.SecurityContextHolderFilter@9bc10bd, org.springframework.security.web.header.HeaderWriterFilter@6e11d059, org.springframework.security.web.authentication.logout.LogoutFilter@56b5de49, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@79462469, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2e26841f, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@36c6d53b, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4f3eddc0, org.springframework.security.web.access.ExceptionTranslationFilter@1d123972, org.springframework.security.web.access.intercept.AuthorizationFilter@4bbb00a4] 16:13:11 policy-api | [2024-03-20T16:11:52.021+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 16:13:11 policy-api | [2024-03-20T16:11:52.141+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 16:13:11 policy-api | [2024-03-20T16:11:52.164+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 16:13:11 policy-api | [2024-03-20T16:11:52.184+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.795 seconds (process running for 11.418) 16:13:11 policy-api | [2024-03-20T16:11:57.161+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 16:13:11 policy-api | [2024-03-20T16:11:57.161+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 16:13:11 policy-api | [2024-03-20T16:11:57.162+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms 16:13:11 policy-api | [2024-03-20T16:12:00.073+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: 16:13:11 policy-api | [] 16:13:11 policy-api | [2024-03-20T16:12:00.202+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes 16:13:11 policy-api | [2024-03-20T16:12:00.449+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes 16:13:11 policy-api | [2024-03-20T16:12:01.866+00:00|WARN|CommonRestController|http-nio-6969-exec-8] POST /policies 16:13:11 policy-api | [2024-03-20T16:12:04.214+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 16:13:11 policy-api | [2024-03-20T16:12:04.515+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 16:13:11 policy-api | [2024-03-20T16:12:04.758+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 16:13:11 policy-api | [2024-03-20T16:12:05.032+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 16:13:11 policy-api | [2024-03-20T16:12:05.328+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 16:13:11 policy-api | [2024-03-20T16:12:05.582+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.288348742Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.178062ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.292928846Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.295796623Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.866377ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.302429655Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.303192872Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=762.777µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.308636754Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.30935075Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=713.826µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.315451869Z level=info msg="Executing migration" id="Update dashboard table charset" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.315489369Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=38.5µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.328817645Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.328888015Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=69.89µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.333256896Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.336601709Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.345023ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.34204365Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.34519293Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.14916ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.349335139Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.351215997Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.887028ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.355117284Z level=info msg="Executing migration" id="Add column uid in dashboard" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.356494856Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.377023ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.361678526Z level=info msg="Executing migration" id="Update uid column values in dashboard" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.361890478Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=212.222µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.365887176Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.366449291Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=562.445µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.370763822Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.371680881Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=916.629µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.377168782Z level=info msg="Executing migration" id="Update dashboard title length" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.377196233Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=21.901µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.380572594Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.38112548Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=553.296µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.384527232Z level=info msg="Executing migration" id="create dashboard_provisioning" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.385045886Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=518.404µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.394113643Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.397864818Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=3.755355ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.401944176Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.402459541Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=514.245µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.406078165Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.406648131Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=571.766µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.410303855Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.410857861Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=553.506µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.416666066Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.416881288Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=215.482µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.420388771Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.420768125Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=383.564µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.427568289Z level=info msg="Executing migration" id="Add check_sum column" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.429287545Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=1.718466ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.435938248Z level=info msg="Executing migration" id="Add index for dashboard_title" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.436531704Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=592.696µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.440269189Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.44039776Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=128.281µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.444368448Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.444495539Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=125.241µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.450175813Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.450790848Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=623.695µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.454458003Z level=info msg="Executing migration" id="Add isPublic for dashboard" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.455980378Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=1.521755ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.493643764Z level=info msg="Executing migration" id="create data_source table" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.494380351Z level=info msg="Migration successfully executed" id="create data_source table" duration=736.547µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.499995193Z level=info msg="Executing migration" id="add index data_source.account_id" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.50059167Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=596.067µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.504358976Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.504962481Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=604.095µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.509178451Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.509737816Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=559.165µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.514668523Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.515204888Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=535.015µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.518869723Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.523150133Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=4.27918ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.527814397Z level=info msg="Executing migration" id="create data_source table v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.528483144Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=666.937µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.53547685Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.536228227Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=753.907µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.539780921Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.540407606Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=626.175µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.545804697Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.546199951Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=395.344µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.551139028Z level=info msg="Executing migration" id="Add column with_credentials" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.552788233Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=1.649015ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.557027304Z level=info msg="Executing migration" id="Add secure json data column" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.558663699Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=1.636185ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.562475555Z level=info msg="Executing migration" id="Update data_source table charset" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.562496115Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=21.2µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.567178419Z level=info msg="Executing migration" id="Update initial version to 1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.567329801Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=148.742µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.572207647Z level=info msg="Executing migration" id="Add read_only data column" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.573879583Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=1.676196ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.578993341Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.579143283Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=149.742µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.582313553Z level=info msg="Executing migration" id="Update json_data with nulls" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.582428644Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=115.141µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.587555102Z level=info msg="Executing migration" id="Add uid column" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.589213158Z level=info msg="Migration successfully executed" id="Add uid column" duration=1.657876ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.592909343Z level=info msg="Executing migration" id="Update uid value" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.593061575Z level=info msg="Migration successfully executed" id="Update uid value" duration=152.232µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.596386266Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.596949441Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=563.265µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.601676936Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.602260992Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=583.036µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.606602913Z level=info msg="Executing migration" id="create api_key table" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.607184798Z level=info msg="Migration successfully executed" id="create api_key table" duration=581.705µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.611532229Z level=info msg="Executing migration" id="add index api_key.account_id" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.612159716Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=626.347µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.618006851Z level=info msg="Executing migration" id="add index api_key.key" 16:13:11 mariadb | 2024-03-20 16:11:26+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 16:13:11 mariadb | 2024-03-20 16:11:27+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 16:13:11 mariadb | 2024-03-20 16:11:27+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 16:13:11 mariadb | 2024-03-20 16:11:27+00:00 [Note] [Entrypoint]: Initializing database files 16:13:11 mariadb | 2024-03-20 16:11:27 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 16:13:11 mariadb | 2024-03-20 16:11:27 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 16:13:11 mariadb | 2024-03-20 16:11:27 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 16:13:11 mariadb | 16:13:11 mariadb | 16:13:11 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 16:13:11 mariadb | To do so, start the server, then issue the following command: 16:13:11 mariadb | 16:13:11 mariadb | '/usr/bin/mysql_secure_installation' 16:13:11 mariadb | 16:13:11 mariadb | which will also give you the option of removing the test 16:13:11 mariadb | databases and anonymous user created by default. This is 16:13:11 mariadb | strongly recommended for production servers. 16:13:11 mariadb | 16:13:11 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 16:13:11 mariadb | 16:13:11 mariadb | Please report any problems at https://mariadb.org/jira 16:13:11 mariadb | 16:13:11 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 16:13:11 mariadb | 16:13:11 mariadb | Consider joining MariaDB's strong and vibrant community: 16:13:11 mariadb | https://mariadb.org/get-involved/ 16:13:11 mariadb | 16:13:11 mariadb | 2024-03-20 16:11:29+00:00 [Note] [Entrypoint]: Database files initialized 16:13:11 mariadb | 2024-03-20 16:11:29+00:00 [Note] [Entrypoint]: Starting temporary server 16:13:11 mariadb | 2024-03-20 16:11:29+00:00 [Note] [Entrypoint]: Waiting for server startup 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: Number of transaction pools: 1 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: Completed initialization of buffer pool 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: 128 rollback segments are active. 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: log sequence number 46590; transaction id 14 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Note] Plugin 'FEEDBACK' is disabled. 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 16:13:11 mariadb | 2024-03-20 16:11:29 0 [Note] mariadbd: ready for connections. 16:13:11 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 16:13:11 mariadb | 2024-03-20 16:11:30+00:00 [Note] [Entrypoint]: Temporary server started. 16:13:11 mariadb | 2024-03-20 16:11:31+00:00 [Note] [Entrypoint]: Creating user policy_user 16:13:11 mariadb | 2024-03-20 16:11:31+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 16:13:11 mariadb | 16:13:11 mariadb | 2024-03-20 16:11:31+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 16:13:11 mariadb | 16:13:11 mariadb | 2024-03-20 16:11:31+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 16:13:11 mariadb | #!/bin/bash -xv 16:13:11 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 16:13:11 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 16:13:11 mariadb | # 16:13:11 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 16:13:11 mariadb | # you may not use this file except in compliance with the License. 16:13:11 mariadb | # You may obtain a copy of the License at 16:13:11 mariadb | # 16:13:11 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 16:13:11 mariadb | # 16:13:11 mariadb | # Unless required by applicable law or agreed to in writing, software 16:13:11 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 16:13:11 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16:13:11 mariadb | # See the License for the specific language governing permissions and 16:13:11 mariadb | # limitations under the License. 16:13:11 mariadb | 16:13:11 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 16:13:11 mariadb | do 16:13:11 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 16:13:11 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 16:13:11 mariadb | done 16:13:11 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 16:13:11 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 16:13:11 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 16:13:11 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 16:13:11 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 16:13:11 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 16:13:11 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 16:13:11 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 16:13:11 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 16:13:11 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 16:13:11 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 16:13:11 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 16:13:11 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 16:13:11 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.618671766Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=663.375µs 16:13:11 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.622465553Z level=info msg="Executing migration" id="add index api_key.account_id_name" 16:13:11 policy-db-migrator | Waiting for mariadb port 3306... 16:13:11 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.623066598Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=600.515µs 16:13:11 prometheus | ts=2024-03-20T16:11:24.867Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d 16:13:11 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 16:13:11 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 16:13:11 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.626472581Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 16:13:11 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 16:13:11 prometheus | ts=2024-03-20T16:11:24.867Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.0, branch=HEAD, revision=c05c15512acb675e3f6cd662a6727854e93fc024)" 16:13:11 mariadb | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.627040106Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=568.725µs 16:13:11 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 16:13:11 prometheus | ts=2024-03-20T16:11:24.867Z caller=main.go:622 level=info build_context="(go=go1.22.1, platform=linux/amd64, user=root@b5723e458358, date=20240319-10:54:45, tags=netgo,builtinassets,stringlabels)" 16:13:11 prometheus | ts=2024-03-20T16:11:24.867Z caller=main.go:623 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" 16:13:11 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 16:13:11 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 16:13:11 prometheus | ts=2024-03-20T16:11:24.867Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" 16:13:11 prometheus | ts=2024-03-20T16:11:24.867Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" 16:13:11 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 16:13:11 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 16:13:11 prometheus | ts=2024-03-20T16:11:24.870Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 16:13:11 prometheus | ts=2024-03-20T16:11:24.870Z caller=main.go:1129 level=info msg="Starting TSDB ..." 16:13:11 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 16:13:11 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 16:13:11 prometheus | ts=2024-03-20T16:11:24.872Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 16:13:11 prometheus | ts=2024-03-20T16:11:24.872Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 16:13:11 policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! 16:13:11 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 16:13:11 prometheus | ts=2024-03-20T16:11:24.877Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 16:13:11 prometheus | ts=2024-03-20T16:11:24.877Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.9µs 16:13:11 policy-db-migrator | 321 blocks 16:13:11 mariadb | 16:13:11 prometheus | ts=2024-03-20T16:11:24.877Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" 16:13:11 prometheus | ts=2024-03-20T16:11:24.878Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 16:13:11 policy-db-migrator | Preparing upgrade release version: 0800 16:13:11 mariadb | 2024-03-20 16:11:33+00:00 [Note] [Entrypoint]: Stopping temporary server 16:13:11 prometheus | ts=2024-03-20T16:11:24.878Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=33.76µs wal_replay_duration=340.753µs wbl_replay_duration=190ns total_replay_duration=400.524µs 16:13:11 prometheus | ts=2024-03-20T16:11:24.880Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC 16:13:11 policy-db-migrator | Preparing upgrade release version: 0900 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 16:13:11 prometheus | ts=2024-03-20T16:11:24.880Z caller=main.go:1153 level=info msg="TSDB started" 16:13:11 prometheus | ts=2024-03-20T16:11:24.880Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 16:13:11 policy-db-migrator | Preparing upgrade release version: 1000 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: FTS optimize thread exiting. 16:13:11 prometheus | ts=2024-03-20T16:11:24.881Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=826.858µs db_storage=1.28µs remote_storage=2.22µs web_handler=620ns query_engine=900ns scrape=201.792µs scrape_sd=112.361µs notify=26.29µs notify_sd=11.471µs rules=1.74µs tracing=4.73µs 16:13:11 prometheus | ts=2024-03-20T16:11:24.881Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." 16:13:11 policy-db-migrator | Preparing upgrade release version: 1100 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Starting shutdown... 16:13:11 prometheus | ts=2024-03-20T16:11:24.881Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." 16:13:11 policy-db-migrator | Preparing upgrade release version: 1200 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.631558938Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 16:13:11 policy-db-migrator | Preparing upgrade release version: 1300 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Buffer pool(s) dump completed at 240320 16:11:33 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.632125154Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=565.486µs 16:13:11 policy-db-migrator | Done 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.63591816Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 16:13:11 policy-db-migrator | name version 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Shutdown completed; log sequence number 339670; transaction id 298 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.636464865Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=547.855µs 16:13:11 policy-db-migrator | policyadmin 0 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] mariadbd: Shutdown complete 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.64232628Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 16:13:11 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 16:13:11 mariadb | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.648260926Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=5.933066ms 16:13:11 policy-db-migrator | upgrade: 0 -> 1300 16:13:11 mariadb | 2024-03-20 16:11:33+00:00 [Note] [Entrypoint]: Temporary server stopped 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.652512536Z level=info msg="Executing migration" id="create api_key table v2" 16:13:11 policy-db-migrator | 16:13:11 mariadb | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.653278794Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=759.968µs 16:13:11 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 16:13:11 mariadb | 2024-03-20 16:11:33+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.657227882Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 16:13:11 policy-db-migrator | -------------- 16:13:11 mariadb | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.658053229Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=823.397µs 16:13:11 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) 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.665324838Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 16:13:11 policy-db-migrator | -------------- 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.666539449Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.213461ms 16:13:11 policy-db-migrator | 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Number of transaction pools: 1 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.670452786Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 16:13:11 policy-db-migrator | 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.671961831Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.506425ms 16:13:11 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.678914546Z level=info msg="Executing migration" id="copy api_key v1 to v2" 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.679408982Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=494.726µs 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.686826892Z level=info msg="Executing migration" id="Drop old table api_key_v1" 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.68767126Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=845.978µs 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Completed initialization of buffer pool 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.692118062Z level=info msg="Executing migration" id="Update api_key table charset" 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 16:13:11 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.692163562Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=47.4µs 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: 128 rollback segments are active. 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.698788814Z level=info msg="Executing migration" id="Add expires to api_key table" 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.703154566Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.367302ms 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.71097438Z level=info msg="Executing migration" id="Add service account foreign key" 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: log sequence number 339670; transaction id 299 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.714617655Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.649335ms 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.721019034Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] Plugin 'FEEDBACK' is disabled. 16:13:11 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.721308028Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=281.804µs 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.725320785Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.729202522Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.882787ms 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] Server socket created on IP: '0.0.0.0'. 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.73415774Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] Server socket created on IP: '::'. 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.736880835Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.722635ms 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] mariadbd: ready for connections. 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.741745021Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 16:13:11 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 16:13:11 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.742525659Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=779.898µs 16:13:11 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Buffer pool(s) load completed at 240320 16:11:33 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.746533407Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 16:13:11 mariadb | 2024-03-20 16:11:33 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.747323944Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=795.087µs 16:13:11 mariadb | 2024-03-20 16:11:33 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.751263831Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.752680544Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.416263ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.757999935Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 16:13:11 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.758787122Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=786.867µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.762955661Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.76389779Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=940.429µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.776443799Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.778190076Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.749587ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.782778699Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 16:13:11 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.782894511Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=107.252µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.790001808Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.790035428Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=34.58µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.79349009Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.797910822Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.401682ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.801486846Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 16:13:11 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.805268932Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.782696ms 16:13:11 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.811825844Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.811889754Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=64.57µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.815550709Z level=info msg="Executing migration" id="create quota table v1" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.81670308Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.152181ms 16:13:11 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.820481196Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.821739568Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.257292ms 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.826017228Z level=info msg="Executing migration" id="Update quota table charset" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.826048598Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=29.37µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.836095494Z level=info msg="Executing migration" id="create plugin_setting table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.83783859Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.742226ms 16:13:11 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.841905789Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.842708256Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=802.247µs 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.849062006Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.857562857Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=8.498411ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.864739885Z level=info msg="Executing migration" id="Update plugin_setting table charset" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.864826725Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=88.1µs 16:13:11 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.868517211Z level=info msg="Executing migration" id="create session table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.86957606Z level=info msg="Migration successfully executed" id="create session table" duration=1.058169ms 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.878248603Z level=info msg="Executing migration" id="Drop old table playlist table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.878579896Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=336.463µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.885941295Z level=info msg="Executing migration" id="Drop old table playlist_item table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.886297428Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=356.943µs 16:13:11 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.899391843Z level=info msg="Executing migration" id="create playlist table v2" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.901084498Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.693496ms 16:13:11 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.906271378Z level=info msg="Executing migration" id="create playlist item table v2" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.907004874Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=733.536µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.944120376Z level=info msg="Executing migration" id="Update playlist table charset" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.944161056Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=42.48µs 16:13:11 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.948151654Z level=info msg="Executing migration" id="Update playlist_item table charset" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.948195024Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=44.3µs 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.952386264Z level=info msg="Executing migration" id="Add playlist column created_at" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.95725636Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.873206ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.965579649Z level=info msg="Executing migration" id="Add playlist column updated_at" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.97100294Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=5.421601ms 16:13:11 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.977679223Z level=info msg="Executing migration" id="drop preferences table v2" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.977775354Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=96.011µs 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.984679939Z level=info msg="Executing migration" id="drop preferences table v3" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.98480651Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=126.901µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.992895507Z level=info msg="Executing migration" id="create preferences table v3" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:26.994380421Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.483914ms 16:13:11 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.002621038Z level=info msg="Executing migration" id="Update preferences table charset" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.002650329Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=28.071µs 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.008589656Z level=info msg="Executing migration" id="Add column team_id in preferences" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.01648723Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=7.900733ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.02073732Z level=info msg="Executing migration" id="Update team_id column values in preferences" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.021084574Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=346.664µs 16:13:11 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.027309142Z level=info msg="Executing migration" id="Add column week_start in preferences" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.033189338Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=5.880596ms 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.043239053Z level=info msg="Executing migration" id="Add column preferences.json_data" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.046896528Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.661735ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.055374468Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.055435288Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=59.22µs 16:13:11 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.060145574Z level=info msg="Executing migration" id="Add preferences index org_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 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) 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.061040492Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=894.378µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.066888977Z level=info msg="Executing migration" id="Add preferences index user_id" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.067715325Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=825.708µs 16:13:11 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.072960815Z level=info msg="Executing migration" id="create alert table v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.074069896Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.108571ms 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.078156044Z level=info msg="Executing migration" id="add index alert org_id & id " 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.079030262Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=874.598µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.085573114Z level=info msg="Executing migration" id="add index alert state" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.086426822Z level=info msg="Migration successfully executed" id="add index alert state" duration=856.458µs 16:13:11 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.094787451Z level=info msg="Executing migration" id="add index alert dashboard_id" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.095609619Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=822.318µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.101344003Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.102637146Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.292742ms 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.109288069Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.110146746Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=858.667µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.118287124Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.119531415Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.243621ms 16:13:11 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.124965287Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.134786Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=9.822563ms 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.140661245Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.141394283Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=735.278µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.144791434Z 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" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.145785124Z 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=993.21µs 16:13:11 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.150403938Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.15068619Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=282.562µs 16:13:11 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.154441036Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.155304344Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=860.038µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.160838056Z level=info msg="Executing migration" id="create alert_notification table v1" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.162361241Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.527115ms 16:13:11 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.169793211Z level=info msg="Executing migration" id="Add column is_default" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.175490975Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.693284ms 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.181886336Z level=info msg="Executing migration" id="Add column frequency" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.185920014Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.034388ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.19077714Z level=info msg="Executing migration" id="Add column send_reminder" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.194410404Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.633184ms 16:13:11 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.199053838Z level=info msg="Executing migration" id="Add column disable_resolve_message" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.202860604Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.806566ms 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.210579277Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.211480936Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=899.139µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.216094179Z level=info msg="Executing migration" id="Update alert table charset" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.21616895Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=76.801µs 16:13:11 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.220174258Z level=info msg="Executing migration" id="Update alert_notification table charset" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.220199898Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=26.9µs 16:13:11 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.22785858Z level=info msg="Executing migration" id="create notification_journal table v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.229114282Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.259252ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.236027858Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.237237289Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.209071ms 16:13:11 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.242775242Z level=info msg="Executing migration" id="drop alert_notification_journal" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.244502408Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.727656ms 16:13:11 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.250645027Z level=info msg="Executing migration" id="create alert_notification_state table v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.251498564Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=853.497µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.25945414Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.261219736Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.767586ms 16:13:11 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.265413126Z level=info msg="Executing migration" id="Add for to alert table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.269944799Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.531953ms 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.275749894Z level=info msg="Executing migration" id="Add column uid in alert_notification" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.27961447Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.863836ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.289185051Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.289390323Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=204.522µs 16:13:11 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.295633543Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.296614971Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=981.218µs 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.308617075Z level=info msg="Executing migration" id="Remove unique index org_id_name" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.309498454Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=881.399µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.32285836Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.327033739Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.173969ms 16:13:11 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.334540441Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.334627362Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=88.081µs 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.339754879Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.340752479Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=996.34µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.34716032Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.348194059Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.032349ms 16:13:11 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.353193997Z level=info msg="Executing migration" id="Drop old annotation table v4" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.353278038Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=84.301µs 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.410667451Z level=info msg="Executing migration" id="create annotation table v5" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.412194225Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.528584ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.42001406Z level=info msg="Executing migration" id="add index annotation 0 v3" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.421003299Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=988.289µs 16:13:11 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.427565501Z level=info msg="Executing migration" id="add index annotation 1 v3" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.429418198Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.852017ms 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.441018969Z level=info msg="Executing migration" id="add index annotation 2 v3" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.442418102Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.396853ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.452442567Z level=info msg="Executing migration" id="add index annotation 3 v3" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.453418195Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=977.928µs 16:13:11 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.459589874Z level=info msg="Executing migration" id="add index annotation 4 v3" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.460866836Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.273882ms 16:13:11 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.465629961Z level=info msg="Executing migration" id="Update annotation table charset" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.465677731Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=50.26µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.472351975Z level=info msg="Executing migration" id="Add column region_id to annotation table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.476302832Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.950427ms 16:13:11 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.48134767Z level=info msg="Executing migration" id="Drop category_id index" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.482302459Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=956.549µs 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.490219164Z level=info msg="Executing migration" id="Add column tags to annotation table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.494976399Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.756185ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.502606052Z level=info msg="Executing migration" id="Create annotation_tag table v2" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.503333228Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=726.406µs 16:13:11 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.508145994Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.509288594Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.14189ms 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.516637254Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.518825574Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=2.19037ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.523838652Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.539512631Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=15.675428ms 16:13:11 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.54372586Z level=info msg="Executing migration" id="Create annotation_tag table v3" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.544333896Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=602.836µs 16:13:11 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) 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.551982069Z 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" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.552889337Z 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=906.998µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.558841744Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 16:13:11 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.559277307Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=435.583µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.566426685Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.568182302Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=1.751066ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.576953635Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.577239117Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=285.832µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.584065302Z level=info msg="Executing migration" id="Add created time to annotation table" 16:13:11 policy-db-migrator | > upgrade 0450-pdpgroup.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.589971338Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=5.905956ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.59645542Z level=info msg="Executing migration" id="Add updated time to annotation table" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.603217103Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=6.756173ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.608487043Z level=info msg="Executing migration" id="Add index for created in annotation table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.609290711Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=803.318µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.617000324Z level=info msg="Executing migration" id="Add index for updated in annotation table" 16:13:11 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.619097924Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=2.09474ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.623853859Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.624110101Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=255.752µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.631517502Z level=info msg="Executing migration" id="Add epoch_end column" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.638217144Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.701162ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.649985846Z level=info msg="Executing migration" id="Add index for epoch_end" 16:13:11 policy-db-migrator | > upgrade 0470-pdp.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.651606821Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.620535ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.659955661Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.660287773Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=328.642µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.669659013Z level=info msg="Executing migration" id="Move region to single row" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.670328308Z level=info msg="Migration successfully executed" id="Move region to single row" duration=669.126µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.67582978Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 16:13:11 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.677330145Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.499825ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.683719165Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.685145629Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.425754ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.690717452Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.692203036Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.484444ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.698666117Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 16:13:11 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.700271152Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.604975ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.710424268Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.71172457Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.299442ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.720461543Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.721895306Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.433533ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.727271608Z level=info msg="Executing migration" id="Increase tags column to length 4096" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.727374389Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=103.751µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.735398495Z level=info msg="Executing migration" id="create test_data table" 16:13:11 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.737127501Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.726896ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.749573169Z level=info msg="Executing migration" id="create dashboard_version table v1" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.750667499Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.1195ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.758634924Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.760447112Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.817518ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.767996403Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 16:13:11 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.768904082Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=907.169µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.776215941Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 16:13:11 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)) 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.776528064Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=311.613µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.783053446Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.783634101Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=581.005µs 16:13:11 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.790294924Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.790400545Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=106.271µs 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.802884883Z level=info msg="Executing migration" id="create team table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.804132295Z level=info msg="Migration successfully executed" id="create team table" duration=1.243862ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.811469204Z level=info msg="Executing migration" id="add index team.org_id" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.813033939Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.563905ms 16:13:11 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.82369811Z level=info msg="Executing migration" id="add unique index team_org_id_name" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.825355076Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.656576ms 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.869081539Z level=info msg="Executing migration" id="Add column uid in team" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.873941766Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.860617ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.877871843Z level=info msg="Executing migration" id="Update uid column values in team" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.878048895Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=176.942µs 16:13:11 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.883057552Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.883953901Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=895.739µs 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.892599142Z level=info msg="Executing migration" id="create team member table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.893790544Z level=info msg="Migration successfully executed" id="create team member table" duration=1.191412ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.905985949Z level=info msg="Executing migration" id="add index team_member.org_id" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.907210161Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.222542ms 16:13:11 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.911166338Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.912814474Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.648346ms 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.917852811Z level=info msg="Executing migration" id="add index team_member.team_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.918802491Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=949.85µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.926102839Z level=info msg="Executing migration" id="Add column email to team table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.932575491Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.472202ms 16:13:11 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.936982603Z level=info msg="Executing migration" id="Add column external to team_member table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.941475685Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.492772ms 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.947699933Z level=info msg="Executing migration" id="Add column permission to team_member table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.953384718Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.687325ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.963594255Z level=info msg="Executing migration" id="create dashboard acl table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.96527411Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.682405ms 16:13:11 policy-db-migrator | > upgrade 0570-toscadatatype.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.973875262Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.975887541Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=2.013129ms 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.983384242Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:27.984547503Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.164131ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.002074268Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.003001717Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=926.759µs 16:13:11 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.017682256Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.01910907Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.426984ms 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.029507719Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.031383196Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.878958ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.039047619Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.039929467Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=881.998µs 16:13:11 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.047988443Z level=info msg="Executing migration" id="add index dashboard_permission" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.048946903Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=957.73µs 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.056262992Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.057165071Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=908.099µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.065242306Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.065791402Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=550.096µs 16:13:11 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.069627799Z level=info msg="Executing migration" id="create tag table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.070958571Z level=info msg="Migration successfully executed" id="create tag table" duration=1.330062ms 16:13:11 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)) 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.075298782Z level=info msg="Executing migration" id="add index tag.key_value" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.07622402Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=923.708µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.083245537Z level=info msg="Executing migration" id="create login attempt table" 16:13:11 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.084680291Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.433303ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.091431745Z level=info msg="Executing migration" id="add index login_attempt.username" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.092939899Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.511394ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.099525822Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.10039968Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=874.018µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.107161963Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 16:13:11 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.12464301Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.480247ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.129057151Z level=info msg="Executing migration" id="create login_attempt v2" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.129657096Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=598.725µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.136267549Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.137780854Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.515674ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.142081984Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 16:13:11 policy-db-migrator | > upgrade 0630-toscanodetype.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.142419078Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=336.734µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.148738167Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.149598826Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=857.329µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.15636078Z level=info msg="Executing migration" id="create user auth table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.157992435Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.635016ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.164040502Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 16:13:11 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.164980022Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=939.57µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.170335522Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.170799797Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=464.895µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.175560331Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.183779859Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.218208ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.189977099Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 16:13:11 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.194883544Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.902255ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.21551095Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.221091103Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.578913ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.224741597Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.229816225Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.076778ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.234939694Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 16:13:11 policy-db-migrator | > upgrade 0660-toscaparameter.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.235959863Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.019879ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.241163593Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.246362422Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.198379ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.249947416Z level=info msg="Executing migration" id="create server_lock table" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.250737674Z level=info msg="Migration successfully executed" id="create server_lock table" duration=789.958µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.257581519Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.258485057Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=903.228µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.261890959Z level=info msg="Executing migration" id="create user auth token table" 16:13:11 policy-db-migrator | > upgrade 0670-toscapolicies.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.262867299Z level=info msg="Migration successfully executed" id="create user auth token table" duration=974.29µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.267462472Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.268927396Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.464984ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.275979303Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.276901502Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=922.069µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.281016121Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 16:13:11 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.282631216Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.613145ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.33797164Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.346676432Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.704602ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.351314086Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.352016152Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=702.306µs 16:13:11 policy-db-migrator | 16:13:11 policy-db-migrator | > upgrade 0690-toscapolicy.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.357259342Z level=info msg="Executing migration" id="create cache_data table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.359051649Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.787557ms 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.363625093Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.364654412Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.027109ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.371573878Z level=info msg="Executing migration" id="create short_url table v1" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.372550637Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=975.419µs 16:13:11 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.37912262Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.380749655Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.634775ms 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.387259196Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.387346587Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=88.071µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.393935449Z level=info msg="Executing migration" id="delete alert_definition table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.394067191Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=132.652µs 16:13:11 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.399649193Z level=info msg="Executing migration" id="recreate alert_definition table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.401163688Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.514345ms 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.406049464Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.40765891Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.609066ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.413902678Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.415213471Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.310193ms 16:13:11 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.422917234Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.423113596Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=199.582µs 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.430601316Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.431663097Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.062441ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.438408211Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.440216518Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.807777ms 16:13:11 policy-db-migrator | > upgrade 0730-toscaproperty.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.447863321Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.44994053Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=2.077099ms 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.455771755Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.457609833Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.837488ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.463354077Z level=info msg="Executing migration" id="Add column paused in alert_definition" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.469114052Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.761375ms 16:13:11 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.475495801Z level=info msg="Executing migration" id="drop alert_definition table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.476496671Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.00103ms 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.483859041Z level=info msg="Executing migration" id="delete alert_definition_version table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.484085754Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=230.943µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.493011908Z level=info msg="Executing migration" id="recreate alert_definition_version table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.494000938Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=988.689µs 16:13:11 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.497942554Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.499277007Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.332563ms 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.505185794Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.506845879Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.659835ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.513839396Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.513918176Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=78.67µs 16:13:11 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.519281547Z level=info msg="Executing migration" id="drop alert_definition_version table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.520244855Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=963.388µs 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.528528744Z level=info msg="Executing migration" id="create alert_instance table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.530381562Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.850338ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.536660361Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.537687411Z 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.02627ms 16:13:11 policy-db-migrator | > upgrade 0770-toscarequirement.sql 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.543823269Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.54599015Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=2.166481ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.55446864Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.560353726Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.884436ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.568013969Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 16:13:11 policy-db-migrator | > upgrade 0780-toscarequirements.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.568969247Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=955.568µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.574754952Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.575689721Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=933.379µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.583599516Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.614473499Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=30.875792ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.620184613Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 16:13:11 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.64528742Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=25.102598ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.648868974Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.649648152Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=778.837µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.655695368Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.657307914Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.613116ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.663005067Z level=info msg="Executing migration" id="add current_reason column related to current_state" 16:13:11 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.672689579Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.685412ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.677486655Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.681827166Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=4.340721ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.689926043Z level=info msg="Executing migration" id="create alert_rule table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.69170767Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.781887ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.69697478Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 16:13:11 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.698072879Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.098679ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.704360629Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.706133046Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.771917ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.711771379Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.713301954Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.533915ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.719882017Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.719952037Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=70.661µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.725644001Z level=info msg="Executing migration" id="add column for to alert_rule" 16:13:11 policy-db-migrator | > upgrade 0820-toscatrigger.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.737459313Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=11.807932ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.741186838Z level=info msg="Executing migration" id="add column annotations to alert_rule" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.747589429Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.403001ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.753472885Z level=info msg="Executing migration" id="add column labels to alert_rule" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.759455191Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.980926ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.777046738Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 16:13:11 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.778621223Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.573995ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.783488898Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 16:13:11 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.785385277Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.895599ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.79206246Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.799708432Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.646632ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.805625628Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 16:13:11 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.811926618Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.30027ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.817491691Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 16:13:11 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.81856062Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.068969ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.823501548Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.833284331Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.784372ms 16:13:11 policy-db-migrator | 16:13:11 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.840329457Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 16:13:11 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.850962628Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=10.630831ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.857133436Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.857185427Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=52.08µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.862007322Z level=info msg="Executing migration" id="create alert_rule_version table" 16:13:11 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.863989581Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.982929ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.869626115Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 16:13:11 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.870732095Z 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.10534ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.876675231Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.878866373Z 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=2.184752ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.895542989Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 16:13:11 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.895675712Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=131.453µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.9009072Z level=info msg="Executing migration" id="add column for to alert_rule_version" 16:13:11 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.907241471Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.334501ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.910420731Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.916621579Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.200288ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.919947641Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 16:13:11 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.926268411Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.318079ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.929408381Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 16:13:11 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.935541569Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.129078ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.940717598Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.946765645Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.047597ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.949837304Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 16:13:11 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.949903955Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=66.721µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.952977363Z level=info msg="Executing migration" id=create_alert_configuration_table 16:13:11 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.953795841Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=818.118µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.958938161Z level=info msg="Executing migration" id="Add column default in alert_configuration" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.968672053Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.734422ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.972098295Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 16:13:11 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.972165105Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=66.17µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.975582188Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 16:13:11 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.985003737Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.419839ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.990009785Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.990720981Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=711.136µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.993500217Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 16:13:11 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:28.998731707Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=5.23079ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.001890027Z level=info msg="Executing migration" id=create_ngalert_configuration_table 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.002684955Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=794.228µs 16:13:11 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.005761314Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.006745223Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=983.389µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.011084074Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.017292783Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.207219ms 16:13:11 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.020900807Z level=info msg="Executing migration" id="create provenance_type table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.021674035Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=772.918µs 16:13:11 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.025259448Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.026279088Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.01923ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.031221035Z level=info msg="Executing migration" id="create alert_image table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.032513937Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.292082ms 16:13:11 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 16:13:11 policy-db-migrator | -------------- 16:13:11 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.036464415Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.037997739Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.535795ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.042148848Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.042216489Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=67.061µs 16:13:11 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.047939123Z level=info msg="Executing migration" id=create_alert_configuration_history_table 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.049482127Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.539344ms 16:13:11 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.053322674Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.054848149Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.525235ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.058215341Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.058597164Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 16:13:11 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.063083907Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.06348225Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=398.093µs 16:13:11 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 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.066901173Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.068470168Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.567885ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.072341225Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.078932877Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.592222ms 16:13:11 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.084029735Z level=info msg="Executing migration" id="create library_element table v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.085159506Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.148551ms 16:13:11 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 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.088597028Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.089758379Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.160301ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.093088102Z level=info msg="Executing migration" id="create library_element_connection table v1" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.09402042Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=931.388µs 16:13:11 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.106295166Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.108172594Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.876318ms 16:13:11 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 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.119494711Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.121375399Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.879918ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.133341582Z level=info msg="Executing migration" id="increase max description length to 2048" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.133382903Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=43.671µs 16:13:11 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.146456337Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.146570038Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=111.461µs 16:13:11 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 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.1594508Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.160146536Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=694.206µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.173021209Z level=info msg="Executing migration" id="create data_keys table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.174721965Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.697236ms 16:13:11 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.184890991Z level=info msg="Executing migration" id="create secrets table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.18583172Z level=info msg="Migration successfully executed" id="create secrets table" duration=940.529µs 16:13:11 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 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.195672993Z level=info msg="Executing migration" id="rename data_keys name column to id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.22808045Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=32.406577ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.240479628Z level=info msg="Executing migration" id="add name column into data_keys" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.25018774Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=9.705872ms 16:13:11 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.254143448Z level=info msg="Executing migration" id="copy data_keys id column values into name" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.254273979Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=130.001µs 16:13:11 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 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.259197275Z level=info msg="Executing migration" id="rename data_keys name column to label" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.288406362Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=29.207497ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.291672793Z level=info msg="Executing migration" id="rename data_keys id column back to name" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.321655637Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=29.982474ms 16:13:11 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.401565434Z level=info msg="Executing migration" id="create kv_store table v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.403133619Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.567895ms 16:13:11 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 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.411156795Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.412392767Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.235362ms 16:13:11 policy-db-migrator | 16:13:11 policy-db-migrator | 16:13:11 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.423545293Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.423759045Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=214.272µs 16:13:11 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 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.427854164Z level=info msg="Executing migration" id="create permission table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.429460639Z level=info msg="Migration successfully executed" id="create permission table" duration=1.598225ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.435870959Z level=info msg="Executing migration" id="add unique index permission.role_id" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.437528445Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.657486ms 16:13:11 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.441691135Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.443440341Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.748676ms 16:13:11 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 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.448831882Z level=info msg="Executing migration" id="create role table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.450338057Z level=info msg="Migration successfully executed" id="create role table" duration=1.505344ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.454709348Z level=info msg="Executing migration" id="add column display_name" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.463753193Z level=info msg="Migration successfully executed" id="add column display_name" duration=9.043385ms 16:13:11 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.470123644Z level=info msg="Executing migration" id="add column group_name" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.480170719Z level=info msg="Migration successfully executed" id="add column group_name" duration=10.048065ms 16:13:11 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 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.484584761Z level=info msg="Executing migration" id="add index role.org_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.485622531Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.03763ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.488965762Z level=info msg="Executing migration" id="add unique index role_org_id_name" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.490108723Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.142591ms 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.495496074Z level=info msg="Executing migration" id="add index role_org_id_uid" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.496658075Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.161471ms 16:13:11 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.500470431Z level=info msg="Executing migration" id="create team role table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.50139713Z level=info msg="Migration successfully executed" id="create team role table" duration=925.889µs 16:13:11 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 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.505554369Z level=info msg="Executing migration" id="add index team_role.org_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.507367106Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.812447ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.513276353Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.51515017Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.873417ms 16:13:11 policy-db-migrator | > upgrade 0100-pdp.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.518826656Z level=info msg="Executing migration" id="add index team_role.team_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.520604102Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.775396ms 16:13:11 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.526791191Z level=info msg="Executing migration" id="create user role table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.527670659Z level=info msg="Migration successfully executed" id="create user role table" duration=878.948µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.532745648Z level=info msg="Executing migration" id="add index user_role.org_id" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.533937478Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.19147ms 16:13:11 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.537537643Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.538646693Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.108871ms 16:13:11 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.542147206Z level=info msg="Executing migration" id="add index user_role.user_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.543265507Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.117961ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.54885758Z level=info msg="Executing migration" id="create builtin role table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.549807569Z level=info msg="Migration successfully executed" id="create builtin role table" duration=949.189µs 16:13:11 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.554472373Z level=info msg="Executing migration" id="add index builtin_role.role_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.555618574Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.145511ms 16:13:11 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.558805144Z level=info msg="Executing migration" id="add index builtin_role.name" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.559917365Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.110881ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.564649919Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.572565315Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.915676ms 16:13:11 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.575890286Z level=info msg="Executing migration" id="add index builtin_role.org_id" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.576687274Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=796.778µs 16:13:11 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 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.579687562Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.58052239Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=834.548µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.585351485Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.586429846Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.078261ms 16:13:11 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.5900549Z level=info msg="Executing migration" id="add unique index role.uid" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.591167971Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.112851ms 16:13:11 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 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.595581342Z level=info msg="Executing migration" id="create seed assignment table" 16:13:11 policy-db-migrator | -------------- 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.596432531Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=851.449µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.601379648Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 16:13:11 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.603315536Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.935618ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.606785838Z level=info msg="Executing migration" id="add column hidden to role table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.617316179Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.531381ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.620486118Z level=info msg="Executing migration" id="permission kind migration" 16:13:11 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.628578605Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.091877ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.63334863Z level=info msg="Executing migration" id="permission attribute migration" 16:13:11 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.641228775Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.881615ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.644766859Z level=info msg="Executing migration" id="permission identifier migration" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.650394622Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.627153ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.653754874Z level=info msg="Executing migration" id="add permission identifier index" 16:13:11 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.654879284Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.12417ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.694493949Z level=info msg="Executing migration" id="add permission action scope role_id index" 16:13:11 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.696401657Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.907068ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.700145103Z level=info msg="Executing migration" id="remove permission role_id action scope index" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.701173883Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.02884ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.705186111Z level=info msg="Executing migration" id="create query_history table v1" 16:13:11 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.7061715Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=984.768µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.710997876Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 16:13:11 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.713030965Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=2.032529ms 16:13:11 policy-db-migrator | JOIN pdpstatistics b 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.717925761Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 16:13:11 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.718155173Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=228.482µs 16:13:11 policy-db-migrator | SET a.id = b.id 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.722246952Z level=info msg="Executing migration" id="rbac disabled migrator" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.722291763Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=45.851µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.728108918Z level=info msg="Executing migration" id="teams permissions migration" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.728678703Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=569.525µs 16:13:11 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.732298777Z level=info msg="Executing migration" id="dashboard permissions" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.733361238Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.064481ms 16:13:11 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.737388886Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.738576877Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.187241ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.74308895Z level=info msg="Executing migration" id="drop managed folder create actions" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.743735686Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=643.105µs 16:13:11 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.749142247Z level=info msg="Executing migration" id="alerting notification permissions" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.750066136Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=923.549µs 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.753545699Z level=info msg="Executing migration" id="create query_history_star table v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.755036783Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.490784ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.758873899Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.760131141Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.257092ms 16:13:11 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.76418536Z level=info msg="Executing migration" id="add column org_id in query_history_star" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.773120224Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.934154ms 16:13:11 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.779382284Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.779438634Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=56.4µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.781727715Z level=info msg="Executing migration" id="create correlation table v1" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.782615454Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=887.679µs 16:13:11 policy-db-migrator | > upgrade 0210-sequence.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.785829364Z level=info msg="Executing migration" id="add index correlations.uid" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.788413629Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.584175ms 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.79376015Z level=info msg="Executing migration" id="add index correlations.source_uid" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.794910401Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.150431ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.799336603Z level=info msg="Executing migration" id="add correlation config column" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.807813213Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.47573ms 16:13:11 policy-db-migrator | > upgrade 0220-sequence.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.835639347Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.836749577Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.11023ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.84120905Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.84226777Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.05855ms 16:13:11 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.845970904Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.86756955Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=21.598716ms 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.876401793Z level=info msg="Executing migration" id="create correlation v2" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.877605774Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.203181ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.881074437Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.883336339Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=2.261172ms 16:13:11 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.887803951Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.888991372Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.187531ms 16:13:11 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) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.893841488Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.894946468Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.10446ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.899240009Z level=info msg="Executing migration" id="copy correlation v1 to v2" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.899647064Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=406.985µs 16:13:11 policy-db-migrator | > upgrade 0120-toscatrigger.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.90356582Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.904468609Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=902.229µs 16:13:11 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.909199333Z level=info msg="Executing migration" id="add provisioning column" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.918639333Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.44078ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.92249295Z level=info msg="Executing migration" id="create entity_events table" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.923152996Z level=info msg="Migration successfully executed" id="create entity_events table" duration=659.726µs 16:13:11 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.926450667Z level=info msg="Executing migration" id="create dashboard public config v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.927254694Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=802.857µs 16:13:11 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.932277312Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.933159421Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.937160978Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.938077037Z 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" 16:13:11 policy-db-migrator | > upgrade 0140-toscaparameter.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.942148636Z level=info msg="Executing migration" id="Drop old dashboard public config table" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.942988424Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=839.258µs 16:13:11 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.947594238Z level=info msg="Executing migration" id="recreate dashboard public config v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.948787779Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.187831ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.952536044Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.954458763Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.922509ms 16:13:11 policy-db-migrator | > upgrade 0150-toscaproperty.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.958156047Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.959405439Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.248852ms 16:13:11 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.963821451Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.965302205Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.479634ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.969137492Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.970939839Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.802317ms 16:13:11 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.975758534Z level=info msg="Executing migration" id="Drop public config table" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.976618423Z level=info msg="Migration successfully executed" id="Drop public config table" duration=856.759µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.980333638Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.981539199Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.205081ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.985041153Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 16:13:11 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.986235313Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.19413ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.990786247Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.992438543Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.650366ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.997342759Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 16:13:11 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:29.999235137Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.892639ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.004191274Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 16:13:11 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 16:13:11 policy-db-migrator | -------------- 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.027561525Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=23.370391ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.032058608Z level=info msg="Executing migration" id="add annotations_enabled column" 16:13:11 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.040512378Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.45323ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.044764098Z level=info msg="Executing migration" id="add time_selection_enabled column" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.053069697Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.295869ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.056822903Z level=info msg="Executing migration" id="delete orphaned public dashboards" 16:13:11 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.057122316Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=299.293µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.061725589Z level=info msg="Executing migration" id="add share column" 16:13:11 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.070008278Z level=info msg="Migration successfully executed" id="add share column" duration=8.282229ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.073516221Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.073771973Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=255.712µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.07760439Z level=info msg="Executing migration" id="create file table" 16:13:11 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.078625489Z level=info msg="Migration successfully executed" id="create file table" duration=1.020729ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.084527616Z level=info msg="Executing migration" id="file table idx: path natural pk" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.086300072Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.772286ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.090575933Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 16:13:11 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.091681763Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.1059ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.095377528Z level=info msg="Executing migration" id="create file_meta table" 16:13:11 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.096342817Z level=info msg="Migration successfully executed" id="create file_meta table" duration=964.919µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.100953101Z level=info msg="Executing migration" id="file table idx: path key" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.102208883Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.255792ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.105940119Z level=info msg="Executing migration" id="set path collation in file table" 16:13:11 policy-db-migrator | > upgrade 0100-upgrade.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.10614411Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=203.701µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.121018612Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 16:13:11 policy-db-migrator | select 'upgrade to 1100 completed' as msg 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.121331665Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=313.793µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.125927498Z level=info msg="Executing migration" id="managed permissions migration" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.126948798Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.02122ms 16:13:11 policy-db-migrator | msg 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.132132577Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 16:13:11 policy-db-migrator | upgrade to 1100 completed 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.132647852Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=514.585µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.136375847Z level=info msg="Executing migration" id="RBAC action name migrator" 16:13:11 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.13774066Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.364283ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.141233243Z level=info msg="Executing migration" id="Add UID column to playlist" 16:13:11 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.149998806Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.765213ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.15353519Z level=info msg="Executing migration" id="Update uid column values in playlist" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.153825212Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=289.652µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.157843681Z level=info msg="Executing migration" id="Add index for uid in playlist" 16:13:11 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.159133033Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.288932ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.162604575Z level=info msg="Executing migration" id="update group index for alert rules" 16:13:11 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.163422133Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=818.828µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.16728792Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.167809415Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=521.835µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.172763852Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 16:13:11 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.173343758Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=579.415µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.17677479Z level=info msg="Executing migration" id="add action column to seed_assignment" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.185688864Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.913324ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.189223518Z level=info msg="Executing migration" id="add scope column to seed_assignment" 16:13:11 policy-db-migrator | > upgrade 0120-audit_sequence.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.198094432Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.870374ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.201491004Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.202336472Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=843.758µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.206739574Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.280312241Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=73.568647ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.283422651Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 16:13:11 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 16:13:11 policy-db-migrator | -------------- 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.284309009Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=888.478µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.288996894Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 16:13:11 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.290293456Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.296072ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.293932061Z level=info msg="Executing migration" id="add primary key to seed_assigment" 16:13:11 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)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.32019708Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=26.236109ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.324318759Z level=info msg="Executing migration" id="add origin column to seed_assignment" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.333044671Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=8.724872ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.33817656Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" 16:13:11 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.338485303Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=308.543µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.341958036Z level=info msg="Executing migration" id="prevent seeding OnCall access" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.342172838Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=214.552µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.345731372Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 16:13:11 policy-db-migrator | TRUNCATE TABLE sequence 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.346226597Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=495.525µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.350189404Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.350681419Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=491.426µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.355585815Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 16:13:11 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.35609613Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=509.905µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.359820745Z level=info msg="Executing migration" id="create folder table" 16:13:11 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.360801865Z level=info msg="Migration successfully executed" id="create folder table" duration=980.48µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.366109695Z level=info msg="Executing migration" id="Add index for parent_uid" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.367425128Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.312813ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.373621626Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 16:13:11 policy-db-migrator | DROP TABLE pdpstatistics 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.374871288Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.251692ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.378808536Z level=info msg="Executing migration" id="Update folder title length" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.378996347Z level=info msg="Migration successfully executed" id="Update folder title length" duration=186.871µs 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.383285728Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 16:13:11 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.385393438Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.163421ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.39093692Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 16:13:11 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.392748328Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.812438ms 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.396432142Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.397665294Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.232912ms 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.401400289Z level=info msg="Executing migration" id="Sync dashboard and folder table" 16:13:11 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.401950134Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=549.515µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.406873162Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 16:13:11 policy-db-migrator | DROP TABLE statistics_sequence 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.407200504Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=327.842µs 16:13:11 policy-db-migrator | -------------- 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.41091183Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" 16:13:11 policy-db-migrator | 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.412815228Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.903388ms 16:13:11 policy-db-migrator | policyadmin: OK: upgrade (1300) 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.417127088Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" 16:13:11 policy-db-migrator | name version 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.419235709Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=2.107971ms 16:13:11 policy-db-migrator | policyadmin 1300 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.424048544Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" 16:13:11 policy-db-migrator | ID script operation from_version to_version tag success atTime 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.425149635Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.102641ms 16:13:11 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.428766099Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" 16:13:11 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.430928749Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=2.16183ms 16:13:11 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.435392652Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" 16:13:11 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.436987907Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.596695ms 16:13:11 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.441941924Z level=info msg="Executing migration" id="create anon_device table" 16:13:11 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.442973284Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.02952ms 16:13:11 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.44690679Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.448214483Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.307343ms 16:13:11 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.453289921Z level=info msg="Executing migration" id="add index anon_device.updated_at" 16:13:11 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 16:13:11 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 16:13:11 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.45527464Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.983159ms 16:13:11 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.459455329Z level=info msg="Executing migration" id="create signing_key table" 16:13:11 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.461202377Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.746528ms 16:13:11 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.465280926Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 16:13:11 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.466451716Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.17082ms 16:13:11 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.471133431Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 16:13:11 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.472816837Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.681806ms 16:13:11 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.47735938Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 16:13:11 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.477976736Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=621.646µs 16:13:11 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.482306227Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 16:13:11 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.491713485Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.406088ms 16:13:11 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.497903894Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 16:13:11 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.498710542Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=807.518µs 16:13:11 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.502273136Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 16:13:11 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.504365576Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=2.08849ms 16:13:11 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.508232602Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" 16:13:11 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.510189341Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.958849ms 16:13:11 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.515031977Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" 16:13:11 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.516213668Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.181531ms 16:13:11 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.519604Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" 16:13:11 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.521171265Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.565965ms 16:13:11 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.525387145Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" 16:13:11 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.527480505Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=2.09304ms 16:13:11 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.532595674Z level=info msg="Executing migration" id="create sso_setting table" 16:13:11 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.533696153Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.100259ms 16:13:11 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.537386989Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 16:13:11 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.538725912Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.338413ms 16:13:11 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.542595168Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 16:13:11 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.543217454Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=623.776µs 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.547883979Z level=info msg="Executing migration" id="alter kv_store.value to longtext" 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.54804966Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=166.021µs 16:13:11 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.551663784Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" 16:13:11 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.5607329Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=9.068536ms 16:13:11 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.575793133Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" 16:13:11 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.588598675Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=12.806412ms 16:13:11 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.593761343Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" 16:13:11 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.594141647Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=379.704µs 16:13:11 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 grafana | logger=migrator t=2024-03-20T16:11:30.598015323Z level=info msg="migrations completed" performed=547 skipped=0 duration=4.810499807s 16:13:11 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 grafana | logger=sqlstore t=2024-03-20T16:11:30.607444893Z level=info msg="Created default admin" user=admin 16:13:11 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 grafana | logger=sqlstore t=2024-03-20T16:11:30.607812576Z level=info msg="Created default organization" 16:13:11 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 grafana | logger=secrets t=2024-03-20T16:11:30.613082256Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 16:13:11 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 grafana | logger=plugin.store t=2024-03-20T16:11:30.64618751Z level=info msg="Loading plugins..." 16:13:11 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 grafana | logger=local.finder t=2024-03-20T16:11:30.684166321Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 16:13:11 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 grafana | logger=plugin.store t=2024-03-20T16:11:30.684239681Z level=info msg="Plugins loaded" count=55 duration=38.053661ms 16:13:11 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 grafana | logger=query_data t=2024-03-20T16:11:30.686689305Z level=info msg="Query Service initialization" 16:13:11 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 grafana | logger=live.push_http t=2024-03-20T16:11:30.689797834Z level=info msg="Live Push Gateway initialization" 16:13:11 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 grafana | logger=ngalert.migration t=2024-03-20T16:11:30.694781252Z level=info msg=Starting 16:13:11 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 grafana | logger=ngalert.migration t=2024-03-20T16:11:30.695151175Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false 16:13:11 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 grafana | logger=ngalert.migration orgID=1 t=2024-03-20T16:11:30.695549068Z level=info msg="Migrating alerts for organisation" 16:13:11 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 grafana | logger=ngalert.migration orgID=1 t=2024-03-20T16:11:30.696174074Z level=info msg="Alerts found to migrate" alerts=0 16:13:11 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 grafana | logger=ngalert.migration t=2024-03-20T16:11:30.698147343Z level=info msg="Completed alerting migration" 16:13:11 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 grafana | logger=ngalert.state.manager t=2024-03-20T16:11:30.727228809Z level=info msg="Running in alternative execution of Error/NoData mode" 16:13:11 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 16:13:11 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 16:13:11 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:38 16:13:11 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:38 16:13:11 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:38 16:13:11 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:38 16:13:11 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:38 16:13:11 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:38 16:13:11 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:38 16:13:11 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 16:13:11 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 16:13:11 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 16:13:11 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 16:13:11 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 16:13:11 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 16:13:11 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 16:13:11 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 16:13:11 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 16:13:11 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 16:13:11 grafana | logger=infra.usagestats.collector t=2024-03-20T16:11:30.728959915Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 16:13:11 grafana | logger=provisioning.datasources t=2024-03-20T16:11:30.730760662Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 16:13:11 grafana | logger=provisioning.alerting t=2024-03-20T16:11:30.743856617Z level=info msg="starting to provision alerting" 16:13:11 grafana | logger=provisioning.alerting t=2024-03-20T16:11:30.743906517Z level=info msg="finished to provision alerting" 16:13:11 grafana | logger=provisioning.dashboard t=2024-03-20T16:11:30.74642157Z level=info msg="starting to provision dashboards" 16:13:11 grafana | logger=grafanaStorageLogger t=2024-03-20T16:11:30.746807415Z level=info msg="Storage starting" 16:13:11 grafana | logger=http.server t=2024-03-20T16:11:30.747124567Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 16:13:11 grafana | logger=ngalert.state.manager t=2024-03-20T16:11:30.747280689Z level=info msg="Warming state cache for startup" 16:13:11 grafana | logger=ngalert.multiorg.alertmanager t=2024-03-20T16:11:30.750384068Z level=info msg="Starting MultiOrg Alertmanager" 16:13:11 grafana | logger=sqlstore.transactions t=2024-03-20T16:11:30.820968228Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 16:13:11 grafana | logger=plugins.update.checker t=2024-03-20T16:11:30.848428058Z level=info msg="Update check succeeded" duration=102.879594ms 16:13:11 grafana | logger=sqlstore.transactions t=2024-03-20T16:11:30.853220083Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 16:13:11 grafana | logger=grafana.update.checker t=2024-03-20T16:11:30.858815547Z level=info msg="Update check succeeded" duration=114.098393ms 16:13:11 grafana | logger=ngalert.state.manager t=2024-03-20T16:11:30.862284859Z level=info msg="State cache has been initialized" states=0 duration=115.00166ms 16:13:11 grafana | logger=ngalert.scheduler t=2024-03-20T16:11:30.86243541Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 16:13:11 grafana | logger=ticker t=2024-03-20T16:11:30.862697912Z level=info msg=starting first_tick=2024-03-20T16:11:40Z 16:13:11 grafana | logger=sqlstore.transactions t=2024-03-20T16:11:30.863795793Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" 16:13:11 grafana | logger=grafana-apiserver t=2024-03-20T16:11:31.094110017Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 16:13:11 grafana | logger=grafana-apiserver t=2024-03-20T16:11:31.094632312Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" 16:13:11 grafana | logger=provisioning.dashboard t=2024-03-20T16:11:31.101029993Z level=info msg="finished to provision dashboards" 16:13:11 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2003241611341100u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2003241611341200u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2003241611341200u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2003241611341200u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2003241611341200u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2003241611341300u 1 2024-03-20 16:11:39 16:13:11 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2003241611341300u 1 2024-03-20 16:11:40 16:13:11 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2003241611341300u 1 2024-03-20 16:11:40 16:13:11 policy-db-migrator | policyadmin: OK @ 1300 16:13:11 ++ echo 'Tearing down containers...' 16:13:11 Tearing down containers... 16:13:11 ++ docker-compose down -v --remove-orphans 16:13:12 Stopping policy-api ... 16:13:12 Stopping grafana ... 16:13:12 Stopping prometheus ... 16:13:12 Stopping mariadb ... 16:13:13 Stopping grafana ... done 16:13:13 Stopping prometheus ... done 16:13:13 Stopping mariadb ... done 16:13:22 Stopping policy-api ... done 16:13:22 Removing policy-api ... 16:13:22 Removing policy-db-migrator ... 16:13:22 Removing grafana ... 16:13:22 Removing prometheus ... 16:13:22 Removing mariadb ... 16:13:22 Removing policy-db-migrator ... done 16:13:22 Removing policy-api ... done 16:13:22 Removing prometheus ... done 16:13:22 Removing grafana ... done 16:13:22 Removing mariadb ... done 16:13:22 Removing network compose_default 16:13:22 ++ cd /w/workspace/policy-api-master-project-csit-verify-api 16:13:22 + load_set 16:13:22 + _setopts=hxB 16:13:22 ++ echo braceexpand:hashall:interactive-comments:xtrace 16:13:22 ++ tr : ' ' 16:13:22 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:13:22 + set +o braceexpand 16:13:22 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:13:22 + set +o hashall 16:13:22 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:13:22 + set +o interactive-comments 16:13:22 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:13:22 + set +o xtrace 16:13:22 ++ echo hxB 16:13:22 ++ sed 's/./& /g' 16:13:23 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:13:23 + set +h 16:13:23 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:13:23 + set +x 16:13:23 + [[ -n /tmp/tmp.15rvSbGlht ]] 16:13:23 + rsync -av /tmp/tmp.15rvSbGlht/ /w/workspace/policy-api-master-project-csit-verify-api/csit/archives/api 16:13:23 sending incremental file list 16:13:23 ./ 16:13:23 log.html 16:13:23 output.xml 16:13:23 report.html 16:13:23 testplan.txt 16:13:23 16:13:23 sent 1,356,838 bytes received 95 bytes 2,713,866.00 bytes/sec 16:13:23 total size is 1,356,188 speedup is 1.00 16:13:23 + rm -rf /w/workspace/policy-api-master-project-csit-verify-api/models 16:13:23 + exit 0 16:13:23 $ ssh-agent -k 16:13:23 unset SSH_AUTH_SOCK; 16:13:23 unset SSH_AGENT_PID; 16:13:23 echo Agent pid 2058 killed; 16:13:23 [ssh-agent] Stopped. 16:13:23 Robot results publisher started... 16:13:23 INFO: Checking test criticality is deprecated and will be dropped in a future release! 16:13:23 -Parsing output xml: 16:13:23 Done! 16:13:23 WARNING! Could not find file: **/log.html 16:13:23 WARNING! Could not find file: **/report.html 16:13:23 -Copying log files to build dir: 16:13:23 Done! 16:13:23 -Assigning results to build: 16:13:23 Done! 16:13:23 -Checking thresholds: 16:13:23 Done! 16:13:23 Done publishing Robot results. 16:13:23 [PostBuildScript] - [INFO] Executing post build scripts. 16:13:23 [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins5320040698134484761.sh 16:13:23 ---> sysstat.sh 16:13:24 [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins4073821474389436066.sh 16:13:24 ---> package-listing.sh 16:13:24 ++ facter osfamily 16:13:24 ++ tr '[:upper:]' '[:lower:]' 16:13:24 + OS_FAMILY=debian 16:13:24 + workspace=/w/workspace/policy-api-master-project-csit-verify-api 16:13:24 + START_PACKAGES=/tmp/packages_start.txt 16:13:24 + END_PACKAGES=/tmp/packages_end.txt 16:13:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:13:24 + PACKAGES=/tmp/packages_start.txt 16:13:24 + '[' /w/workspace/policy-api-master-project-csit-verify-api ']' 16:13:24 + PACKAGES=/tmp/packages_end.txt 16:13:24 + case "${OS_FAMILY}" in 16:13:24 + dpkg -l 16:13:24 + grep '^ii' 16:13:24 + '[' -f /tmp/packages_start.txt ']' 16:13:24 + '[' -f /tmp/packages_end.txt ']' 16:13:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:13:24 + '[' /w/workspace/policy-api-master-project-csit-verify-api ']' 16:13:24 + mkdir -p /w/workspace/policy-api-master-project-csit-verify-api/archives/ 16:13:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-verify-api/archives/ 16:13:24 [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins9765013396900215780.sh 16:13:24 ---> capture-instance-metadata.sh 16:13:24 Setup pyenv: 16:13:24 system 16:13:24 3.8.13 16:13:24 3.9.13 16:13:24 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-verify-api/.python-version) 16:13:24 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-DRc8 from file:/tmp/.os_lf_venv 16:13:26 lf-activate-venv(): INFO: Installing: lftools 16:13:35 lf-activate-venv(): INFO: Adding /tmp/venv-DRc8/bin to PATH 16:13:35 INFO: Running in OpenStack, capturing instance metadata 16:13:36 [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins11138630433578388471.sh 16:13:36 provisioning config files... 16:13:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-verify-api@tmp/config310555426182252103tmp 16:13:36 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 16:13:36 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 16:13:36 [EnvInject] - Injecting environment variables from a build step. 16:13:36 [EnvInject] - Injecting as environment variables the properties content 16:13:36 SERVER_ID=logs 16:13:36 16:13:36 [EnvInject] - Variables injected successfully. 16:13:36 [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins13484532947530842328.sh 16:13:36 ---> create-netrc.sh 16:13:36 [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins12472985692874746896.sh 16:13:36 ---> python-tools-install.sh 16:13:36 Setup pyenv: 16:13:36 system 16:13:36 3.8.13 16:13:36 3.9.13 16:13:36 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-verify-api/.python-version) 16:13:36 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-DRc8 from file:/tmp/.os_lf_venv 16:13:37 lf-activate-venv(): INFO: Installing: lftools 16:13:47 lf-activate-venv(): INFO: Adding /tmp/venv-DRc8/bin to PATH 16:13:47 [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins11726424251127549893.sh 16:13:47 ---> sudo-logs.sh 16:13:47 Archiving 'sudo' log.. 16:13:47 [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins7135577370351068916.sh 16:13:47 ---> job-cost.sh 16:13:47 Setup pyenv: 16:13:47 system 16:13:47 3.8.13 16:13:47 3.9.13 16:13:47 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-verify-api/.python-version) 16:13:47 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-DRc8 from file:/tmp/.os_lf_venv 16:13:49 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 16:13:53 lf-activate-venv(): INFO: Adding /tmp/venv-DRc8/bin to PATH 16:13:53 INFO: No Stack... 16:13:54 INFO: Retrieving Pricing Info for: v3-standard-8 16:13:54 INFO: Archiving Costs 16:13:54 [policy-api-master-project-csit-verify-api] $ /bin/bash -l /tmp/jenkins3747032927647606632.sh 16:13:54 ---> logs-deploy.sh 16:13:54 Setup pyenv: 16:13:54 system 16:13:54 3.8.13 16:13:54 3.9.13 16:13:54 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-verify-api/.python-version) 16:13:54 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-DRc8 from file:/tmp/.os_lf_venv 16:13:56 lf-activate-venv(): INFO: Installing: lftools 16:14:04 lf-activate-venv(): INFO: Adding /tmp/venv-DRc8/bin to PATH 16:14:04 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-verify-api/515 16:14:04 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 16:14:05 Archives upload complete. 16:14:05 INFO: archiving logs to Nexus 16:14:06 ---> uname -a: 16:14:06 Linux prd-ubuntu1804-docker-8c-8g-14651 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 16:14:06 16:14:06 16:14:06 ---> lscpu: 16:14:06 Architecture: x86_64 16:14:06 CPU op-mode(s): 32-bit, 64-bit 16:14:06 Byte Order: Little Endian 16:14:06 CPU(s): 8 16:14:06 On-line CPU(s) list: 0-7 16:14:06 Thread(s) per core: 1 16:14:06 Core(s) per socket: 1 16:14:06 Socket(s): 8 16:14:06 NUMA node(s): 1 16:14:06 Vendor ID: AuthenticAMD 16:14:06 CPU family: 23 16:14:06 Model: 49 16:14:06 Model name: AMD EPYC-Rome Processor 16:14:06 Stepping: 0 16:14:06 CPU MHz: 2799.998 16:14:06 BogoMIPS: 5599.99 16:14:06 Virtualization: AMD-V 16:14:06 Hypervisor vendor: KVM 16:14:06 Virtualization type: full 16:14:06 L1d cache: 32K 16:14:06 L1i cache: 32K 16:14:06 L2 cache: 512K 16:14:06 L3 cache: 16384K 16:14:06 NUMA node0 CPU(s): 0-7 16:14:06 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 16:14:06 16:14:06 16:14:06 ---> nproc: 16:14:06 8 16:14:06 16:14:06 16:14:06 ---> df -h: 16:14:06 Filesystem Size Used Avail Use% Mounted on 16:14:06 udev 16G 0 16G 0% /dev 16:14:06 tmpfs 3.2G 708K 3.2G 1% /run 16:14:06 /dev/vda1 155G 12G 144G 8% / 16:14:06 tmpfs 16G 0 16G 0% /dev/shm 16:14:06 tmpfs 5.0M 0 5.0M 0% /run/lock 16:14:06 tmpfs 16G 0 16G 0% /sys/fs/cgroup 16:14:06 /dev/vda15 105M 4.4M 100M 5% /boot/efi 16:14:06 tmpfs 3.2G 0 3.2G 0% /run/user/1001 16:14:06 16:14:06 16:14:06 ---> free -m: 16:14:06 total used free shared buff/cache available 16:14:06 Mem: 32167 841 27095 0 4230 30869 16:14:06 Swap: 1023 0 1023 16:14:06 16:14:06 16:14:06 ---> ip addr: 16:14:06 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 16:14:06 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:14:06 inet 127.0.0.1/8 scope host lo 16:14:06 valid_lft forever preferred_lft forever 16:14:06 inet6 ::1/128 scope host 16:14:06 valid_lft forever preferred_lft forever 16:14:06 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 16:14:06 link/ether fa:16:3e:1c:ec:de brd ff:ff:ff:ff:ff:ff 16:14:06 inet 10.30.106.155/23 brd 10.30.107.255 scope global dynamic ens3 16:14:06 valid_lft 86055sec preferred_lft 86055sec 16:14:06 inet6 fe80::f816:3eff:fe1c:ecde/64 scope link 16:14:06 valid_lft forever preferred_lft forever 16:14:06 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 16:14:06 link/ether 02:42:30:de:52:d9 brd ff:ff:ff:ff:ff:ff 16:14:06 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 16:14:06 valid_lft forever preferred_lft forever 16:14:06 16:14:06 16:14:06 ---> sar -b -r -n DEV: 16:14:06 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-14651) 03/20/24 _x86_64_ (8 CPU) 16:14:06 16:14:06 16:08:23 LINUX RESTART (8 CPU) 16:14:06 16:14:06 16:09:02 tps rtps wtps bread/s bwrtn/s 16:14:06 16:10:01 103.96 23.20 80.77 1199.86 24314.80 16:14:06 16:11:01 137.39 23.20 114.20 2793.53 32197.03 16:14:06 16:12:01 376.59 12.75 363.84 779.77 86296.02 16:14:06 16:13:01 14.98 0.00 14.98 0.00 17695.28 16:14:06 16:14:01 66.31 1.97 64.34 120.11 20595.50 16:14:06 Average: 139.96 12.19 127.77 977.95 36257.54 16:14:06 16:14:06 16:09:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:14:06 16:10:01 30093776 31688744 2845444 8.64 70620 1834188 1409884 4.15 881580 1668936 158476 16:14:06 16:11:01 28416936 31647816 4522284 13.73 106636 3382396 1563396 4.60 1008784 3120460 1302248 16:14:06 16:12:01 26436704 30341668 6502516 19.74 130152 3988720 4628672 13.62 2405780 3632880 528 16:14:06 16:13:01 26307332 30213228 6631888 20.13 130324 3989256 4662012 13.72 2534628 3632768 80 16:14:06 16:14:01 27722996 31587024 5216224 15.84 132380 3956044 1504952 4.43 1196296 3584064 2696 16:14:06 Average: 27795549 31095696 5143671 15.62 114022 3430121 2753783 8.10 1605414 3127822 292806 16:14:06 16:14:06 16:09:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:14:06 16:10:01 lo 1.69 1.69 0.18 0.18 0.00 0.00 0.00 0.00 16:14:06 16:10:01 ens3 63.71 42.85 895.40 9.35 0.00 0.00 0.00 0.00 16:14:06 16:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:14:06 16:11:01 lo 7.80 7.80 0.72 0.72 0.00 0.00 0.00 0.00 16:14:06 16:11:01 br-c9d867130fe5 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:14:06 16:11:01 ens3 332.96 215.96 9271.58 19.73 0.00 0.00 0.00 0.00 16:14:06 16:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:14:06 16:12:01 vethb9ecee0 0.05 0.37 0.00 0.02 0.00 0.00 0.00 0.00 16:14:06 16:12:01 veth68cce8e 81.69 99.95 55.93 24.00 0.00 0.00 0.00 0.00 16:14:06 16:12:01 lo 3.82 3.82 2.21 2.21 0.00 0.00 0.00 0.00 16:14:06 16:12:01 br-c9d867130fe5 1.37 1.47 1.51 0.88 0.00 0.00 0.00 0.00 16:14:06 16:13:01 vethb9ecee0 0.15 0.17 0.02 0.76 0.00 0.00 0.00 0.00 16:14:06 16:13:01 veth68cce8e 49.11 59.96 58.65 14.96 0.00 0.00 0.00 0.00 16:14:06 16:13:01 lo 8.92 8.92 6.50 6.50 0.00 0.00 0.00 0.00 16:14:06 16:13:01 br-c9d867130fe5 2.53 2.77 4.68 1.64 0.00 0.00 0.00 0.00 16:14:06 16:14:01 lo 6.47 6.47 0.58 0.58 0.00 0.00 0.00 0.00 16:14:06 16:14:01 ens3 921.23 623.16 12964.90 130.54 0.00 0.00 0.00 0.00 16:14:06 16:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:14:06 Average: lo 5.75 5.75 2.05 2.05 0.00 0.00 0.00 0.00 16:14:06 Average: ens3 110.56 75.12 2442.47 12.31 0.00 0.00 0.00 0.00 16:14:06 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:14:06 16:14:06 16:14:06 ---> sar -P ALL: 16:14:06 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-14651) 03/20/24 _x86_64_ (8 CPU) 16:14:06 16:14:06 16:08:23 LINUX RESTART (8 CPU) 16:14:06 16:14:06 16:09:02 CPU %user %nice %system %iowait %steal %idle 16:14:06 16:10:01 all 10.17 0.00 0.68 2.40 0.03 86.72 16:14:06 16:10:01 0 5.02 0.00 0.37 0.10 0.02 94.49 16:14:06 16:10:01 1 8.37 0.00 0.42 0.63 0.02 90.56 16:14:06 16:10:01 2 8.01 0.00 0.52 0.10 0.02 91.35 16:14:06 16:10:01 3 6.57 0.00 0.53 0.24 0.03 92.63 16:14:06 16:10:01 4 8.81 0.00 0.68 11.94 0.03 78.54 16:14:06 16:10:01 5 0.08 0.00 0.25 3.36 0.08 96.21 16:14:06 16:10:01 6 27.19 0.00 1.63 2.49 0.05 68.65 16:14:06 16:10:01 7 17.22 0.00 1.00 0.37 0.03 81.38 16:14:06 16:11:01 all 11.36 0.00 2.20 2.76 0.04 83.64 16:14:06 16:11:01 0 14.29 0.00 2.47 0.18 0.05 83.00 16:14:06 16:11:01 1 21.47 0.00 2.38 1.34 0.03 74.77 16:14:06 16:11:01 2 5.52 0.00 2.29 0.10 0.03 92.06 16:14:06 16:11:01 3 5.27 0.00 1.71 0.69 0.02 92.31 16:14:06 16:11:01 4 4.63 0.00 1.80 11.66 0.03 81.88 16:14:06 16:11:01 5 4.40 0.00 2.50 5.01 0.05 88.05 16:14:06 16:11:01 6 27.59 0.00 2.34 1.87 0.05 68.15 16:14:06 16:11:01 7 7.72 0.00 2.11 1.24 0.07 88.86 16:14:06 16:12:01 all 15.78 0.00 3.02 5.83 0.07 75.31 16:14:06 16:12:01 0 8.55 0.00 2.29 1.57 0.05 87.54 16:14:06 16:12:01 1 19.84 0.00 3.22 5.07 0.10 71.77 16:14:06 16:12:01 2 17.74 0.00 3.39 1.34 0.07 77.45 16:14:06 16:12:01 3 16.30 0.00 3.18 3.57 0.07 76.88 16:14:06 16:12:01 4 13.76 0.00 2.36 6.96 0.07 76.85 16:14:06 16:12:01 5 15.77 0.00 2.67 1.59 0.07 79.90 16:14:06 16:12:01 6 20.08 0.00 3.48 1.54 0.07 74.83 16:14:06 16:12:01 7 14.17 0.00 3.53 25.06 0.08 57.16 16:14:06 16:13:01 all 1.71 0.00 0.17 0.92 0.03 97.18 16:14:06 16:13:01 0 1.59 0.00 0.20 0.02 0.03 98.16 16:14:06 16:13:01 1 1.75 0.00 0.12 0.22 0.00 97.92 16:14:06 16:13:01 2 2.50 0.00 0.15 0.00 0.00 97.35 16:14:06 16:13:01 3 1.45 0.00 0.23 6.99 0.02 91.31 16:14:06 16:13:01 4 2.54 0.00 0.20 0.03 0.08 97.15 16:14:06 16:13:01 5 1.58 0.00 0.17 0.00 0.03 98.22 16:14:06 16:13:01 6 1.33 0.00 0.22 0.13 0.00 98.32 16:14:06 16:13:01 7 0.87 0.00 0.08 0.00 0.03 99.02 16:14:06 16:14:01 all 7.45 0.00 0.67 2.15 0.03 89.69 16:14:06 16:14:01 0 9.83 0.00 0.69 0.40 0.03 89.04 16:14:06 16:14:01 1 23.04 0.00 1.00 1.22 0.05 74.69 16:14:06 16:14:01 2 17.03 0.00 0.93 0.50 0.03 81.51 16:14:06 16:14:01 3 2.66 0.00 0.52 4.51 0.02 92.30 16:14:06 16:14:01 4 1.19 0.00 0.45 0.65 0.02 97.70 16:14:06 16:14:01 5 2.14 0.00 0.62 0.22 0.02 97.01 16:14:06 16:14:01 6 2.21 0.00 0.53 9.21 0.05 88.00 16:14:06 16:14:01 7 1.57 0.00 0.57 0.50 0.03 97.33 16:14:06 Average: all 9.28 0.00 1.34 2.81 0.04 86.52 16:14:06 Average: 0 7.86 0.00 1.21 0.45 0.04 90.44 16:14:06 Average: 1 14.90 0.00 1.43 1.69 0.04 81.94 16:14:06 Average: 2 10.15 0.00 1.46 0.41 0.03 87.95 16:14:06 Average: 3 6.43 0.00 1.23 3.21 0.03 89.09 16:14:06 Average: 4 6.17 0.00 1.10 6.22 0.05 86.46 16:14:06 Average: 5 4.80 0.00 1.24 2.03 0.05 91.88 16:14:06 Average: 6 15.63 0.00 1.64 3.05 0.04 79.64 16:14:06 Average: 7 8.27 0.00 1.45 5.41 0.05 84.82 16:14:06 16:14:06 16:14:06