11:33:36 Started by timer 11:33:36 Running as SYSTEM 11:33:36 [EnvInject] - Loading node environment variables. 11:33:36 Building remotely on prd-ubuntu1804-docker-8c-8g-5327 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-london-project-csit-api 11:33:36 [ssh-agent] Looking for ssh-agent implementation... 11:33:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:33:36 $ ssh-agent 11:33:36 SSH_AUTH_SOCK=/tmp/ssh-z0NtT8Kk26C2/agent.2074 11:33:36 SSH_AGENT_PID=2076 11:33:36 [ssh-agent] Started. 11:33:36 Running ssh-add (command line suppressed) 11:33:36 Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_7024575493170797344.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_7024575493170797344.key) 11:33:36 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 11:33:36 The recommended git tool is: NONE 11:33:38 using credential onap-jenkins-ssh 11:33:38 Wiping out workspace first. 11:33:38 Cloning the remote Git repository 11:33:38 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 11:33:38 > git init /w/workspace/policy-api-london-project-csit-api # timeout=10 11:33:38 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 11:33:38 > git --version # timeout=10 11:33:38 > git --version # 'git version 2.17.1' 11:33:38 using GIT_SSH to set credentials Gerrit user 11:33:38 Verifying host key using manually-configured host key entries 11:33:38 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 11:33:39 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 11:33:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:33:39 Avoid second fetch 11:33:39 > git rev-parse refs/remotes/origin/london^{commit} # timeout=10 11:33:39 Checking out Revision e830ea142a4b760cf152d9db92c451d74b2da1f2 (refs/remotes/origin/london) 11:33:39 > git config core.sparsecheckout # timeout=10 11:33:39 > git checkout -f e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=30 11:33:39 Commit message: "Make update to allow local image to be used in Nordix" 11:33:39 > git rev-list --no-walk e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=10 11:33:40 provisioning config files... 11:33:40 copy managed file [npmrc] to file:/home/jenkins/.npmrc 11:33:40 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 11:33:40 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins7612417269693051036.sh 11:33:40 ---> python-tools-install.sh 11:33:40 Setup pyenv: 11:33:40 * system (set by /opt/pyenv/version) 11:33:40 * 3.8.13 (set by /opt/pyenv/version) 11:33:40 * 3.9.13 (set by /opt/pyenv/version) 11:33:40 * 3.10.6 (set by /opt/pyenv/version) 11:33:44 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pQ6Y 11:33:44 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 11:33:47 lf-activate-venv(): INFO: Installing: lftools 11:34:21 lf-activate-venv(): INFO: Adding /tmp/venv-pQ6Y/bin to PATH 11:34:21 Generating Requirements File 11:34:56 Python 3.10.6 11:34:56 pip 24.0 from /tmp/venv-pQ6Y/lib/python3.10/site-packages/pip (python 3.10) 11:34:57 appdirs==1.4.4 11:34:57 argcomplete==3.2.2 11:34:57 aspy.yaml==1.3.0 11:34:57 attrs==23.2.0 11:34:57 autopage==0.5.2 11:34:57 beautifulsoup4==4.12.3 11:34:57 boto3==1.34.41 11:34:57 botocore==1.34.41 11:34:57 bs4==0.0.2 11:34:57 cachetools==5.3.2 11:34:57 certifi==2024.2.2 11:34:57 cffi==1.16.0 11:34:57 cfgv==3.4.0 11:34:57 chardet==5.2.0 11:34:57 charset-normalizer==3.3.2 11:34:57 click==8.1.7 11:34:57 cliff==4.5.0 11:34:57 cmd2==2.4.3 11:34:57 cryptography==3.3.2 11:34:57 debtcollector==2.5.0 11:34:57 decorator==5.1.1 11:34:57 defusedxml==0.7.1 11:34:57 Deprecated==1.2.14 11:34:57 distlib==0.3.8 11:34:57 dnspython==2.5.0 11:34:57 docker==4.2.2 11:34:57 dogpile.cache==1.3.1 11:34:57 email-validator==2.1.0.post1 11:34:57 filelock==3.13.1 11:34:57 future==0.18.3 11:34:57 gitdb==4.0.11 11:34:57 GitPython==3.1.41 11:34:57 google-auth==2.27.0 11:34:57 httplib2==0.22.0 11:34:57 identify==2.5.34 11:34:57 idna==3.6 11:34:57 importlib-resources==1.5.0 11:34:57 iso8601==2.1.0 11:34:57 Jinja2==3.1.3 11:34:57 jmespath==1.0.1 11:34:57 jsonpatch==1.33 11:34:57 jsonpointer==2.4 11:34:57 jsonschema==4.21.1 11:34:57 jsonschema-specifications==2023.12.1 11:34:57 keystoneauth1==5.5.0 11:34:57 kubernetes==29.0.0 11:34:57 lftools==0.37.8 11:34:57 lxml==5.1.0 11:34:57 MarkupSafe==2.1.5 11:34:57 msgpack==1.0.7 11:34:57 multi_key_dict==2.0.3 11:34:57 munch==4.0.0 11:34:57 netaddr==1.0.0 11:34:57 netifaces==0.11.0 11:34:57 niet==1.4.2 11:34:57 nodeenv==1.8.0 11:34:57 oauth2client==4.1.3 11:34:57 oauthlib==3.2.2 11:34:57 openstacksdk==0.62.0 11:34:57 os-client-config==2.1.0 11:34:57 os-service-types==1.7.0 11:34:57 osc-lib==3.0.0 11:34:57 oslo.config==9.3.0 11:34:57 oslo.context==5.3.0 11:34:57 oslo.i18n==6.2.0 11:34:57 oslo.log==5.4.0 11:34:57 oslo.serialization==5.3.0 11:34:57 oslo.utils==7.0.0 11:34:57 packaging==23.2 11:34:57 pbr==6.0.0 11:34:57 platformdirs==4.2.0 11:34:57 prettytable==3.9.0 11:34:57 pyasn1==0.5.1 11:34:57 pyasn1-modules==0.3.0 11:34:57 pycparser==2.21 11:34:57 pygerrit2==2.0.15 11:34:57 PyGithub==2.2.0 11:34:57 pyinotify==0.9.6 11:34:57 PyJWT==2.8.0 11:34:57 PyNaCl==1.5.0 11:34:57 pyparsing==2.4.7 11:34:57 pyperclip==1.8.2 11:34:57 pyrsistent==0.20.0 11:34:57 python-cinderclient==9.4.0 11:34:57 python-dateutil==2.8.2 11:34:57 python-heatclient==3.4.0 11:34:57 python-jenkins==1.8.2 11:34:57 python-keystoneclient==5.3.0 11:34:57 python-magnumclient==4.3.0 11:34:57 python-novaclient==18.4.0 11:34:57 python-openstackclient==6.0.1 11:34:57 python-swiftclient==4.4.0 11:34:57 pytz==2024.1 11:34:57 PyYAML==6.0.1 11:34:57 referencing==0.33.0 11:34:57 requests==2.31.0 11:34:57 requests-oauthlib==1.3.1 11:34:57 requestsexceptions==1.4.0 11:34:57 rfc3986==2.0.0 11:34:57 rpds-py==0.18.0 11:34:57 rsa==4.9 11:34:57 ruamel.yaml==0.18.6 11:34:57 ruamel.yaml.clib==0.2.8 11:34:57 s3transfer==0.10.0 11:34:57 simplejson==3.19.2 11:34:57 six==1.16.0 11:34:57 smmap==5.0.1 11:34:57 soupsieve==2.5 11:34:57 stevedore==5.1.0 11:34:57 tabulate==0.9.0 11:34:57 toml==0.10.2 11:34:57 tomlkit==0.12.3 11:34:57 tqdm==4.66.2 11:34:57 typing_extensions==4.9.0 11:34:57 tzdata==2024.1 11:34:57 urllib3==1.26.18 11:34:57 virtualenv==20.25.0 11:34:57 wcwidth==0.2.13 11:34:57 websocket-client==1.7.0 11:34:57 wrapt==1.16.0 11:34:57 xdg==6.0.0 11:34:57 xmltodict==0.13.0 11:34:57 yq==3.2.3 11:34:57 [EnvInject] - Injecting environment variables from a build step. 11:34:57 [EnvInject] - Injecting as environment variables the properties content 11:34:57 SET_JDK_VERSION=openjdk17 11:34:57 GIT_URL="git://cloud.onap.org/mirror" 11:34:57 11:34:57 [EnvInject] - Variables injected successfully. 11:34:57 [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins14240528917601834455.sh 11:34:57 ---> update-java-alternatives.sh 11:34:57 ---> Updating Java version 11:34:57 ---> Ubuntu/Debian system detected 11:34:58 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 11:34:58 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 11:34:58 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 11:34:58 openjdk version "17.0.4" 2022-07-19 11:34:58 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 11:34:58 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 11:34:58 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 11:34:58 [EnvInject] - Injecting environment variables from a build step. 11:34:58 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 11:34:58 [EnvInject] - Variables injected successfully. 11:34:58 [policy-api-london-project-csit-api] $ /bin/sh -xe /tmp/jenkins8512125053878223405.sh 11:34:58 + /w/workspace/policy-api-london-project-csit-api/csit/run-project-csit.sh api 11:34:58 + set +u 11:34:58 + save_set 11:34:58 + RUN_CSIT_SAVE_SET=ehxB 11:34:58 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 11:34:58 + '[' 1 -eq 0 ']' 11:34:58 + '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:34:58 + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin 11:34:58 + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin 11:34:58 + export SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts 11:34:58 + SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts 11:34:58 + export ROBOT_VARIABLES= 11:34:58 + ROBOT_VARIABLES= 11:34:58 + export PROJECT=api 11:34:58 + PROJECT=api 11:34:58 + cd /w/workspace/policy-api-london-project-csit-api 11:34:58 + rm -rf /w/workspace/policy-api-london-project-csit-api/csit/archives/api 11:34:58 + mkdir -p /w/workspace/policy-api-london-project-csit-api/csit/archives/api 11:34:58 + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:34:58 + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 11:34:58 + relax_set 11:34:58 + set +e 11:34:58 + set +o pipefail 11:34:58 + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:34:58 ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:34:58 +++ mktemp -d 11:34:58 ++ ROBOT_VENV=/tmp/tmp.RBXI1HRj80 11:34:58 ++ echo ROBOT_VENV=/tmp/tmp.RBXI1HRj80 11:34:58 +++ python3 --version 11:34:58 ++ echo 'Python version is: Python 3.6.9' 11:34:58 Python version is: Python 3.6.9 11:34:58 ++ python3 -m venv --clear /tmp/tmp.RBXI1HRj80 11:35:00 ++ source /tmp/tmp.RBXI1HRj80/bin/activate 11:35:00 +++ deactivate nondestructive 11:35:00 +++ '[' -n '' ']' 11:35:00 +++ '[' -n '' ']' 11:35:00 +++ '[' -n /bin/bash -o -n '' ']' 11:35:00 +++ hash -r 11:35:00 +++ '[' -n '' ']' 11:35:00 +++ unset VIRTUAL_ENV 11:35:00 +++ '[' '!' nondestructive = nondestructive ']' 11:35:00 +++ VIRTUAL_ENV=/tmp/tmp.RBXI1HRj80 11:35:00 +++ export VIRTUAL_ENV 11:35:00 +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin 11:35:00 +++ PATH=/tmp/tmp.RBXI1HRj80/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin 11:35:00 +++ export PATH 11:35:00 +++ '[' -n '' ']' 11:35:00 +++ '[' -z '' ']' 11:35:00 +++ _OLD_VIRTUAL_PS1= 11:35:00 +++ '[' 'x(tmp.RBXI1HRj80) ' '!=' x ']' 11:35:00 +++ PS1='(tmp.RBXI1HRj80) ' 11:35:00 +++ export PS1 11:35:00 +++ '[' -n /bin/bash -o -n '' ']' 11:35:00 +++ hash -r 11:35:00 ++ set -exu 11:35:00 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 11:35:03 ++ echo 'Installing Python Requirements' 11:35:03 Installing Python Requirements 11:35:03 ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt 11:35:24 ++ python3 -m pip -qq freeze 11:35:24 bcrypt==4.0.1 11:35:24 beautifulsoup4==4.12.3 11:35:24 bitarray==2.9.2 11:35:24 certifi==2024.2.2 11:35:24 cffi==1.15.1 11:35:24 charset-normalizer==2.0.12 11:35:24 cryptography==40.0.2 11:35:24 decorator==5.1.1 11:35:24 elasticsearch==7.17.9 11:35:24 elasticsearch-dsl==7.4.1 11:35:24 enum34==1.1.10 11:35:24 idna==3.6 11:35:24 importlib-resources==5.4.0 11:35:24 ipaddr==2.2.0 11:35:24 isodate==0.6.1 11:35:24 jmespath==0.10.0 11:35:24 jsonpatch==1.32 11:35:24 jsonpath-rw==1.4.0 11:35:24 jsonpointer==2.3 11:35:24 lxml==5.1.0 11:35:24 netaddr==0.8.0 11:35:24 netifaces==0.11.0 11:35:24 odltools==0.1.28 11:35:24 paramiko==3.4.0 11:35:24 pkg_resources==0.0.0 11:35:24 ply==3.11 11:35:24 pyang==2.6.0 11:35:24 pyangbind==0.8.1 11:35:24 pycparser==2.21 11:35:24 pyhocon==0.3.60 11:35:24 PyNaCl==1.5.0 11:35:24 pyparsing==3.1.1 11:35:24 python-dateutil==2.8.2 11:35:24 regex==2023.8.8 11:35:24 requests==2.27.1 11:35:24 robotframework==6.1.1 11:35:24 robotframework-httplibrary==0.4.2 11:35:24 robotframework-pythonlibcore==3.0.0 11:35:24 robotframework-requests==0.9.4 11:35:24 robotframework-selenium2library==3.0.0 11:35:24 robotframework-seleniumlibrary==5.1.3 11:35:24 robotframework-sshlibrary==3.8.0 11:35:24 scapy==2.5.0 11:35:24 scp==0.14.5 11:35:24 selenium==3.141.0 11:35:24 six==1.16.0 11:35:24 soupsieve==2.3.2.post1 11:35:24 urllib3==1.26.18 11:35:24 waitress==2.0.0 11:35:24 WebOb==1.8.7 11:35:24 WebTest==3.0.0 11:35:24 zipp==3.6.0 11:35:24 ++ mkdir -p /tmp/tmp.RBXI1HRj80/src/onap 11:35:24 ++ rm -rf /tmp/tmp.RBXI1HRj80/src/onap/testsuite 11:35:24 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 11:35:30 ++ echo 'Uninstall docker-py and reinstall docker.' 11:35:30 Uninstall docker-py and reinstall docker. 11:35:30 ++ python3 -m pip uninstall -y -qq docker 11:35:31 ++ python3 -m pip install -U -qq docker 11:35:32 ++ python3 -m pip -qq freeze 11:35:32 bcrypt==4.0.1 11:35:32 beautifulsoup4==4.12.3 11:35:32 bitarray==2.9.2 11:35:32 certifi==2024.2.2 11:35:32 cffi==1.15.1 11:35:32 charset-normalizer==2.0.12 11:35:32 cryptography==40.0.2 11:35:32 decorator==5.1.1 11:35:32 deepdiff==5.7.0 11:35:32 dnspython==2.2.1 11:35:32 docker==5.0.3 11:35:32 elasticsearch==7.17.9 11:35:32 elasticsearch-dsl==7.4.1 11:35:32 enum34==1.1.10 11:35:32 future==0.18.3 11:35:32 idna==3.6 11:35:32 importlib-resources==5.4.0 11:35:32 ipaddr==2.2.0 11:35:32 isodate==0.6.1 11:35:32 Jinja2==3.0.3 11:35:32 jmespath==0.10.0 11:35:32 jsonpatch==1.32 11:35:32 jsonpath-rw==1.4.0 11:35:32 jsonpointer==2.3 11:35:32 kafka-python==2.0.2 11:35:32 lxml==5.1.0 11:35:32 MarkupSafe==2.0.1 11:35:32 more-itertools==5.0.0 11:35:32 netaddr==0.8.0 11:35:32 netifaces==0.11.0 11:35:32 odltools==0.1.28 11:35:32 ordered-set==4.0.2 11:35:32 paramiko==3.4.0 11:35:32 pbr==6.0.0 11:35:32 pkg_resources==0.0.0 11:35:32 ply==3.11 11:35:32 protobuf==3.19.6 11:35:32 pyang==2.6.0 11:35:32 pyangbind==0.8.1 11:35:32 pycparser==2.21 11:35:32 pyhocon==0.3.60 11:35:32 PyNaCl==1.5.0 11:35:32 pyparsing==3.1.1 11:35:32 python-dateutil==2.8.2 11:35:32 PyYAML==6.0.1 11:35:32 regex==2023.8.8 11:35:32 requests==2.27.1 11:35:32 robotframework==6.1.1 11:35:32 robotframework-httplibrary==0.4.2 11:35:32 robotframework-onap==0.6.0.dev105 11:35:32 robotframework-pythonlibcore==3.0.0 11:35:32 robotframework-requests==0.9.4 11:35:32 robotframework-selenium2library==3.0.0 11:35:32 robotframework-seleniumlibrary==5.1.3 11:35:32 robotframework-sshlibrary==3.8.0 11:35:32 robotlibcore-temp==1.0.2 11:35:32 scapy==2.5.0 11:35:32 scp==0.14.5 11:35:32 selenium==3.141.0 11:35:32 six==1.16.0 11:35:32 soupsieve==2.3.2.post1 11:35:32 urllib3==1.26.18 11:35:32 waitress==2.0.0 11:35:32 WebOb==1.8.7 11:35:32 websocket-client==1.3.1 11:35:32 WebTest==3.0.0 11:35:32 zipp==3.6.0 11:35:32 ++ uname 11:35:32 ++ grep -q Linux 11:35:32 ++ sudo apt-get -y -qq install libxml2-utils 11:35:33 + load_set 11:35:33 + _setopts=ehuxB 11:35:33 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 11:35:33 ++ tr : ' ' 11:35:33 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:35:33 + set +o braceexpand 11:35:33 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:35:33 + set +o hashall 11:35:33 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:35:33 + set +o interactive-comments 11:35:33 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:35:33 + set +o nounset 11:35:33 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:35:33 + set +o xtrace 11:35:33 ++ echo ehuxB 11:35:33 ++ sed 's/./& /g' 11:35:33 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:35:33 + set +e 11:35:33 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:35:33 + set +h 11:35:33 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:35:33 + set +u 11:35:33 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:35:33 + set +x 11:35:33 + source_safely /tmp/tmp.RBXI1HRj80/bin/activate 11:35:33 + '[' -z /tmp/tmp.RBXI1HRj80/bin/activate ']' 11:35:33 + relax_set 11:35:33 + set +e 11:35:33 + set +o pipefail 11:35:33 + . /tmp/tmp.RBXI1HRj80/bin/activate 11:35:33 ++ deactivate nondestructive 11:35:33 ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ']' 11:35:33 ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin 11:35:33 ++ export PATH 11:35:33 ++ unset _OLD_VIRTUAL_PATH 11:35:33 ++ '[' -n '' ']' 11:35:33 ++ '[' -n /bin/bash -o -n '' ']' 11:35:33 ++ hash -r 11:35:33 ++ '[' -n '' ']' 11:35:33 ++ unset VIRTUAL_ENV 11:35:33 ++ '[' '!' nondestructive = nondestructive ']' 11:35:33 ++ VIRTUAL_ENV=/tmp/tmp.RBXI1HRj80 11:35:33 ++ export VIRTUAL_ENV 11:35:33 ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin 11:35:33 ++ PATH=/tmp/tmp.RBXI1HRj80/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin 11:35:33 ++ export PATH 11:35:33 ++ '[' -n '' ']' 11:35:33 ++ '[' -z '' ']' 11:35:33 ++ _OLD_VIRTUAL_PS1='(tmp.RBXI1HRj80) ' 11:35:33 ++ '[' 'x(tmp.RBXI1HRj80) ' '!=' x ']' 11:35:33 ++ PS1='(tmp.RBXI1HRj80) (tmp.RBXI1HRj80) ' 11:35:33 ++ export PS1 11:35:33 ++ '[' -n /bin/bash -o -n '' ']' 11:35:33 ++ hash -r 11:35:33 + load_set 11:35:33 + _setopts=hxB 11:35:33 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:35:33 ++ tr : ' ' 11:35:33 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:35:33 + set +o braceexpand 11:35:33 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:35:33 + set +o hashall 11:35:33 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:35:33 + set +o interactive-comments 11:35:33 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:35:33 + set +o xtrace 11:35:33 ++ echo hxB 11:35:33 ++ sed 's/./& /g' 11:35:33 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:35:33 + set +h 11:35:33 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:35:33 + set +x 11:35:33 + export TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests 11:35:33 + TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests 11:35:33 + export TEST_OPTIONS= 11:35:33 + TEST_OPTIONS= 11:35:33 ++ mktemp -d 11:35:33 + WORKDIR=/tmp/tmp.nFVMsZky2E 11:35:33 + cd /tmp/tmp.nFVMsZky2E 11:35:33 + docker login -u docker -p docker nexus3.onap.org:10001 11:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:33 Configure a credential helper to remove this warning. See 11:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:33 11:35:33 Login Succeeded 11:35:33 + SETUP=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:35:33 + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:35:33 + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' 11:35:33 Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:35:33 + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:35:33 + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:35:33 + relax_set 11:35:33 + set +e 11:35:33 + set +o pipefail 11:35:33 + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:35:33 ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh 11:35:33 +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:35:33 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview 11:35:33 +++ GERRIT_BRANCH=london 11:35:33 +++ echo GERRIT_BRANCH=london 11:35:33 GERRIT_BRANCH=london 11:35:33 +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models 11:35:33 +++ mkdir /w/workspace/policy-api-london-project-csit-api/models 11:35:33 +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models 11:35:33 Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... 11:35:34 +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies 11:35:34 +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies 11:35:34 +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:35:34 +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:35:34 +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 11:35:34 +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 11:35:34 ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana 11:35:34 +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:35:34 +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose 11:35:34 +++ grafana=false 11:35:34 +++ gui=false 11:35:34 +++ [[ 2 -gt 0 ]] 11:35:34 +++ key=api 11:35:34 +++ case $key in 11:35:34 +++ echo api 11:35:34 api 11:35:34 +++ component=api 11:35:34 +++ shift 11:35:34 +++ [[ 1 -gt 0 ]] 11:35:34 +++ key=--grafana 11:35:34 +++ case $key in 11:35:34 +++ grafana=true 11:35:34 +++ shift 11:35:34 +++ [[ 0 -gt 0 ]] 11:35:34 +++ cd /w/workspace/policy-api-london-project-csit-api/compose 11:35:34 +++ echo 'Configuring docker compose...' 11:35:34 Configuring docker compose... 11:35:34 +++ source export-ports.sh 11:35:34 +++ source get-versions.sh 11:35:37 +++ '[' -z api ']' 11:35:37 +++ '[' -n api ']' 11:35:37 +++ '[' api == logs ']' 11:35:37 +++ '[' true = true ']' 11:35:37 +++ echo 'Starting api application with Grafana' 11:35:37 Starting api application with Grafana 11:35:37 +++ docker-compose up -d api grafana 11:35:38 Creating network "compose_default" with the default driver 11:35:38 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 11:35:38 10.10.2: Pulling from mariadb 11:35:43 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 11:35:43 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 11:35:43 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2)... 11:35:43 2.6.2: Pulling from onap/policy-db-migrator 11:35:46 Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 11:35:46 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 11:35:46 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 11:35:47 2.8.2: Pulling from onap/policy-api 11:35:48 Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d 11:35:48 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 11:35:48 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 11:35:48 latest: Pulling from prom/prometheus 11:35:51 Digest: sha256:beb5e30ffba08d9ae8a7961b9a2145fc8af6296ff2a4f463df7cd722fcbfc789 11:35:51 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 11:35:51 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 11:35:51 latest: Pulling from grafana/grafana 11:35:56 Digest: sha256:8640e5038e83ca4554ed56b9d76375158bcd51580238c6f5d8adaf3f20dd5379 11:35:56 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 11:35:56 Creating prometheus ... 11:35:56 Creating mariadb ... 11:36:13 Creating mariadb ... done 11:36:13 Creating policy-db-migrator ... 11:36:14 Creating policy-db-migrator ... done 11:36:14 Creating policy-api ... 11:36:15 Creating policy-api ... done 11:36:16 Creating prometheus ... done 11:36:16 Creating grafana ... 11:36:17 Creating grafana ... done 11:36:17 +++ echo 'Prometheus server: http://localhost:30259' 11:36:17 Prometheus server: http://localhost:30259 11:36:17 +++ echo 'Grafana server: http://localhost:30269' 11:36:17 Grafana server: http://localhost:30269 11:36:17 +++ cd /w/workspace/policy-api-london-project-csit-api 11:36:17 ++ sleep 10 11:36:27 ++ unset http_proxy https_proxy 11:36:27 ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 11:36:27 Waiting for REST to come up on localhost port 30002... 11:36:27 NAMES STATUS 11:36:27 grafana Up 10 seconds 11:36:27 policy-api Up 12 seconds 11:36:27 prometheus Up 11 seconds 11:36:27 mariadb Up 14 seconds 11:36:32 NAMES STATUS 11:36:32 grafana Up 15 seconds 11:36:32 policy-api Up 17 seconds 11:36:32 prometheus Up 16 seconds 11:36:32 mariadb Up 19 seconds 11:36:37 NAMES STATUS 11:36:37 grafana Up 20 seconds 11:36:37 policy-api Up 22 seconds 11:36:37 prometheus Up 21 seconds 11:36:37 mariadb Up 24 seconds 11:36:42 NAMES STATUS 11:36:42 grafana Up 25 seconds 11:36:42 policy-api Up 27 seconds 11:36:42 prometheus Up 26 seconds 11:36:42 mariadb Up 29 seconds 11:36:42 ++ export 'SUITES=api-test.robot 11:36:42 api-slas.robot' 11:36:42 ++ SUITES='api-test.robot 11:36:42 api-slas.robot' 11:36:42 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:36:42 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 11:36:42 + load_set 11:36:42 + _setopts=hxB 11:36:42 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:36:42 ++ tr : ' ' 11:36:42 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:42 + set +o braceexpand 11:36:42 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:42 + set +o hashall 11:36:42 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:42 + set +o interactive-comments 11:36:42 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:42 + set +o xtrace 11:36:42 ++ echo hxB 11:36:42 ++ sed 's/./& /g' 11:36:42 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:42 + set +h 11:36:42 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:42 + set +x 11:36:42 + docker_stats 11:36:42 + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 11:36:42 ++ uname -s 11:36:42 + '[' Linux == Darwin ']' 11:36:42 + sh -c 'top -bn1 | head -3' 11:36:43 top - 11:36:43 up 3 min, 0 users, load average: 3.05, 1.19, 0.46 11:36:43 Tasks: 181 total, 1 running, 101 sleeping, 0 stopped, 0 zombie 11:36:43 %Cpu(s): 10.6 us, 1.9 sy, 0.0 ni, 82.0 id, 5.4 wa, 0.0 hi, 0.0 si, 0.0 st 11:36:43 + echo 11:36:43 + sh -c 'free -h' 11:36:43 11:36:43 total used free shared buff/cache available 11:36:43 Mem: 31G 1.8G 25G 1.0M 3.8G 29G 11:36:43 Swap: 1.0G 0B 1.0G 11:36:43 + echo 11:36:43 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:36:43 11:36:43 NAMES STATUS 11:36:43 grafana Up 25 seconds 11:36:43 policy-api Up 27 seconds 11:36:43 prometheus Up 26 seconds 11:36:43 mariadb Up 29 seconds 11:36:43 + echo 11:36:43 11:36:43 + docker stats --no-stream 11:36:45 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:36:45 bd0bb2b33f92 grafana 0.02% 52.09MiB / 31.41GiB 0.16% 18.4kB / 3.25kB 0B / 23.7MB 13 11:36:45 5c2cea5e8327 policy-api 0.13% 911.7MiB / 31.41GiB 2.83% 1.04MB / 755kB 0B / 0B 50 11:36:45 2c61b055f025 prometheus 0.00% 20.1MiB / 31.41GiB 0.06% 16.2kB / 802B 225kB / 0B 13 11:36:45 8e49ccb16bc4 mariadb 0.02% 100.7MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 62.1MB 31 11:36:45 + echo 11:36:45 11:36:45 + cd /tmp/tmp.nFVMsZky2E 11:36:45 + echo 'Reading the testplan:' 11:36:45 Reading the testplan: 11:36:45 + echo 'api-test.robot 11:36:45 api-slas.robot' 11:36:45 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 11:36:45 + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' 11:36:45 + cat testplan.txt 11:36:45 /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot 11:36:45 /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot 11:36:45 ++ xargs 11:36:45 + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' 11:36:45 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:36:45 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 11:36:45 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:36:45 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:36:45 + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' 11:36:45 Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... 11:36:45 + relax_set 11:36:45 + set +e 11:36:45 + set +o pipefail 11:36:45 + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot 11:36:45 ============================================================================== 11:36:45 api 11:36:45 ============================================================================== 11:36:45 api.Api-Test 11:36:45 ============================================================================== 11:36:46 Healthcheck :: Verify policy api health check | PASS | 11:36:46 ------------------------------------------------------------------------------ 11:36:46 Statistics :: Verify policy api statistics | PASS | 11:36:46 ------------------------------------------------------------------------------ 11:36:48 RetrievePolicyTypes :: Retrieve all policy types | PASS | 11:36:48 ------------------------------------------------------------------------------ 11:36:48 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 11:36:48 ------------------------------------------------------------------------------ 11:36:48 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 11:36:48 ------------------------------------------------------------------------------ 11:36:49 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 11:36:49 ------------------------------------------------------------------------------ 11:36:49 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 11:36:49 ------------------------------------------------------------------------------ 11:36:49 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 11:36:49 ------------------------------------------------------------------------------ 11:36:50 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 11:36:50 ------------------------------------------------------------------------------ 11:36:50 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 11:36:50 ------------------------------------------------------------------------------ 11:36:50 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 11:36:50 ------------------------------------------------------------------------------ 11:36:50 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 11:36:50 ------------------------------------------------------------------------------ 11:36:51 RetrieveAllPolicies :: Retrieve all policies | PASS | 11:36:51 ------------------------------------------------------------------------------ 11:36:51 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 11:36:51 ------------------------------------------------------------------------------ 11:36:51 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 11:36:51 ------------------------------------------------------------------------------ 11:36:51 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 11:36:51 ------------------------------------------------------------------------------ 11:36:51 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 11:36:51 ------------------------------------------------------------------------------ 11:36:52 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 11:36:52 ------------------------------------------------------------------------------ 11:36:52 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 11:36:52 ------------------------------------------------------------------------------ 11:36:52 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 11:36:52 ------------------------------------------------------------------------------ 11:36:52 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 11:36:52 ------------------------------------------------------------------------------ 11:36:53 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 11:36:53 ------------------------------------------------------------------------------ 11:36:53 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 11:36:53 ------------------------------------------------------------------------------ 11:36:53 api.Api-Test | PASS | 11:36:53 23 tests, 23 passed, 0 failed 11:36:53 ============================================================================== 11:36:53 api.Api-Slas 11:36:53 ============================================================================== 11:37:53 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 11:37:53 ------------------------------------------------------------------------------ 11:37:53 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 11:37:53 ------------------------------------------------------------------------------ 11:37:53 ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | 11:37:53 ------------------------------------------------------------------------------ 11:37:53 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 11:37:53 ------------------------------------------------------------------------------ 11:37:53 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 11:37:53 ------------------------------------------------------------------------------ 11:37:53 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 11:37:53 ------------------------------------------------------------------------------ 11:37:53 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 11:37:53 ------------------------------------------------------------------------------ 11:37:53 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 11:37:53 ------------------------------------------------------------------------------ 11:37:53 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 11:37:53 ------------------------------------------------------------------------------ 11:37:53 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 11:37:53 ------------------------------------------------------------------------------ 11:37:53 api.Api-Slas | PASS | 11:37:53 10 tests, 10 passed, 0 failed 11:37:53 ============================================================================== 11:37:53 api | PASS | 11:37:53 33 tests, 33 passed, 0 failed 11:37:53 ============================================================================== 11:37:53 Output: /tmp/tmp.nFVMsZky2E/output.xml 11:37:53 Log: /tmp/tmp.nFVMsZky2E/log.html 11:37:53 Report: /tmp/tmp.nFVMsZky2E/report.html 11:37:53 + RESULT=0 11:37:53 + load_set 11:37:53 + _setopts=hxB 11:37:53 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:37:53 ++ tr : ' ' 11:37:53 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:53 + set +o braceexpand 11:37:53 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:53 + set +o hashall 11:37:53 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:53 + set +o interactive-comments 11:37:53 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:53 + set +o xtrace 11:37:53 ++ echo hxB 11:37:53 ++ sed 's/./& /g' 11:37:53 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:37:53 + set +h 11:37:53 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:37:53 + set +x 11:37:53 + echo 'RESULT: 0' 11:37:53 RESULT: 0 11:37:53 + exit 0 11:37:53 + on_exit 11:37:53 + rc=0 11:37:53 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] 11:37:53 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:37:53 NAMES STATUS 11:37:53 grafana Up About a minute 11:37:53 policy-api Up About a minute 11:37:53 prometheus Up About a minute 11:37:53 mariadb Up About a minute 11:37:53 + docker_stats 11:37:53 ++ uname -s 11:37:53 + '[' Linux == Darwin ']' 11:37:53 + sh -c 'top -bn1 | head -3' 11:37:53 top - 11:37:53 up 5 min, 0 users, load average: 1.08, 1.01, 0.44 11:37:53 Tasks: 179 total, 1 running, 99 sleeping, 0 stopped, 0 zombie 11:37:53 %Cpu(s): 8.9 us, 1.5 sy, 0.0 ni, 85.3 id, 4.2 wa, 0.0 hi, 0.0 si, 0.0 st 11:37:53 + echo 11:37:53 11:37:53 + sh -c 'free -h' 11:37:53 total used free shared buff/cache available 11:37:53 Mem: 31G 1.9G 25G 1.0M 3.8G 29G 11:37:53 Swap: 1.0G 0B 1.0G 11:37:53 + echo 11:37:53 11:37:53 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:37:53 NAMES STATUS 11:37:53 grafana Up About a minute 11:37:53 policy-api Up About a minute 11:37:53 prometheus Up About a minute 11:37:53 mariadb Up About a minute 11:37:53 + echo 11:37:53 11:37:53 + docker stats --no-stream 11:37:56 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:37:56 bd0bb2b33f92 grafana 0.04% 57.53MiB / 31.41GiB 0.18% 21.4kB / 4.52kB 0B / 23.8MB 13 11:37:56 5c2cea5e8327 policy-api 0.11% 941.8MiB / 31.41GiB 2.93% 7.32MB / 2.89MB 0B / 0B 52 11:37:56 2c61b055f025 prometheus 0.00% 26.11MiB / 31.41GiB 0.08% 53kB / 7.85kB 225kB / 0B 13 11:37:56 8e49ccb16bc4 mariadb 0.02% 101.4MiB / 31.41GiB 0.32% 2.75MB / 7.35MB 11MB / 62.3MB 18 11:37:56 + echo 11:37:56 11:37:56 + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh 11:37:56 + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' 11:37:56 + relax_set 11:37:56 + set +e 11:37:56 + set +o pipefail 11:37:56 + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh 11:37:56 ++ echo 'Shut down started!' 11:37:56 Shut down started! 11:37:56 ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:37:56 ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose 11:37:56 ++ cd /w/workspace/policy-api-london-project-csit-api/compose 11:37:56 ++ source export-ports.sh 11:37:56 ++ source get-versions.sh 11:37:58 ++ echo 'Collecting logs from docker compose containers...' 11:37:58 Collecting logs from docker compose containers... 11:37:58 ++ docker-compose logs 11:37:59 ++ cat docker_compose.log 11:37:59 Attaching to grafana, policy-api, policy-db-migrator, prometheus, mariadb 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.792245137Z level=info msg="Starting Grafana" version=10.3.3 commit=252761264e22ece57204b327f9130d3b44592c01 branch=HEAD compiled=2024-02-14T11:36:17Z 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.792595311Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.792634152Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.792658032Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.792698763Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.792723733Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.792789534Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.792824494Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.792888965Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.792933596Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.792984296Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.793057227Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.793088198Z level=info msg=Target target=[all] 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.793144708Z level=info msg="Path Home" path=/usr/share/grafana 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.793169969Z level=info msg="Path Data" path=/var/lib/grafana 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.793218319Z level=info msg="Path Logs" path=/var/log/grafana 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.79326482Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.793332731Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 11:37:59 grafana | logger=settings t=2024-02-14T11:36:17.793379971Z level=info msg="App mode production" 11:37:59 grafana | logger=sqlstore t=2024-02-14T11:36:17.793735846Z level=info msg="Connecting to DB" dbtype=sqlite3 11:37:59 grafana | logger=sqlstore t=2024-02-14T11:36:17.793808956Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.794458934Z level=info msg="Starting DB migrations" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.795385607Z level=info msg="Executing migration" id="create migration_log table" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.796254378Z level=info msg="Migration successfully executed" id="create migration_log table" duration=868.701µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.81367953Z level=info msg="Executing migration" id="create user table" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.814971057Z level=info msg="Migration successfully executed" id="create user table" duration=1.291017ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.898022105Z level=info msg="Executing migration" id="add unique index user.login" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.899275402Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.252617ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.904451448Z level=info msg="Executing migration" id="add unique index user.email" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.905870406Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.418438ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.910366163Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.911861332Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.495719ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.917864858Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.918611079Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=745.941µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.921902951Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.926427778Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.523828ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.930305288Z level=info msg="Executing migration" id="create user table v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.931113328Z level=info msg="Migration successfully executed" id="create user table v2" duration=807.76µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.93441622Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.93520405Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=787.22µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.940555988Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.941738053Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.181655ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.956429741Z level=info msg="Executing migration" id="copy data_source v1 to v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.957132639Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=698.598µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.963339529Z level=info msg="Executing migration" id="Drop old table user_v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.964259291Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=919.982µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.985861736Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.987901062Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=2.039136ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.99945456Z level=info msg="Executing migration" id="Update user table charset" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:17.999569861Z level=info msg="Migration successfully executed" id="Update user table charset" duration=92.991µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.003285389Z level=info msg="Executing migration" id="Add last_seen_at column to user" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.00414326Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=857.451µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.007095719Z level=info msg="Executing migration" id="Add missing user data" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.007323992Z level=info msg="Migration successfully executed" id="Add missing user data" duration=224.402µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.012785153Z level=info msg="Executing migration" id="Add is_disabled column to user" 11:37:59 mariadb | 2024-02-14 11:36:13+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:37:59 mariadb | 2024-02-14 11:36:13+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 11:37:59 mariadb | 2024-02-14 11:36:13+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:37:59 mariadb | 2024-02-14 11:36:13+00:00 [Note] [Entrypoint]: Initializing database files 11:37:59 mariadb | 2024-02-14 11:36:13 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:37:59 mariadb | 2024-02-14 11:36:13 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:37:59 mariadb | 2024-02-14 11:36:13 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:37:59 mariadb | 11:37:59 mariadb | 11:37:59 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 11:37:59 mariadb | To do so, start the server, then issue the following command: 11:37:59 mariadb | 11:37:59 mariadb | '/usr/bin/mysql_secure_installation' 11:37:59 mariadb | 11:37:59 mariadb | which will also give you the option of removing the test 11:37:59 mariadb | databases and anonymous user created by default. This is 11:37:59 mariadb | strongly recommended for production servers. 11:37:59 mariadb | 11:37:59 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 11:37:59 mariadb | 11:37:59 mariadb | Please report any problems at https://mariadb.org/jira 11:37:59 mariadb | 11:37:59 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 11:37:59 mariadb | 11:37:59 mariadb | Consider joining MariaDB's strong and vibrant community: 11:37:59 mariadb | https://mariadb.org/get-involved/ 11:37:59 mariadb | 11:37:59 mariadb | 2024-02-14 11:36:15+00:00 [Note] [Entrypoint]: Database files initialized 11:37:59 mariadb | 2024-02-14 11:36:15+00:00 [Note] [Entrypoint]: Starting temporary server 11:37:59 mariadb | 2024-02-14 11:36:15+00:00 [Note] [Entrypoint]: Waiting for server startup 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: Number of transaction pools: 1 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: Completed initialization of buffer pool 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: 128 rollback segments are active. 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: log sequence number 46590; transaction id 14 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Note] Plugin 'FEEDBACK' is disabled. 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 11:37:59 mariadb | 2024-02-14 11:36:15 0 [Note] mariadbd: ready for connections. 11:37:59 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 11:37:59 mariadb | 2024-02-14 11:36:16+00:00 [Note] [Entrypoint]: Temporary server started. 11:37:59 mariadb | 2024-02-14 11:36:18+00:00 [Note] [Entrypoint]: Creating user policy_user 11:37:59 mariadb | 2024-02-14 11:36:18+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 11:37:59 mariadb | 11:37:59 mariadb | 2024-02-14 11:36:18+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 11:37:59 mariadb | 11:37:59 mariadb | 2024-02-14 11:36:18+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 11:37:59 mariadb | #!/bin/bash -xv 11:37:59 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 11:37:59 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 11:37:59 mariadb | # 11:37:59 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 11:37:59 mariadb | # you may not use this file except in compliance with the License. 11:37:59 mariadb | # You may obtain a copy of the License at 11:37:59 mariadb | # 11:37:59 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 11:37:59 mariadb | # 11:37:59 mariadb | # Unless required by applicable law or agreed to in writing, software 11:37:59 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 11:37:59 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11:37:59 mariadb | # See the License for the specific language governing permissions and 11:37:59 mariadb | # limitations under the License. 11:37:59 mariadb | 11:37:59 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:59 mariadb | do 11:37:59 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 11:37:59 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 11:37:59 mariadb | done 11:37:59 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:59 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 11:37:59 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:59 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:59 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 11:37:59 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:59 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:59 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 11:37:59 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:59 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:59 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 11:37:59 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:59 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:59 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 11:37:59 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:59 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:59 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 11:37:59 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:59 mariadb | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.013595984Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=810.551µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.015450867Z level=info msg="Executing migration" id="Add index user.login/user.email" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.016052505Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=601.288µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.019524981Z level=info msg="Executing migration" id="Add is_service_account column to user" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.020588864Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.063403ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.025788642Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.033043616Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=7.254713ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.041658818Z level=info msg="Executing migration" id="create temp user table v1-7" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.042797493Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.136315ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.046645072Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.047903379Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.258587ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.054083129Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.054878039Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=794.64µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.060033077Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.060826577Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=795.971µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.065087832Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.066295298Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.206886ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.07024588Z level=info msg="Executing migration" id="Update temp_user table charset" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.070378101Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=131.801µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.075875433Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.076607532Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=731.809µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.08035391Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.08182735Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.47282ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.085943013Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.087067588Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.124695ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.094562235Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.095277395Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=711.33µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.099245716Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.102917253Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.671317ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.109032234Z level=info msg="Executing migration" id="create temp_user v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.109853734Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=819.92µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.1165316Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.117597935Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.068415ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.123277999Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.123979408Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=700.139µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.127305661Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.128306704Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.000343ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.132302736Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.133304968Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.001882ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.138470366Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.139223305Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=751.929µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.142688741Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.14343048Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=740.949µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.146804884Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.14726437Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=458.736µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.152217034Z level=info msg="Executing migration" id="create star table" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.152921633Z level=info msg="Migration successfully executed" id="create star table" duration=704.169µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.157377092Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.159043233Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.664731ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.163646143Z level=info msg="Executing migration" id="create org table v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.164662636Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.017253ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.169542609Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.170384471Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=839.812µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.175430706Z level=info msg="Executing migration" id="create org_user table v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.176159656Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=728.06µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.181972471Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.183262138Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.289237ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.191438494Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.193207237Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.764953ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.20034674Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.201340983Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=994.123µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.207160739Z level=info msg="Executing migration" id="Update org table charset" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.207200049Z level=info msg="Migration successfully executed" id="Update org table charset" duration=40.49µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.214873858Z level=info msg="Executing migration" id="Update org_user table charset" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.214912789Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=40.241µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.223202856Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.223737804Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=531.068µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.229532649Z level=info msg="Executing migration" id="create dashboard table" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.230539062Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.005853ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.236297907Z level=info msg="Executing migration" id="add index dashboard.account_id" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.237181778Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=883.221µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.243276748Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.244183459Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=903.601µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.254026737Z level=info msg="Executing migration" id="create dashboard_tag table" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.255562907Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.53526ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.263034705Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.264386962Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.351267ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.271836649Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.272993474Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.155484ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.279009782Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.286384188Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.376117ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.291494974Z level=info msg="Executing migration" id="create dashboard v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.292227584Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=732.03µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.297558723Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.299021431Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.462368ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.305564377Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.306417308Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=853.281µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.310974217Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.311383673Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=406.516µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.316711082Z level=info msg="Executing migration" id="drop table dashboard_v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.318053349Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.342037ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.323593661Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.323797683Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=204.772µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.330485271Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.332354425Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.868204ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.340303358Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.343185905Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.880197ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.350007165Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.352822121Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.814486ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.359974594Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.360823395Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=850.091µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.369105712Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.373669492Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=4.56471ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.377640484Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 11:37:59 policy-api | Waiting for mariadb port 3306... 11:37:59 policy-api | mariadb (172.17.0.3:3306) open 11:37:59 policy-api | Waiting for policy-db-migrator port 6824... 11:37:59 policy-api | policy-db-migrator (172.17.0.4:6824) open 11:37:59 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 11:37:59 policy-api | 11:37:59 policy-api | . ____ _ __ _ _ 11:37:59 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 11:37:59 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 11:37:59 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 11:37:59 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 11:37:59 policy-api | =========|_|==============|___/=/_/_/_/ 11:37:59 policy-api | :: Spring Boot :: (v2.7.8) 11:37:59 policy-api | 11:37:59 policy-api | [2024-02-14T11:36:27.723+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) 11:37:59 policy-api | [2024-02-14T11:36:27.727+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 11:37:59 policy-api | [2024-02-14T11:36:29.022+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 11:37:59 policy-api | [2024-02-14T11:36:29.108+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 76 ms. Found 6 JPA repository interfaces. 11:37:59 policy-api | [2024-02-14T11:36:30.104+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 11:37:59 policy-api | [2024-02-14T11:36:30.119+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 11:37:59 policy-api | [2024-02-14T11:36:30.119+00:00|INFO|StandardService|main] Starting service [Tomcat] 11:37:59 policy-api | [2024-02-14T11:36:30.120+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] 11:37:59 policy-api | [2024-02-14T11:36:30.193+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 11:37:59 policy-api | [2024-02-14T11:36:30.193+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2390 ms 11:37:59 policy-api | [2024-02-14T11:36:30.696+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 11:37:59 policy-api | [2024-02-14T11:36:30.760+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final 11:37:59 policy-api | [2024-02-14T11:36:30.950+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 11:37:59 policy-api | [2024-02-14T11:36:31.081+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 11:37:59 policy-api | [2024-02-14T11:36:31.184+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 11:37:59 policy-api | [2024-02-14T11:36:31.206+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect 11:37:59 policy-api | [2024-02-14T11:36:32.593+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 11:37:59 policy-api | [2024-02-14T11:36:32.607+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 11:37:59 policy-api | [2024-02-14T11:36:33.817+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 11:37:59 policy-api | [2024-02-14T11:36:35.263+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 11:37:59 policy-api | [2024-02-14T11:36:36.223+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@72bf63a, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2162b22d, org.springframework.security.web.context.SecurityContextPersistenceFilter@5434de8, org.springframework.security.web.header.HeaderWriterFilter@2411cf8b, org.springframework.security.web.authentication.logout.LogoutFilter@a6e0e5f, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4644b1c6, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2a2d0cff, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5f58ac11, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6a4ec62d, org.springframework.security.web.session.SessionManagementFilter@22816de1, org.springframework.security.web.access.ExceptionTranslationFilter@4fddd42b, org.springframework.security.web.access.intercept.AuthorizationFilter@3d1ecf3b] 11:37:59 policy-api | [2024-02-14T11:36:36.348+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 11:37:59 policy-api | [2024-02-14T11:36:39.285+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 11:37:59 policy-api | [2024-02-14T11:36:39.313+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 11:37:59 policy-api | [2024-02-14T11:36:39.341+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 11:37:59 policy-api | [2024-02-14T11:36:39.357+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.467 seconds (JVM running for 13.057) 11:37:59 policy-api | [2024-02-14T11:36:39.946+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' 11:37:59 policy-api | [2024-02-14T11:36:39.946+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Initializing Servlet 'dispatcherServlet' 11:37:59 policy-api | [2024-02-14T11:36:39.948+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Completed initialization in 2 ms 11:37:59 policy-api | [2024-02-14T11:36:48.617+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-8] ***** OrderedServiceImpl implementers: 11:37:59 policy-api | [] 11:37:59 policy-api | [2024-02-14T11:36:48.722+00:00|WARN|CommonRestController|http-nio-6969-exec-8] POST /policytypes 11:37:59 policy-api | [2024-02-14T11:36:48.979+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policytypes 11:37:59 policy-api | [2024-02-14T11:36:50.054+00:00|WARN|CommonRestController|http-nio-6969-exec-3] POST /policies 11:37:59 policy-api | [2024-02-14T11:36:51.888+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 11:37:59 policy-api | [2024-02-14T11:36:52.258+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policies/onap.restart.tca/versions/1.0.0 11:37:59 policy-api | [2024-02-14T11:36:52.495+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 11:37:59 policy-api | [2024-02-14T11:36:52.723+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 11:37:59 policy-api | [2024-02-14T11:36:52.927+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 11:37:59 policy-api | [2024-02-14T11:36:53.137+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 11:37:59 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 11:37:59 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 11:37:59 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 11:37:59 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 11:37:59 mariadb | 11:37:59 mariadb | 2024-02-14 11:36:18+00:00 [Note] [Entrypoint]: Stopping temporary server 11:37:59 mariadb | 2024-02-14 11:36:18 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 11:37:59 mariadb | 2024-02-14 11:36:18 0 [Note] InnoDB: FTS optimize thread exiting. 11:37:59 mariadb | 2024-02-14 11:36:18 0 [Note] InnoDB: Starting shutdown... 11:37:59 mariadb | 2024-02-14 11:36:18 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 11:37:59 mariadb | 2024-02-14 11:36:18 0 [Note] InnoDB: Buffer pool(s) dump completed at 240214 11:36:18 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Shutdown completed; log sequence number 340197; transaction id 298 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] mariadbd: Shutdown complete 11:37:59 mariadb | 11:37:59 mariadb | 2024-02-14 11:36:19+00:00 [Note] [Entrypoint]: Temporary server stopped 11:37:59 mariadb | 11:37:59 mariadb | 2024-02-14 11:36:19+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 11:37:59 mariadb | 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Number of transaction pools: 1 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Completed initialization of buffer pool 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: 128 rollback segments are active. 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: log sequence number 340197; transaction id 299 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] Plugin 'FEEDBACK' is disabled. 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] Server socket created on IP: '0.0.0.0'. 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] Server socket created on IP: '::'. 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] mariadbd: ready for connections. 11:37:59 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 11:37:59 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Buffer pool(s) load completed at 240214 11:36:19 11:37:59 mariadb | 2024-02-14 11:36:20 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 11:37:59 mariadb | 2024-02-14 11:36:20 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) 11:37:59 prometheus | ts=2024-02-14T11:36:16.584Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d 11:37:59 prometheus | ts=2024-02-14T11:36:16.584Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" 11:37:59 prometheus | ts=2024-02-14T11:36:16.584Z caller=main.go:593 level=info build_context="(go=go1.21.6, platform=linux/amd64, user=root@6d5f4c649d25, date=20240115-16:58:43, tags=netgo,builtinassets,stringlabels)" 11:37:59 prometheus | ts=2024-02-14T11:36:16.585Z caller=main.go:594 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" 11:37:59 prometheus | ts=2024-02-14T11:36:16.585Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" 11:37:59 prometheus | ts=2024-02-14T11:36:16.585Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" 11:37:59 prometheus | ts=2024-02-14T11:36:16.586Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 11:37:59 prometheus | ts=2024-02-14T11:36:16.587Z caller=main.go:1039 level=info msg="Starting TSDB ..." 11:37:59 prometheus | ts=2024-02-14T11:36:16.588Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 11:37:59 prometheus | ts=2024-02-14T11:36:16.588Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 11:37:59 prometheus | ts=2024-02-14T11:36:16.596Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 11:37:59 prometheus | ts=2024-02-14T11:36:16.596Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.59µs 11:37:59 prometheus | ts=2024-02-14T11:36:16.596Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" 11:37:59 prometheus | ts=2024-02-14T11:36:16.596Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 11:37:59 prometheus | ts=2024-02-14T11:36:16.596Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=27.96µs wal_replay_duration=475.148µs wbl_replay_duration=180ns total_replay_duration=588.74µs 11:37:59 prometheus | ts=2024-02-14T11:36:16.598Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC 11:37:59 prometheus | ts=2024-02-14T11:36:16.598Z caller=main.go:1063 level=info msg="TSDB started" 11:37:59 prometheus | ts=2024-02-14T11:36:16.598Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 11:37:59 prometheus | ts=2024-02-14T11:36:16.601Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=2.48054ms db_storage=1.17µs remote_storage=1.56µs web_handler=870ns query_engine=1.07µs scrape=212.314µs scrape_sd=109.321µs notify=33.691µs notify_sd=10.84µs rules=1.54µs tracing=4.1µs 11:37:59 prometheus | ts=2024-02-14T11:36:16.621Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." 11:37:59 prometheus | ts=2024-02-14T11:36:16.621Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.378718547Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.075473ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.386470958Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.387609793Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.138795ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.39356306Z level=info msg="Executing migration" id="Update dashboard table charset" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.39358587Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=23.27µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.400513901Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.400538151Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=25.6µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.408017778Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.412166652Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=4.147774ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.421177089Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.423507139Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.3291ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.430421659Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.433125274Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.703615ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.445630157Z level=info msg="Executing migration" id="Add column uid in dashboard" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.452651208Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=7.019861ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.459830671Z level=info msg="Executing migration" id="Update uid column values in dashboard" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.460321328Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=491.407µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.467744644Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.468628246Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=883.112µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.476964614Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.478544535Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.579721ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.482655278Z level=info msg="Executing migration" id="Update dashboard title length" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.482676678Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=22.21µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.489541237Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.490373558Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=830.801µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.503708762Z level=info msg="Executing migration" id="create dashboard_provisioning" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.505193981Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.484109ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.510776723Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.517821435Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.044232ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.525850159Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.526514338Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=663.539µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.533033282Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.533839013Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=804.721µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.539342364Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.540235246Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=895.942µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.545279591Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.545649826Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=369.605µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.554289769Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.554902017Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=611.268µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.560415208Z level=info msg="Executing migration" id="Add check_sum column" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.562409414Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=1.994046ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.566395756Z level=info msg="Executing migration" id="Add index for dashboard_title" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.567819984Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.424008ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.576874042Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.577149976Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=274.854µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.582426325Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.582818839Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=391.205µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.5882502Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.589712759Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.461879ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.598143988Z level=info msg="Executing migration" id="Add isPublic for dashboard" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.600291116Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.146328ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.608915948Z level=info msg="Executing migration" id="create data_source table" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.610421388Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.50202ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.61521132Z level=info msg="Executing migration" id="add index data_source.account_id" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.616018761Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=807.191µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.623198834Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.624666583Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.466329ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.633998044Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.635157949Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.159725ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.640335436Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.641564773Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.229157ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.648735665Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.659952351Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=11.217516ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.665144369Z level=info msg="Executing migration" id="create data_source table v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.66600222Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=856.071µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.672745738Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.674159746Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.413818ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.682371372Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.683862702Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.48931ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.690295436Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.690932654Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=635.948µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.694844055Z level=info msg="Executing migration" id="Add column with_credentials" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.697208176Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.363361ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.707231576Z level=info msg="Executing migration" id="Add secure json data column" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.710110793Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.876677ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.716387654Z level=info msg="Executing migration" id="Update data_source table charset" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.716425095Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=38.931µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.721063825Z level=info msg="Executing migration" id="Update initial version to 1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.721304588Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=240.413µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.724619071Z level=info msg="Executing migration" id="Add read_only data column" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.728601744Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.980533ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.736916972Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.737154385Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=236.713µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.739602387Z level=info msg="Executing migration" id="Update json_data with nulls" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.73985492Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=251.763µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.747844374Z level=info msg="Executing migration" id="Add uid column" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.752160689Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.264845ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.758388Z level=info msg="Executing migration" id="Update uid value" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.758645944Z level=info msg="Migration successfully executed" id="Update uid value" duration=257.254µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.765785996Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.767475579Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.689383ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.778395171Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.779707947Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.312136ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.784414019Z level=info msg="Executing migration" id="create api_key table" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.785600144Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.185045ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.791149106Z level=info msg="Executing migration" id="add index api_key.account_id" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.791936496Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=785.73µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.797273815Z level=info msg="Executing migration" id="add index api_key.key" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.798613743Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.341318ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.8030237Z level=info msg="Executing migration" id="add index api_key.account_id_name" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.804133285Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.110525ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.810831342Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.811532171Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=700.838µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.815452112Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.817336866Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.884264ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.822116248Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.823369895Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.252397ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.829654897Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.839736337Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.082831ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.844475649Z level=info msg="Executing migration" id="create api_key table v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.844922904Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=446.995µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.850341415Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.851082065Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=740.32µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.85917795Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.860370956Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.192006ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.865947988Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.867183424Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.231446ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.873316493Z level=info msg="Executing migration" id="copy api_key v1 to v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.873871621Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=554.828µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.877388987Z level=info msg="Executing migration" id="Drop old table api_key_v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.878226837Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=837.51µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.881722322Z level=info msg="Executing migration" id="Update api_key table charset" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.881744053Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=22.421µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.887994815Z level=info msg="Executing migration" id="Add expires to api_key table" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.891687782Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.692327ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.894932754Z level=info msg="Executing migration" id="Add service account foreign key" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.898183646Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.251242ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.901233076Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.901387798Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=154.592µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.907132504Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.911003213Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.8702ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.914413658Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.917031952Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.620405ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.920465856Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.921152706Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=685.55µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.926982051Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.927480418Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=498.257µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.930689829Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.931398608Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=708.849µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.93463643Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.935861407Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.224956ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.942577823Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.943910211Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.331808ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.947224884Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.94851461Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.288986ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.951822193Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.951923115Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=103.492µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.955091567Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.955124537Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=34.811µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.959631915Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.963325634Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.691899ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.967638269Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.970747829Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.1105ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.973949081Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.974009412Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=60.911µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.978253057Z level=info msg="Executing migration" id="create quota table v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.978878825Z level=info msg="Migration successfully executed" id="create quota table v1" duration=625.798µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.981994765Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.982776546Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=781.231µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.9861678Z level=info msg="Executing migration" id="Update quota table charset" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.98618946Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=22.59µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.989301811Z level=info msg="Executing migration" id="create plugin_setting table" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.989959639Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=657.538µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.994477798Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.995855066Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.376328ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:18.99929272Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.003826459Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.532799ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.00779235Z level=info msg="Executing migration" id="Update plugin_setting table charset" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.007814571Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=24.351µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.013271982Z level=info msg="Executing migration" id="create session table" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.014431637Z level=info msg="Migration successfully executed" id="create session table" duration=1.159205ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.018114005Z level=info msg="Executing migration" id="Drop old table playlist table" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.018242877Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=128.961µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.021943315Z level=info msg="Executing migration" id="Drop old table playlist_item table" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.022019266Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=76.441µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.026657016Z level=info msg="Executing migration" id="create playlist table v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.027283004Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=625.588µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.031190955Z level=info msg="Executing migration" id="create playlist item table v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.03233438Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.140974ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.036435183Z level=info msg="Executing migration" id="Update playlist table charset" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.036475834Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=41.971µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.040308023Z level=info msg="Executing migration" id="Update playlist_item table charset" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.040331834Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=24.821µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.045121526Z level=info msg="Executing migration" id="Add playlist column created_at" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.048169946Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.04767ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.05161914Z level=info msg="Executing migration" id="Add playlist column updated_at" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.054607459Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.988119ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.058355158Z level=info msg="Executing migration" id="drop preferences table v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.05847712Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=121.342µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.062902727Z level=info msg="Executing migration" id="drop preferences table v3" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.063033948Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=129.361µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.068577621Z level=info msg="Executing migration" id="create preferences table v3" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.069958719Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.378778ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.085592312Z level=info msg="Executing migration" id="Update preferences table charset" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.085633382Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=41.7µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.097547497Z level=info msg="Executing migration" id="Add column team_id in preferences" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.102014815Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.467148ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.124566458Z level=info msg="Executing migration" id="Update team_id column values in preferences" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.124797171Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=231.513µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.142495632Z level=info msg="Executing migration" id="Add column week_start in preferences" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.146733846Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.234784ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.162569132Z level=info msg="Executing migration" id="Add column preferences.json_data" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.166374551Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.793439ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.177719479Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.177785569Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=66.42µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.186580424Z level=info msg="Executing migration" id="Add preferences index org_id" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.188008813Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.427919ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.199735405Z level=info msg="Executing migration" id="Add preferences index user_id" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.201236975Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.50199ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.23243579Z level=info msg="Executing migration" id="create alert table v1" 11:37:59 policy-db-migrator | Waiting for mariadb port 3306... 11:37:59 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:37:59 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:37:59 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:37:59 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:37:59 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:37:59 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:37:59 policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! 11:37:59 policy-db-migrator | 314 blocks 11:37:59 policy-db-migrator | Preparing upgrade release version: 0800 11:37:59 policy-db-migrator | Preparing upgrade release version: 0900 11:37:59 policy-db-migrator | Preparing upgrade release version: 1000 11:37:59 policy-db-migrator | Preparing upgrade release version: 1100 11:37:59 policy-db-migrator | Preparing upgrade release version: 1200 11:37:59 policy-db-migrator | Done 11:37:59 policy-db-migrator | name version 11:37:59 policy-db-migrator | policyadmin 0 11:37:59 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 11:37:59 policy-db-migrator | upgrade: 0 -> 1200 11:37:59 policy-db-migrator | 11:37:59 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | 11:37:59 policy-db-migrator | 11:37:59 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.234236343Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.829603ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.239613603Z level=info msg="Executing migration" id="add index alert org_id & id " 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.241758091Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=2.142808ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.246732396Z level=info msg="Executing migration" id="add index alert state" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.247729488Z level=info msg="Migration successfully executed" id="add index alert state" duration=997.172µs 11:37:59 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.254237373Z level=info msg="Executing migration" id="add index alert dashboard_id" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.255402028Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.162975ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.259976127Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.260689637Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=713.65µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.265424958Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.266365521Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=939.703µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.270343602Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 11:37:59 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.271279265Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=935.003µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.275327797Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.289323889Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.995792ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.292123105Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.292583461Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=460.326µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.296460991Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" 11:37:59 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.297181031Z 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=719.3µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.300646046Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.30094178Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=296.024µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.304257163Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.30483999Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=582.117µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.309151386Z level=info msg="Executing migration" id="create alert_notification table v1" 11:37:59 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.309852855Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=701.039µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.313622155Z level=info msg="Executing migration" id="Add column is_default" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.317374783Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.752398ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.321179252Z level=info msg="Executing migration" id="Add column frequency" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.3255755Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.392998ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.330637066Z level=info msg="Executing migration" id="Add column send_reminder" 11:37:59 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.334442265Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.803629ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.388281394Z level=info msg="Executing migration" id="Add column disable_resolve_message" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.396178667Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=7.896753ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.400583285Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.401352364Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=770.259µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.407568535Z level=info msg="Executing migration" id="Update alert table charset" 11:37:59 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.407611186Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=44.421µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.413700205Z level=info msg="Executing migration" id="Update alert_notification table charset" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.413743985Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=45.351µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.417839079Z level=info msg="Executing migration" id="create notification_journal table v1" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.419064104Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.221435ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.423935188Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 11:37:59 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.42486756Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=931.322µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.431416205Z level=info msg="Executing migration" id="drop alert_notification_journal" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.432649691Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.232436ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.437762538Z level=info msg="Executing migration" id="create alert_notification_state table v1" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.438530527Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=769.049µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.445491248Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 11:37:59 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.44642986Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=937.952µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.451074141Z level=info msg="Executing migration" id="Add for to alert table" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.454627987Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.554036ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.461673598Z level=info msg="Executing migration" id="Add column uid in alert_notification" 11:37:59 policy-db-migrator | 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.465332936Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.658998ms 11:37:59 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.471252223Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.471455225Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=202.352µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.47644515Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.4779882Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.54281ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.486042025Z level=info msg="Executing migration" id="Remove unique index org_id_name" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.486929756Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=887.701µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.492556089Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 11:37:59 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.499087744Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=6.530255ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.50336394Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.503448741Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=85.902µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.507612705Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.508578647Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=964.662µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.514304612Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 11:37:59 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.516228127Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.923595ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.52184641Z level=info msg="Executing migration" id="Drop old annotation table v4" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.521949341Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=102.821µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.527905489Z level=info msg="Executing migration" id="create annotation table v5" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.529410489Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.50089ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.534724018Z level=info msg="Executing migration" id="add index annotation 0 v3" 11:37:59 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.53571966Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=995.622µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.540399771Z level=info msg="Executing migration" id="add index annotation 1 v3" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.541419394Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.018973ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.545342095Z level=info msg="Executing migration" id="add index annotation 2 v3" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.546375699Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.033264ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.553342339Z level=info msg="Executing migration" id="add index annotation 3 v3" 11:37:59 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.555542538Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=2.204189ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.564020318Z level=info msg="Executing migration" id="add index annotation 4 v3" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.565024391Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=999.993µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.572955274Z level=info msg="Executing migration" id="Update annotation table charset" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.573007005Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=53.5µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.577565534Z level=info msg="Executing migration" id="Add column region_id to annotation table" 11:37:59 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.584757047Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=7.188423ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.588714059Z level=info msg="Executing migration" id="Drop category_id index" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.589380937Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=667.268µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.592618589Z level=info msg="Executing migration" id="Add column tags to annotation table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.595464216Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=2.845497ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.600010516Z level=info msg="Executing migration" id="Create annotation_tag table v2" 11:37:59 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.600719555Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=708.629µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.604014057Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.6049565Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=942.663µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.60958068Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.610436341Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=856.791µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.615142982Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 11:37:59 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.633140326Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=17.996804ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.6365527Z level=info msg="Executing migration" id="Create annotation_tag table v3" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.637054907Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=504.387µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.63958108Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.640197918Z 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=615.798µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.644238071Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 11:37:59 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.644512074Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=273.893µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.648327273Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.650242608Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=1.893515ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.654375212Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.654724626Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=345.334µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.658295603Z level=info msg="Executing migration" id="Add created time to annotation table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.663431979Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=5.137366ms 11:37:59 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.667811066Z level=info msg="Executing migration" id="Add updated time to annotation table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.671938211Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.126985ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.675022131Z level=info msg="Executing migration" id="Add index for created in annotation table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.675893962Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=873.851µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.679292506Z level=info msg="Executing migration" id="Add index for updated in annotation table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.680134936Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=841.89µs 11:37:59 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.684534374Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.684953449Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=400.275µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.688514925Z level=info msg="Executing migration" id="Add epoch_end column" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.694180919Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.666804ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.697573534Z level=info msg="Executing migration" id="Add index for epoch_end" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.698439944Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=865.99µs 11:37:59 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.702550757Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.702718241Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=167.704µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.706060144Z level=info msg="Executing migration" id="Move region to single row" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.706438739Z level=info msg="Migration successfully executed" id="Move region to single row" duration=378.445µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.709681931Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.710867676Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.184164ms 11:37:59 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.715738829Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.717032126Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.292987ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.720214018Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.721106509Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=892.101µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.72427446Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.725154752Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=879.532µs 11:37:59 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.729474248Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.730285368Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=810.92µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.733647892Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.734480103Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=831.311µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.737798076Z level=info msg="Executing migration" id="Increase tags column to length 4096" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.737861327Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=63.501µs 11:37:59 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.742640239Z level=info msg="Executing migration" id="create test_data table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.743374228Z level=info msg="Migration successfully executed" id="create test_data table" duration=733.549µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.746699511Z level=info msg="Executing migration" id="create dashboard_version table v1" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.747906368Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.206477ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.752944832Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.753785594Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=840.552µs 11:37:59 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.758470474Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.760135466Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.662792ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.763967726Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.764254349Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=286.804µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.767512192Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.76813364Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=619.888µs 11:37:59 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.771149469Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.771260641Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=111.392µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.776450608Z level=info msg="Executing migration" id="create team table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.777261538Z level=info msg="Migration successfully executed" id="create team table" duration=807.81µs 11:37:59 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.780665062Z level=info msg="Executing migration" id="add index team.org_id" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.782287124Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.621962ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.785922621Z level=info msg="Executing migration" id="add unique index team_org_id_name" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.786892044Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=969.463µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.792457497Z level=info msg="Executing migration" id="Add column uid in team" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.79892681Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=6.466634ms 11:37:59 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.802420475Z level=info msg="Executing migration" id="Update uid column values in team" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.802603718Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=182.613µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.805412584Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.806147633Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=733.869µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.811918369Z level=info msg="Executing migration" id="create team member table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.814125407Z level=info msg="Migration successfully executed" id="create team member table" duration=2.196438ms 11:37:59 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.818204261Z level=info msg="Executing migration" id="add index team_member.org_id" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.819396906Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.193735ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.822556297Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.82355291Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=995.493µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.828136749Z level=info msg="Executing migration" id="add index team_member.team_id" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.829103423Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=966.754µs 11:37:59 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.832706889Z level=info msg="Executing migration" id="Add column email to team table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.83740732Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.700421ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.841427632Z level=info msg="Executing migration" id="Add column external to team_member table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.845890111Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.461879ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.850939925Z level=info msg="Executing migration" id="Add column permission to team_member table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.855662917Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.725632ms 11:37:59 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.859457856Z level=info msg="Executing migration" id="create dashboard acl table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.860406729Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=948.523µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.864111047Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.865150191Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.039014ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.869913042Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.871022417Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.108625ms 11:37:59 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.874665674Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.876281855Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.614251ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.88278221Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.883830143Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.005993ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.888104659Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.88974155Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.636831ms 11:37:59 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.893478599Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.894429751Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=951.542µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.897786604Z level=info msg="Executing migration" id="add index dashboard_permission" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.898778608Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=991.484µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.903202845Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.903745602Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=541.957µs 11:37:59 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.909556137Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.910027884Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=471.307µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.913791723Z level=info msg="Executing migration" id="create tag table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.915030218Z level=info msg="Migration successfully executed" id="create tag table" duration=1.237475ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.91893981Z level=info msg="Executing migration" id="add index tag.key_value" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.919914772Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=974.422µs 11:37:59 policy-db-migrator | > upgrade 0450-pdpgroup.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.923558949Z level=info msg="Executing migration" id="create login attempt table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.9243023Z level=info msg="Migration successfully executed" id="create login attempt table" duration=742.73µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.928894289Z level=info msg="Executing migration" id="add index login_attempt.username" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.929873162Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=979.054µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.934035305Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.935070659Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.033944ms 11:37:59 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.93979642Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.960022973Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=20.230413ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.964708274Z level=info msg="Executing migration" id="create login_attempt v2" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.965320582Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=612.608µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.969204163Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.970036203Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=830.52µs 11:37:59 policy-db-migrator | > upgrade 0470-pdp.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.974279778Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.974822066Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=541.128µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.980115225Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.980971656Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=854.341µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.989457956Z level=info msg="Executing migration" id="create user auth table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.990709592Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.252386ms 11:37:59 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.994640683Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:19.995640406Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=999.803µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.000120485Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.000186865Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=66.91µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.003751331Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.008937239Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.185298ms 11:37:59 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.013404756Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.018484433Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.078297ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.0228721Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.027984317Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.111087ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.031571173Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.037046594Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.476821ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.040942694Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.042194711Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.251077ms 11:37:59 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.047031163Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.053754351Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=6.716758ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.057309417Z level=info msg="Executing migration" id="create server_lock table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.057937815Z level=info msg="Migration successfully executed" id="create server_lock table" duration=628.078µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.061402711Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.06213548Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=732.719µs 11:37:59 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.066733779Z level=info msg="Executing migration" id="create user auth token table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.067641962Z level=info msg="Migration successfully executed" id="create user auth token table" duration=907.893µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.071954927Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.07365301Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.694673ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.079387764Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.080557309Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.170155ms 11:37:59 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.085769557Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.086852441Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.079794ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.090879893Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.096256803Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.37653ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.09986507Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.100915424Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.050204ms 11:37:59 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.105419692Z level=info msg="Executing migration" id="create cache_data table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.106492937Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.071205ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.110362297Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.111961658Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.598971ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.116384035Z level=info msg="Executing migration" id="create short_url table v1" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.117284087Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=898.672µs 11:37:59 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.121732994Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.123307395Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.575281ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.127177425Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.127381358Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=203.243µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.131305169Z level=info msg="Executing migration" id="delete alert_definition table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.131425891Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=120.382µs 11:37:59 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.135022647Z level=info msg="Executing migration" id="recreate alert_definition table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.135880488Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=856.821µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.14062724Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.1422388Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.61133ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.146104361Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.147391767Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.286606ms 11:37:59 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.151304629Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.151433741Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=128.391µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.156129801Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.157109024Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=978.743µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.160607059Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.161718113Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.110504ms 11:37:59 policy-db-migrator | > upgrade 0570-toscadatatype.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.165789807Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.166700718Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=910.321µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.171955337Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.172912129Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=956.752µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.176568457Z level=info msg="Executing migration" id="Add column paused in alert_definition" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.182050698Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.479681ms 11:37:59 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.186633727Z level=info msg="Executing migration" id="drop alert_definition table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.18756447Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=930.233µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.19145781Z level=info msg="Executing migration" id="delete alert_definition_version table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.191543721Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=85.421µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.195428461Z level=info msg="Executing migration" id="recreate alert_definition_version table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.19683801Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.409019ms 11:37:59 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.202269541Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.203364075Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.094044ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.207334557Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.208434871Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.096084ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.212423562Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.212690217Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=266.395µs 11:37:59 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.218042935Z level=info msg="Executing migration" id="drop alert_definition_version table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.21914471Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.101155ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.223157702Z level=info msg="Executing migration" id="create alert_instance table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.224637402Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.478049ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.231888405Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 11:37:59 policy-db-migrator | 11:37:59 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.233956732Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=2.067477ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.239375503Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.241065345Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.689702ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.245056277Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.250807591Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.750574ms 11:37:59 policy-db-migrator | 11:37:59 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.254418438Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.255397881Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=978.943µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.26065744Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.262443962Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.786952ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.266519186Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.304114854Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=37.596908ms 11:37:59 policy-db-migrator | > upgrade 0630-toscanodetype.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.307281825Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.348919246Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=41.634621ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.356008949Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.357338835Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.327256ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.363754538Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.364816533Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.062455ms 11:37:59 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.370088551Z level=info msg="Executing migration" id="add current_reason column related to current_state" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.378765064Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=8.678153ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.383993592Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.389733667Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.740345ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.392787726Z level=info msg="Executing migration" id="create alert_rule table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.393746988Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=958.822µs 11:37:59 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.403194702Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.404786552Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.59249ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.411040173Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.412829457Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.789463ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.416535654Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.417775851Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.239957ms 11:37:59 policy-db-migrator | > upgrade 0660-toscaparameter.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.421242016Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.421357077Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=114.341µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.426541395Z level=info msg="Executing migration" id="add column for to alert_rule" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.432750675Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.20946ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.436488914Z level=info msg="Executing migration" id="add column annotations to alert_rule" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.442485682Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.993379ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.446321122Z level=info msg="Executing migration" id="add column labels to alert_rule" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.452158218Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.836585ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.457613738Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 11:37:59 policy-db-migrator | > upgrade 0670-toscapolicies.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.458580651Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=969.023µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.46163769Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.462685835Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.047624ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.467906722Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.473947511Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.040159ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.479871618Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 11:37:59 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.485855875Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.983067ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.489210769Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.490447875Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.236806ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.494047182Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.50006824Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.020528ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.505612992Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 11:37:59 policy-db-migrator | > upgrade 0690-toscapolicy.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.51162582Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.012378ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.515184267Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.515285688Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=99.011µs 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.518417989Z level=info msg="Executing migration" id="create alert_rule_version table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.519443752Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.025493ms 11:37:59 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.525256277Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.527296354Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=2.037457ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.531712771Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.532905337Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.193156ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.536321321Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.536423662Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=101.831µs 11:37:59 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.541871703Z level=info msg="Executing migration" id="add column for to alert_rule_version" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.55086813Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.997737ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.55466334Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.559550123Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.885822ms 11:37:59 policy-db-migrator | 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.563031919Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 11:37:59 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.569144838Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.11222ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.57549251Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.58166053Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.16493ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.585008993Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.591105183Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.09558ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.595388878Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 11:37:59 policy-db-migrator | > upgrade 0730-toscaproperty.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.595469489Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=80.951µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.599030815Z level=info msg="Executing migration" id=create_alert_configuration_table 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.599796266Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=765.141µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.605256097Z level=info msg="Executing migration" id="Add column default in alert_configuration" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.613638226Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.382469ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.616956319Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 11:37:59 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.61705622Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=99.121µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.619615813Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.625985796Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.368323ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.633552025Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.634647998Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.098213ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.637987942Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 11:37:59 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.647675458Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=9.687846ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.651915873Z level=info msg="Executing migration" id=create_ngalert_configuration_table 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.652881806Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=964.913µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.659823166Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.661032522Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.208886ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.664953812Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 11:37:59 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.674154552Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.20144ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.678096793Z level=info msg="Executing migration" id="create provenance_type table" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.678796932Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=699.319µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.688715481Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.689797405Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.080914ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.697511946Z level=info msg="Executing migration" id="create alert_image table" 11:37:59 policy-db-migrator | > upgrade 0770-toscarequirement.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.698756762Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.243875ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.703356252Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.704970342Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.61358ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.70862887Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.708845233Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=215.713µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.715900694Z level=info msg="Executing migration" id=create_alert_configuration_history_table 11:37:59 policy-db-migrator | > upgrade 0780-toscarequirements.sql 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.71783775Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.954306ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.722006273Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.723441602Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.435459ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.730994181Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.731635659Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 11:37:59 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.739318789Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.74016672Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=847.101µs 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.743997269Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.745045213Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.047754ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.748404807Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.755575239Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.169822ms 11:37:59 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.758967704Z level=info msg="Executing migration" id="create library_element table v1" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.760105889Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.137895ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.763909338Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.765465858Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.55443ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.771892732Z level=info msg="Executing migration" id="create library_element_connection table v1" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.772871585Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=978.413µs 11:37:59 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.775871434Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.776945508Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.073483ms 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.780481903Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.781803751Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.321018ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.785344567Z level=info msg="Executing migration" id="increase max description length to 2048" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.785369587Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=25.78µs 11:37:59 policy-db-migrator | > upgrade 0820-toscatrigger.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.788358096Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.788464287Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=101.161µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.79101985Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.791385195Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=365.405µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.795749622Z level=info msg="Executing migration" id="create data_keys table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.797430853Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.683381ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.802198216Z level=info msg="Executing migration" id="create secrets table" 11:37:59 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.803015736Z level=info msg="Migration successfully executed" id="create secrets table" duration=816.79µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.807683867Z level=info msg="Executing migration" id="rename data_keys name column to id" 11:37:59 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.852954255Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=45.260188ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.856706323Z level=info msg="Executing migration" id="add name column into data_keys" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.861773039Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.066586ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.868028081Z level=info msg="Executing migration" id="copy data_keys id column values into name" 11:37:59 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.868271125Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=242.473µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.872276726Z level=info msg="Executing migration" id="rename data_keys name column to label" 11:37:59 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.924037688Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=51.751542ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.92954589Z level=info msg="Executing migration" id="rename data_keys id column back to name" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.983792035Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=54.230975ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.989843184Z level=info msg="Executing migration" id="create kv_store table v1" 11:37:59 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.991001998Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.158774ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.994884449Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 11:37:59 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:20.996337448Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.439109ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.000069687Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.000394851Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=324.144µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.005436087Z level=info msg="Executing migration" id="create permission table" 11:37:59 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.006593071Z level=info msg="Migration successfully executed" id="create permission table" duration=1.154054ms 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.012276345Z level=info msg="Executing migration" id="add unique index permission.role_id" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.014216311Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.940956ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.022575969Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 11:37:59 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.023882986Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.306537ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.028425345Z level=info msg="Executing migration" id="create role table" 11:37:59 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.029382577Z level=info msg="Migration successfully executed" id="create role table" duration=956.222µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.03499779Z level=info msg="Executing migration" id="add column display_name" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.043326839Z level=info msg="Migration successfully executed" id="add column display_name" duration=8.328368ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.047249939Z level=info msg="Executing migration" id="add column group_name" 11:37:59 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.055284004Z level=info msg="Migration successfully executed" id="add column group_name" duration=8.032305ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.060745975Z level=info msg="Executing migration" id="add index role.org_id" 11:37:59 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.061824699Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.073674ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.066595321Z level=info msg="Executing migration" id="add unique index role_org_id_name" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.067615574Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.019313ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.074604605Z level=info msg="Executing migration" id="add index role_org_id_uid" 11:37:59 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.076240786Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.635701ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.082444857Z level=info msg="Executing migration" id="create team role table" 11:37:59 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.083359278Z level=info msg="Migration successfully executed" id="create team role table" duration=913.871µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.08804917Z level=info msg="Executing migration" id="add index team_role.org_id" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.090209698Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=2.157918ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.09421765Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 11:37:59 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.09578308Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.56425ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.101815659Z level=info msg="Executing migration" id="add index team_role.team_id" 11:37:59 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.102989573Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.174144ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.109006142Z level=info msg="Executing migration" id="create user role table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.110192557Z level=info msg="Migration successfully executed" id="create user role table" duration=1.187965ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.120703444Z level=info msg="Executing migration" id="add index user_role.org_id" 11:37:59 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.122939513Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=2.235368ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.128610587Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 11:37:59 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.129842063Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.230176ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.133977486Z level=info msg="Executing migration" id="add index user_role.user_id" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.135198832Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.221296ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.140794845Z level=info msg="Executing migration" id="create builtin role table" 11:37:59 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.141753927Z level=info msg="Migration successfully executed" id="create builtin role table" duration=954.902µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.147278139Z level=info msg="Executing migration" id="add index builtin_role.role_id" 11:37:59 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.148465445Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.190126ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.152538188Z level=info msg="Executing migration" id="add index builtin_role.name" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.154653385Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=2.113418ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.159928744Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 11:37:59 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.168989881Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.059627ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.172960443Z level=info msg="Executing migration" id="add index builtin_role.org_id" 11:37:59 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.173894825Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=934.902µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.178405393Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.180762534Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=2.325001ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.186559579Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 11:37:59 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.187929838Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.373729ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.192984304Z level=info msg="Executing migration" id="add unique index role.uid" 11:37:59 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.19427416Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.290096ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.19885128Z level=info msg="Executing migration" id="create seed assignment table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.199719501Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=867.851µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.203163895Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 11:37:59 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.20428466Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.120035ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.207974058Z level=info msg="Executing migration" id="add column hidden to role table" 11:37:59 policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.216331217Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.356499ms 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.220711523Z level=info msg="Executing migration" id="permission kind migration" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.229036881Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.325318ms 11:37:59 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.232297714Z level=info msg="Executing migration" id="permission attribute migration" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.238067879Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.770035ms 11:37:59 policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.243296096Z level=info msg="Executing migration" id="permission identifier migration" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.252041411Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.744525ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.256542389Z level=info msg="Executing migration" id="add permission identifier index" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.257828376Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.283147ms 11:37:59 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.264202239Z level=info msg="Executing migration" id="create query_history table v1" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.265350313Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.157465ms 11:37:59 policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.269602449Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.270608411Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.005542ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.276739341Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.277024016Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=285.634µs 11:37:59 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.281922878Z level=info msg="Executing migration" id="rbac disabled migrator" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.282162071Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=234.603µs 11:37:59 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.286862803Z level=info msg="Executing migration" id="teams permissions migration" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.287825295Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=962.172µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.294656944Z level=info msg="Executing migration" id="dashboard permissions" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.295397154Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=748.19µs 11:37:59 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.300792874Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.301994079Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.200995ms 11:37:59 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.305705248Z level=info msg="Executing migration" id="drop managed folder create actions" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.306129073Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=423.435µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.311431292Z level=info msg="Executing migration" id="alerting notification permissions" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.311826597Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=395.335µs 11:37:59 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.316405547Z level=info msg="Executing migration" id="create query_history_star table v1" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.318096569Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.690001ms 11:37:59 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.326325936Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.327713514Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.387469ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.333887494Z level=info msg="Executing migration" id="add column org_id in query_history_star" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.344199157Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=10.310843ms 11:37:59 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.34824336Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.348346362Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=86.452µs 11:37:59 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.353434338Z level=info msg="Executing migration" id="create correlation table v1" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.354625833Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.188785ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.358715697Z level=info msg="Executing migration" id="add index correlations.uid" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.360660731Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.944384ms 11:37:59 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.366051931Z level=info msg="Executing migration" id="add index correlations.source_uid" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.367379109Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.331758ms 11:37:59 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.37281716Z level=info msg="Executing migration" id="add correlation config column" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.383052412Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.235972ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.3882554Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.389377875Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.122545ms 11:37:59 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.393249735Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.39441863Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.166695ms 11:37:59 policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.401755546Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.435514814Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=33.756028ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.4405604Z level=info msg="Executing migration" id="create correlation v2" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.44136753Z level=info msg="Migration successfully executed" id="create correlation v2" duration=807.48µs 11:37:59 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.446635289Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.447852534Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.217245ms 11:37:59 policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.452372583Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.454371129Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.001836ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.458857757Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.460018533Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.160376ms 11:37:59 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.465015638Z level=info msg="Executing migration" id="copy correlation v1 to v2" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.465383823Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=363.535µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.470072283Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.470920485Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=848.022µs 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.474377589Z level=info msg="Executing migration" id="add provisioning column" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.482506055Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.127776ms 11:37:59 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.488078947Z level=info msg="Executing migration" id="create entity_events table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.488951018Z level=info msg="Migration successfully executed" id="create entity_events table" duration=871.741µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.493061472Z level=info msg="Executing migration" id="create dashboard public config v1" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.494312298Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.248806ms 11:37:59 policy-db-migrator | > upgrade 0100-pdp.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.500906954Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.501824956Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 11:37:59 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.506966523Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.507469459Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.511628313Z level=info msg="Executing migration" id="Drop old dashboard public config table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.51290789Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.278857ms 11:37:59 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.517301217Z level=info msg="Executing migration" id="recreate dashboard public config v1" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.518530463Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.230476ms 11:37:59 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.523534538Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.524742554Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.207987ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.530562779Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.531938288Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.376788ms 11:37:59 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.539366893Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.541321919Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.958116ms 11:37:59 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.54597972Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.547184895Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.205015ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.551338199Z level=info msg="Executing migration" id="Drop public config table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.552221561Z level=info msg="Migration successfully executed" id="Drop public config table" duration=883.082µs 11:37:59 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.557393968Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.558537853Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.143905ms 11:37:59 policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.562402063Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.564312828Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.911075ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.569394024Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.570914893Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.521899ms 11:37:59 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.576375014Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.577662551Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.286997ms 11:37:59 policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.581144546Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.616237923Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=35.088797ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.62221518Z level=info msg="Executing migration" id="add annotations_enabled column" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.62836495Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.15009ms 11:37:59 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.632991921Z level=info msg="Executing migration" id="add time_selection_enabled column" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.64381359Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=10.82198ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.647846713Z level=info msg="Executing migration" id="delete orphaned public dashboards" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.648138687Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=302.844µs 11:37:59 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.652454283Z level=info msg="Executing migration" id="add share column" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.661355899Z level=info msg="Migration successfully executed" id="add share column" duration=8.900996ms 11:37:59 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.667036523Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.667354267Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=317.324µs 11:37:59 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.673574327Z level=info msg="Executing migration" id="create file table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.674636851Z level=info msg="Migration successfully executed" id="create file table" duration=1.061524ms 11:37:59 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.678584923Z level=info msg="Executing migration" id="file table idx: path natural pk" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.680859492Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=2.272939ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.685526882Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.686698068Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.171106ms 11:37:59 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.690251504Z level=info msg="Executing migration" id="create file_meta table" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.69152707Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.275326ms 11:37:59 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.695464142Z level=info msg="Executing migration" id="file table idx: path key" 11:37:59 policy-db-migrator | JOIN pdpstatistics b 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.697457488Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.992806ms 11:37:59 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.705180848Z level=info msg="Executing migration" id="set path collation in file table" 11:37:59 policy-db-migrator | SET a.id = b.id 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.70532674Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=145.362µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.712138509Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.712386302Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=247.363µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.716289352Z level=info msg="Executing migration" id="managed permissions migration" 11:37:59 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.717293226Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.003034ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.721160336Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 11:37:59 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.721614081Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=453.425µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.726193371Z level=info msg="Executing migration" id="RBAC action name migrator" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.727079462Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=885.841µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.730444766Z level=info msg="Executing migration" id="Add UID column to playlist" 11:37:59 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.739443324Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.997858ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.745696935Z level=info msg="Executing migration" id="Update uid column values in playlist" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.745881947Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=184.272µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.749594995Z level=info msg="Executing migration" id="Add index for uid in playlist" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.751664312Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=2.068577ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.758566131Z level=info msg="Executing migration" id="update group index for alert rules" 11:37:59 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.759046128Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=480.797µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.762544554Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 11:37:59 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.762832137Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=287.363µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.768207147Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.769046758Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=839.511µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.77537593Z level=info msg="Executing migration" id="add action column to seed_assignment" 11:37:59 policy-db-migrator | > upgrade 0210-sequence.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.788074855Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.699965ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.791653211Z level=info msg="Executing migration" id="add scope column to seed_assignment" 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.799163639Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.509378ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.802499452Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.803661437Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.161995ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.810468046Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 11:37:59 policy-db-migrator | > upgrade 0220-sequence.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.918544961Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=108.071365ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.922176268Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 11:37:59 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.923196281Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.019663ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.926521774Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.9277314Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.209116ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.933443014Z level=info msg="Executing migration" id="add primary key to seed_assigment" 11:37:59 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.968993076Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=35.550402ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.972476891Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 11:37:59 policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.972706944Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=229.693µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.975275898Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 11:37:59 policy-db-migrator | 11:37:59 policy-db-migrator | 11:37:59 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.975548681Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=272.643µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.979873697Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 11:37:59 policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.980168041Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=293.534µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.984348305Z level=info msg="Executing migration" id="create folder table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.985826955Z level=info msg="Migration successfully executed" id="create folder table" duration=1.47733ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.989590594Z level=info msg="Executing migration" id="Add index for parent_uid" 11:37:59 policy-db-migrator | > upgrade 0120-toscatrigger.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.991511709Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.920496ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.996225979Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 11:37:59 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:21.997477026Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.250657ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.001949764Z level=info msg="Executing migration" id="Update folder title length" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.002096806Z level=info msg="Migration successfully executed" id="Update folder title length" duration=146.472µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.005626282Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 11:37:59 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.007536256Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.909924ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.013580885Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 11:37:59 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.0147044Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.125905ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.019282899Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.021213294Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.930155ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.025370379Z level=info msg="Executing migration" id="Sync dashboard and folder table" 11:37:59 policy-db-migrator | > upgrade 0140-toscaparameter.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.026206939Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=836.05µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.031800982Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 11:37:59 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.032167267Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=365.725µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.035927545Z level=info msg="Executing migration" id="create anon_device table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.037391865Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.46444ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.041478927Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 11:37:59 policy-db-migrator | > upgrade 0150-toscaproperty.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.043619805Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.140478ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.050384224Z level=info msg="Executing migration" id="add index anon_device.updated_at" 11:37:59 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.051602129Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.217515ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.055272316Z level=info msg="Executing migration" id="create signing_key table" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.056710106Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.4399ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.061264894Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 11:37:59 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.062727434Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.46303ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.066839367Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.068061523Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.222306ms 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.071365506Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.07171533Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=350.454µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.07551797Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 11:37:59 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.085020543Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.501173ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.088335646Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.089019785Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=686.189µs 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.092665613Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 11:37:59 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.093589605Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=923.692µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.098309126Z level=info msg="Executing migration" id="create sso_setting table" 11:37:59 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.099440651Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.134165ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.104384105Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.105708562Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.326337ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.109923277Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 11:37:59 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.110513165Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=591.007µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=migrator t=2024-02-14T11:36:22.11406099Z level=info msg="migrations completed" performed=526 skipped=0 duration=4.318704273s 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=sqlstore t=2024-02-14T11:36:22.123781837Z level=info msg="Created default admin" user=admin 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=sqlstore t=2024-02-14T11:36:22.124179012Z level=info msg="Created default organization" 11:37:59 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 11:37:59 grafana | logger=secrets t=2024-02-14T11:36:22.129110557Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=plugin.store t=2024-02-14T11:36:22.147594096Z level=info msg="Loading plugins..." 11:37:59 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:37:59 grafana | logger=local.finder t=2024-02-14T11:36:22.197760148Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=plugin.store t=2024-02-14T11:36:22.197816279Z level=info msg="Plugins loaded" count=55 duration=50.222733ms 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=query_data t=2024-02-14T11:36:22.20022655Z level=info msg="Query Service initialization" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=live.push_http t=2024-02-14T11:36:22.203827197Z level=info msg="Live Push Gateway initialization" 11:37:59 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 11:37:59 grafana | logger=ngalert.migration t=2024-02-14T11:36:22.208856852Z level=info msg=Starting 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=ngalert.migration orgID=1 t=2024-02-14T11:36:22.210560105Z level=info msg="Migrating alerts for organisation" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=ngalert.migration orgID=1 t=2024-02-14T11:36:22.212045393Z level=info msg="Alerts found to migrate" alerts=0 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-02-14T11:36:22.215886674Z level=info msg="Completed legacy migration" 11:37:59 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 11:37:59 grafana | logger=infra.usagestats.collector t=2024-02-14T11:36:22.243142777Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=provisioning.datasources t=2024-02-14T11:36:22.245863913Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 11:37:59 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 11:37:59 grafana | logger=provisioning.alerting t=2024-02-14T11:36:22.259782914Z level=info msg="starting to provision alerting" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=provisioning.alerting t=2024-02-14T11:36:22.259801594Z level=info msg="finished to provision alerting" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=ngalert.state.manager t=2024-02-14T11:36:22.259900175Z level=info msg="Warming state cache for startup" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=grafanaStorageLogger t=2024-02-14T11:36:22.260060817Z level=info msg="Storage starting" 11:37:59 policy-db-migrator | > upgrade 0100-upgrade.sql 11:37:59 grafana | logger=ngalert.state.manager t=2024-02-14T11:36:22.260183719Z level=info msg="State cache has been initialized" states=0 duration=283.084µs 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=ngalert.scheduler t=2024-02-14T11:36:22.260243Z level=info msg="Starting scheduler" tickInterval=10s 11:37:59 policy-db-migrator | select 'upgrade to 1100 completed' as msg 11:37:59 grafana | logger=ticker t=2024-02-14T11:36:22.260289481Z level=info msg=starting first_tick=2024-02-14T11:36:30Z 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=ngalert.multiorg.alertmanager t=2024-02-14T11:36:22.260466183Z level=info msg="Starting MultiOrg Alertmanager" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=http.server t=2024-02-14T11:36:22.262505989Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 11:37:59 policy-db-migrator | msg 11:37:59 grafana | logger=grafana-apiserver t=2024-02-14T11:36:22.265362486Z level=info msg="Authentication is disabled" 11:37:59 policy-db-migrator | upgrade to 1100 completed 11:37:59 grafana | logger=grafana-apiserver t=2024-02-14T11:36:22.269581662Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=plugins.update.checker t=2024-02-14T11:36:22.365047752Z level=info msg="Update check succeeded" duration=104.793812ms 11:37:59 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 11:37:59 grafana | logger=grafana.update.checker t=2024-02-14T11:36:22.408802711Z level=info msg="Update check succeeded" duration=147.082292ms 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=sqlstore.transactions t=2024-02-14T11:36:22.414464494Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 11:37:59 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 11:37:59 grafana | logger=sqlstore.transactions t=2024-02-14T11:36:22.426062495Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=sqlstore.transactions t=2024-02-14T11:36:22.436745883Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=sqlstore.transactions t=2024-02-14T11:36:22.447443882Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=3 code="database is locked" 11:37:59 policy-db-migrator | 11:37:59 grafana | logger=sqlstore.transactions t=2024-02-14T11:36:22.466689912Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=4 code="database is locked" 11:37:59 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:37:59 grafana | logger=plugin.signature.key_retriever t=2024-02-14T11:36:22.486613131Z level=error msg="Error downloading plugin manifest keys" error="kv set: database is locked" 11:37:59 policy-db-migrator | -------------- 11:37:59 grafana | logger=infra.usagestats t=2024-02-14T11:37:24.272018621Z level=info msg="Usage stats are ready to report" 11:37:59 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | 11:37:59 policy-db-migrator | 11:37:59 policy-db-migrator | > upgrade 0120-audit_sequence.sql 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | 11:37:59 policy-db-migrator | 11:37:59 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:37:59 policy-db-migrator | -------------- 11:37:59 policy-db-migrator | 11:37:59 policy-db-migrator | policyadmin: OK: upgrade (1200) 11:37:59 policy-db-migrator | name version 11:37:59 policy-db-migrator | policyadmin 1200 11:37:59 policy-db-migrator | ID script operation from_version to_version tag success atTime 11:37:59 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 11:37:59 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 11:37:59 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 11:37:59 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 11:37:59 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 11:37:59 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 11:37:59 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 11:37:59 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 11:37:59 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 11:37:59 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 11:37:59 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 11:37:59 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 11:37:59 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 11:37:59 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 11:37:59 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:24 11:37:59 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:25 11:37:59 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:25 11:37:59 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:25 11:37:59 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1402241136201100u 1 2024-02-14 11:36:25 11:37:59 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1402241136201200u 1 2024-02-14 11:36:25 11:37:59 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1402241136201200u 1 2024-02-14 11:36:25 11:37:59 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1402241136201200u 1 2024-02-14 11:36:25 11:37:59 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1402241136201200u 1 2024-02-14 11:36:25 11:37:59 policy-db-migrator | policyadmin: OK @ 1200 11:37:59 ++ echo 'Tearing down containers...' 11:37:59 Tearing down containers... 11:37:59 ++ docker-compose down -v --remove-orphans 11:38:00 Stopping grafana ... 11:38:00 Stopping policy-api ... 11:38:00 Stopping prometheus ... 11:38:00 Stopping mariadb ... 11:38:00 Stopping grafana ... done 11:38:01 Stopping prometheus ... done 11:38:01 Stopping mariadb ... done 11:38:10 Stopping policy-api ... done 11:38:10 Removing grafana ... 11:38:10 Removing policy-api ... 11:38:10 Removing policy-db-migrator ... 11:38:10 Removing prometheus ... 11:38:10 Removing mariadb ... 11:38:10 Removing policy-api ... done 11:38:10 Removing prometheus ... done 11:38:10 Removing grafana ... done 11:38:10 Removing policy-db-migrator ... done 11:38:10 Removing mariadb ... done 11:38:10 Removing network compose_default 11:38:10 ++ cd /w/workspace/policy-api-london-project-csit-api 11:38:10 + load_set 11:38:10 + _setopts=hxB 11:38:10 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:38:10 ++ tr : ' ' 11:38:10 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:38:10 + set +o braceexpand 11:38:10 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:38:10 + set +o hashall 11:38:10 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:38:10 + set +o interactive-comments 11:38:10 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:38:10 + set +o xtrace 11:38:10 ++ echo hxB 11:38:10 ++ sed 's/./& /g' 11:38:10 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:38:10 + set +h 11:38:10 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:38:10 + set +x 11:38:10 + [[ -n /tmp/tmp.nFVMsZky2E ]] 11:38:10 + rsync -av /tmp/tmp.nFVMsZky2E/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api 11:38:10 sending incremental file list 11:38:10 ./ 11:38:10 log.html 11:38:10 output.xml 11:38:10 report.html 11:38:10 testplan.txt 11:38:10 11:38:10 sent 1,347,162 bytes received 95 bytes 2,694,514.00 bytes/sec 11:38:10 total size is 1,346,512 speedup is 1.00 11:38:10 + rm -rf /w/workspace/policy-api-london-project-csit-api/models 11:38:10 + exit 0 11:38:10 $ ssh-agent -k 11:38:10 unset SSH_AUTH_SOCK; 11:38:10 unset SSH_AGENT_PID; 11:38:10 echo Agent pid 2076 killed; 11:38:10 [ssh-agent] Stopped. 11:38:10 Robot results publisher started... 11:38:10 INFO: Checking test criticality is deprecated and will be dropped in a future release! 11:38:10 -Parsing output xml: 11:38:11 Done! 11:38:11 WARNING! Could not find file: **/log.html 11:38:11 WARNING! Could not find file: **/report.html 11:38:11 -Copying log files to build dir: 11:38:11 Done! 11:38:11 -Assigning results to build: 11:38:11 Done! 11:38:11 -Checking thresholds: 11:38:11 Done! 11:38:11 Done publishing Robot results. 11:38:11 [PostBuildScript] - [INFO] Executing post build scripts. 11:38:11 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13169792374622231448.sh 11:38:11 ---> sysstat.sh 11:38:12 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16593140206082769504.sh 11:38:12 ---> package-listing.sh 11:38:12 ++ facter osfamily 11:38:12 ++ tr '[:upper:]' '[:lower:]' 11:38:12 + OS_FAMILY=debian 11:38:12 + workspace=/w/workspace/policy-api-london-project-csit-api 11:38:12 + START_PACKAGES=/tmp/packages_start.txt 11:38:12 + END_PACKAGES=/tmp/packages_end.txt 11:38:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:38:12 + PACKAGES=/tmp/packages_start.txt 11:38:12 + '[' /w/workspace/policy-api-london-project-csit-api ']' 11:38:12 + PACKAGES=/tmp/packages_end.txt 11:38:12 + case "${OS_FAMILY}" in 11:38:12 + dpkg -l 11:38:12 + grep '^ii' 11:38:12 + '[' -f /tmp/packages_start.txt ']' 11:38:12 + '[' -f /tmp/packages_end.txt ']' 11:38:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:38:12 + '[' /w/workspace/policy-api-london-project-csit-api ']' 11:38:12 + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ 11:38:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ 11:38:12 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins6723821596126814074.sh 11:38:12 ---> capture-instance-metadata.sh 11:38:12 Setup pyenv: 11:38:12 system 11:38:12 3.8.13 11:38:12 3.9.13 11:38:12 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:38:12 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-pQ6Y from file:/tmp/.os_lf_venv 11:38:13 lf-activate-venv(): INFO: Installing: lftools 11:38:23 lf-activate-venv(): INFO: Adding /tmp/venv-pQ6Y/bin to PATH 11:38:23 INFO: Running in OpenStack, capturing instance metadata 11:38:24 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins17840049180895751136.sh 11:38:24 provisioning config files... 11:38:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config11342719265930823422tmp 11:38:24 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 11:38:24 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 11:38:24 [EnvInject] - Injecting environment variables from a build step. 11:38:24 [EnvInject] - Injecting as environment variables the properties content 11:38:24 SERVER_ID=logs 11:38:24 11:38:24 [EnvInject] - Variables injected successfully. 11:38:24 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3284787185876559444.sh 11:38:24 ---> create-netrc.sh 11:38:24 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13305664998471479521.sh 11:38:24 ---> python-tools-install.sh 11:38:24 Setup pyenv: 11:38:24 system 11:38:24 3.8.13 11:38:24 3.9.13 11:38:24 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:38:24 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-pQ6Y from file:/tmp/.os_lf_venv 11:38:25 lf-activate-venv(): INFO: Installing: lftools 11:38:33 lf-activate-venv(): INFO: Adding /tmp/venv-pQ6Y/bin to PATH 11:38:33 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins17464258642672365152.sh 11:38:33 ---> sudo-logs.sh 11:38:33 Archiving 'sudo' log.. 11:38:33 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins6597059835803603960.sh 11:38:33 ---> job-cost.sh 11:38:33 Setup pyenv: 11:38:33 system 11:38:33 3.8.13 11:38:33 3.9.13 11:38:33 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:38:33 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-pQ6Y from file:/tmp/.os_lf_venv 11:38:35 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 11:38:42 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 11:38:42 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 11:38:42 lf-activate-venv(): INFO: Adding /tmp/venv-pQ6Y/bin to PATH 11:38:42 INFO: No Stack... 11:38:42 INFO: Retrieving Pricing Info for: v3-standard-8 11:38:42 INFO: Archiving Costs 11:38:42 [policy-api-london-project-csit-api] $ /bin/bash -l /tmp/jenkins11646953151822991653.sh 11:38:42 ---> logs-deploy.sh 11:38:42 Setup pyenv: 11:38:42 system 11:38:42 3.8.13 11:38:42 3.9.13 11:38:42 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:38:43 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-pQ6Y from file:/tmp/.os_lf_venv 11:38:44 lf-activate-venv(): INFO: Installing: lftools 11:38:52 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 11:38:52 python-openstackclient 6.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 11:38:53 lf-activate-venv(): INFO: Adding /tmp/venv-pQ6Y/bin to PATH 11:38:53 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/271 11:38:53 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 11:38:54 Archives upload complete. 11:38:54 INFO: archiving logs to Nexus 11:38:55 ---> uname -a: 11:38:55 Linux prd-ubuntu1804-docker-8c-8g-5327 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 11:38:55 11:38:55 11:38:55 ---> lscpu: 11:38:55 Architecture: x86_64 11:38:55 CPU op-mode(s): 32-bit, 64-bit 11:38:55 Byte Order: Little Endian 11:38:55 CPU(s): 8 11:38:55 On-line CPU(s) list: 0-7 11:38:55 Thread(s) per core: 1 11:38:55 Core(s) per socket: 1 11:38:55 Socket(s): 8 11:38:55 NUMA node(s): 1 11:38:55 Vendor ID: AuthenticAMD 11:38:55 CPU family: 23 11:38:55 Model: 49 11:38:55 Model name: AMD EPYC-Rome Processor 11:38:55 Stepping: 0 11:38:55 CPU MHz: 2799.998 11:38:55 BogoMIPS: 5599.99 11:38:55 Virtualization: AMD-V 11:38:55 Hypervisor vendor: KVM 11:38:55 Virtualization type: full 11:38:55 L1d cache: 32K 11:38:55 L1i cache: 32K 11:38:55 L2 cache: 512K 11:38:55 L3 cache: 16384K 11:38:55 NUMA node0 CPU(s): 0-7 11:38:55 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities 11:38:55 11:38:55 11:38:55 ---> nproc: 11:38:55 8 11:38:55 11:38:55 11:38:55 ---> df -h: 11:38:55 Filesystem Size Used Avail Use% Mounted on 11:38:55 udev 16G 0 16G 0% /dev 11:38:55 tmpfs 3.2G 708K 3.2G 1% /run 11:38:55 /dev/vda1 155G 12G 144G 8% / 11:38:55 tmpfs 16G 0 16G 0% /dev/shm 11:38:55 tmpfs 5.0M 0 5.0M 0% /run/lock 11:38:55 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:38:55 /dev/vda15 105M 4.4M 100M 5% /boot/efi 11:38:55 tmpfs 3.2G 0 3.2G 0% /run/user/1001 11:38:55 11:38:55 11:38:55 ---> free -m: 11:38:55 total used free shared buff/cache available 11:38:55 Mem: 32167 828 27452 0 3886 30882 11:38:55 Swap: 1023 0 1023 11:38:55 11:38:55 11:38:55 ---> ip addr: 11:38:55 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 11:38:55 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:38:55 inet 127.0.0.1/8 scope host lo 11:38:55 valid_lft forever preferred_lft forever 11:38:55 inet6 ::1/128 scope host 11:38:55 valid_lft forever preferred_lft forever 11:38:55 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 11:38:55 link/ether fa:16:3e:5f:25:2b brd ff:ff:ff:ff:ff:ff 11:38:55 inet 10.30.106.101/23 brd 10.30.107.255 scope global dynamic ens3 11:38:55 valid_lft 86045sec preferred_lft 86045sec 11:38:55 inet6 fe80::f816:3eff:fe5f:252b/64 scope link 11:38:55 valid_lft forever preferred_lft forever 11:38:55 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 11:38:55 link/ether 02:42:83:46:2c:b6 brd ff:ff:ff:ff:ff:ff 11:38:55 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 11:38:55 valid_lft forever preferred_lft forever 11:38:55 11:38:55 11:38:55 ---> sar -b -r -n DEV: 11:38:55 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-5327) 02/14/24 _x86_64_ (8 CPU) 11:38:55 11:38:55 11:33:03 LINUX RESTART (8 CPU) 11:38:55 11:38:55 11:34:01 tps rtps wtps bread/s bwrtn/s 11:38:55 11:35:01 142.83 26.56 116.26 2065.26 67660.19 11:38:55 11:36:01 164.85 9.82 155.03 1668.13 76682.93 11:38:55 11:37:01 302.15 13.60 288.55 819.33 37858.17 11:38:55 11:38:01 25.16 0.05 25.11 12.26 1546.34 11:38:55 Average: 158.75 12.51 146.24 1141.22 45935.63 11:38:55 11:38:55 11:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:38:55 11:35:01 30045812 31748904 2893400 8.78 77600 1929144 1416344 4.17 824952 1761544 123292 11:38:55 11:36:01 28192836 31690068 4746376 14.41 112004 3623424 1435880 4.22 970960 3361336 946816 11:38:55 11:37:01 26949804 30516988 5989408 18.18 126084 3644128 4579628 13.47 2224612 3311944 212 11:38:55 11:38:01 27100180 30689780 5839032 17.73 126464 3671060 3067692 9.03 2076296 3322760 0 11:38:55 Average: 28072158 31161435 4867054 14.78 110538 3216939 2624886 7.72 1524205 2939396 267580 11:38:55 11:38:55 11:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:38:55 11:35:01 lo 1.07 1.07 0.11 0.11 0.00 0.00 0.00 0.00 11:38:55 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:55 11:35:01 ens3 63.42 42.46 905.09 7.80 0.00 0.00 0.00 0.00 11:38:55 11:36:01 lo 9.27 9.27 0.85 0.85 0.00 0.00 0.00 0.00 11:38:55 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:55 11:36:01 br-102154a60618 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:55 11:36:01 ens3 298.77 198.93 9090.68 17.91 0.00 0.00 0.00 0.00 11:38:55 11:37:01 lo 7.18 7.18 8.13 8.13 0.00 0.00 0.00 0.00 11:38:55 11:37:01 veth4c04667 0.13 0.32 0.01 0.27 0.00 0.00 0.00 0.00 11:38:55 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:55 11:37:01 veth180541d 115.08 94.78 46.48 119.08 0.00 0.00 0.00 0.01 11:38:55 11:38:01 lo 11.11 11.11 0.84 0.84 0.00 0.00 0.00 0.00 11:38:55 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:55 11:38:01 veth180541d 1.32 1.42 0.54 0.10 0.00 0.00 0.00 0.00 11:38:55 11:38:01 br-102154a60618 5.48 6.28 6.09 2.76 0.00 0.00 0.00 0.00 11:38:55 Average: lo 7.16 7.16 2.48 2.48 0.00 0.00 0.00 0.00 11:38:55 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:55 Average: veth180541d 29.10 24.05 11.76 29.79 0.00 0.00 0.00 0.00 11:38:55 Average: br-102154a60618 1.37 1.57 1.52 0.69 0.00 0.00 0.00 0.00 11:38:55 11:38:55 11:38:55 ---> sar -P ALL: 11:38:55 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-5327) 02/14/24 _x86_64_ (8 CPU) 11:38:55 11:38:55 11:33:03 LINUX RESTART (8 CPU) 11:38:55 11:38:55 11:34:01 CPU %user %nice %system %iowait %steal %idle 11:38:55 11:35:01 all 9.59 0.00 0.74 5.02 0.04 84.61 11:38:55 11:35:01 0 9.00 0.00 1.14 30.94 0.07 58.86 11:38:55 11:35:01 1 12.28 0.00 1.10 1.77 0.07 84.77 11:38:55 11:35:01 2 33.49 0.00 1.79 5.58 0.08 59.05 11:38:55 11:35:01 3 13.70 0.00 0.78 0.03 0.03 85.45 11:38:55 11:35:01 4 5.28 0.00 0.43 0.32 0.03 93.93 11:38:55 11:35:01 5 0.63 0.00 0.25 0.83 0.02 98.27 11:38:55 11:35:01 6 0.35 0.00 0.13 0.20 0.02 99.30 11:38:55 11:35:01 7 2.08 0.00 0.32 0.57 0.02 97.02 11:38:55 11:36:01 all 10.51 0.00 2.52 5.96 0.05 80.96 11:38:55 11:36:01 0 6.45 0.00 2.66 4.81 0.05 86.03 11:38:55 11:36:01 1 4.45 0.00 2.00 25.82 0.07 67.66 11:38:55 11:36:01 2 10.01 0.00 2.57 8.65 0.03 78.74 11:38:55 11:36:01 3 8.18 0.00 2.02 1.19 0.05 88.56 11:38:55 11:36:01 4 6.15 0.00 1.40 3.19 0.03 89.22 11:38:55 11:36:01 5 8.36 0.00 2.46 0.12 0.03 89.02 11:38:55 11:36:01 6 25.23 0.00 3.70 3.29 0.07 67.72 11:38:55 11:36:01 7 15.30 0.00 3.34 0.66 0.03 80.67 11:38:55 11:37:01 all 16.64 0.00 2.15 3.83 0.06 77.31 11:38:55 11:37:01 0 15.20 0.00 2.09 1.36 0.05 81.30 11:38:55 11:37:01 1 15.00 0.00 2.08 5.71 0.05 77.16 11:38:55 11:37:01 2 18.35 0.00 2.67 18.14 0.08 60.76 11:38:55 11:37:01 3 15.35 0.00 1.71 0.15 0.05 82.74 11:38:55 11:37:01 4 18.37 0.00 2.42 2.45 0.07 76.69 11:38:55 11:37:01 5 16.85 0.00 2.00 0.75 0.05 80.35 11:38:55 11:37:01 6 15.72 0.00 2.38 1.19 0.05 80.66 11:38:55 11:37:01 7 18.24 0.00 1.89 0.92 0.07 78.88 11:38:55 11:38:01 all 0.68 0.00 0.26 0.27 0.03 98.76 11:38:55 11:38:01 0 0.72 0.00 0.30 0.42 0.03 98.53 11:38:55 11:38:01 1 0.50 0.00 0.22 0.32 0.03 98.93 11:38:55 11:38:01 2 0.85 0.00 0.28 0.02 0.02 98.83 11:38:55 11:38:01 3 0.23 0.00 0.27 0.02 0.05 99.43 11:38:55 11:38:01 4 0.88 0.00 0.25 0.38 0.02 98.47 11:38:55 11:38:01 5 0.43 0.00 0.27 0.45 0.02 98.83 11:38:55 11:38:01 6 0.50 0.00 0.27 0.50 0.00 98.73 11:38:55 11:38:01 7 1.34 0.00 0.23 0.08 0.02 98.33 11:38:55 Average: all 9.34 0.00 1.42 3.77 0.04 85.43 11:38:55 Average: 0 7.84 0.00 1.54 9.38 0.05 81.19 11:38:55 Average: 1 8.06 0.00 1.35 8.37 0.05 82.17 11:38:55 Average: 2 15.67 0.00 1.83 8.08 0.05 74.37 11:38:55 Average: 3 9.36 0.00 1.19 0.35 0.05 89.05 11:38:55 Average: 4 7.66 0.00 1.12 1.58 0.04 89.60 11:38:55 Average: 5 6.55 0.00 1.24 0.54 0.03 91.64 11:38:55 Average: 6 10.40 0.00 1.61 1.29 0.03 86.67 11:38:55 Average: 7 9.22 0.00 1.44 0.56 0.03 88.75 11:38:55 11:38:55 11:38:55