11:34:30 Started by timer 11:34:30 Running as SYSTEM 11:34:30 [EnvInject] - Loading node environment variables. 11:34:30 Building remotely on prd-ubuntu1804-docker-8c-8g-13305 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-london-project-csit-api 11:34:30 [ssh-agent] Looking for ssh-agent implementation... 11:34:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:34:30 $ ssh-agent 11:34:30 SSH_AUTH_SOCK=/tmp/ssh-ZszBPv5GGH8L/agent.2096 11:34:30 SSH_AGENT_PID=2098 11:34:30 [ssh-agent] Started. 11:34:30 Running ssh-add (command line suppressed) 11:34:30 Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_15378191882270501723.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_15378191882270501723.key) 11:34:30 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 11:34:30 The recommended git tool is: NONE 11:34:32 using credential onap-jenkins-ssh 11:34:32 Wiping out workspace first. 11:34:32 Cloning the remote Git repository 11:34:32 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 11:34:32 > git init /w/workspace/policy-api-london-project-csit-api # timeout=10 11:34:32 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 11:34:32 > git --version # timeout=10 11:34:32 > git --version # 'git version 2.17.1' 11:34:32 using GIT_SSH to set credentials Gerrit user 11:34:32 Verifying host key using manually-configured host key entries 11:34:32 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 11:34:32 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 11:34:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:34:33 Avoid second fetch 11:34:33 > git rev-parse refs/remotes/origin/london^{commit} # timeout=10 11:34:33 Checking out Revision e830ea142a4b760cf152d9db92c451d74b2da1f2 (refs/remotes/origin/london) 11:34:33 > git config core.sparsecheckout # timeout=10 11:34:33 > git checkout -f e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=30 11:34:33 Commit message: "Make update to allow local image to be used in Nordix" 11:34:33 > git rev-list --no-walk e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=10 11:34:33 provisioning config files... 11:34:33 copy managed file [npmrc] to file:/home/jenkins/.npmrc 11:34:33 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 11:34:33 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins12120812418375955835.sh 11:34:33 ---> python-tools-install.sh 11:34:33 Setup pyenv: 11:34:33 * system (set by /opt/pyenv/version) 11:34:33 * 3.8.13 (set by /opt/pyenv/version) 11:34:33 * 3.9.13 (set by /opt/pyenv/version) 11:34:33 * 3.10.6 (set by /opt/pyenv/version) 11:34:38 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wm4G 11:34:38 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 11:34:42 lf-activate-venv(): INFO: Installing: lftools 11:35:20 lf-activate-venv(): INFO: Adding /tmp/venv-wm4G/bin to PATH 11:35:20 Generating Requirements File 11:35:54 Python 3.10.6 11:35:54 pip 24.0 from /tmp/venv-wm4G/lib/python3.10/site-packages/pip (python 3.10) 11:35:54 appdirs==1.4.4 11:35:54 argcomplete==3.2.3 11:35:54 aspy.yaml==1.3.0 11:35:54 attrs==23.2.0 11:35:54 autopage==0.5.2 11:35:54 beautifulsoup4==4.12.3 11:35:54 boto3==1.34.63 11:35:54 botocore==1.34.63 11:35:54 bs4==0.0.2 11:35:54 cachetools==5.3.3 11:35:54 certifi==2024.2.2 11:35:54 cffi==1.16.0 11:35:54 cfgv==3.4.0 11:35:54 chardet==5.2.0 11:35:54 charset-normalizer==3.3.2 11:35:54 click==8.1.7 11:35:54 cliff==4.6.0 11:35:54 cmd2==2.4.3 11:35:54 cryptography==3.3.2 11:35:54 debtcollector==3.0.0 11:35:54 decorator==5.1.1 11:35:54 defusedxml==0.7.1 11:35:54 Deprecated==1.2.14 11:35:54 distlib==0.3.8 11:35:54 dnspython==2.6.1 11:35:54 docker==4.2.2 11:35:54 dogpile.cache==1.3.2 11:35:54 email_validator==2.1.1 11:35:54 filelock==3.13.1 11:35:54 future==1.0.0 11:35:54 gitdb==4.0.11 11:35:54 GitPython==3.1.42 11:35:54 google-auth==2.28.2 11:35:54 httplib2==0.22.0 11:35:54 identify==2.5.35 11:35:54 idna==3.6 11:35:54 importlib-resources==1.5.0 11:35:54 iso8601==2.1.0 11:35:54 Jinja2==3.1.3 11:35:54 jmespath==1.0.1 11:35:54 jsonpatch==1.33 11:35:54 jsonpointer==2.4 11:35:54 jsonschema==4.21.1 11:35:54 jsonschema-specifications==2023.12.1 11:35:54 keystoneauth1==5.6.0 11:35:54 kubernetes==29.0.0 11:35:54 lftools==0.37.10 11:35:54 lxml==5.1.0 11:35:54 MarkupSafe==2.1.5 11:35:54 msgpack==1.0.8 11:35:54 multi_key_dict==2.0.3 11:35:54 munch==4.0.0 11:35:54 netaddr==1.2.1 11:35:54 netifaces==0.11.0 11:35:54 niet==1.4.2 11:35:54 nodeenv==1.8.0 11:35:54 oauth2client==4.1.3 11:35:54 oauthlib==3.2.2 11:35:54 openstacksdk==3.0.0 11:35:54 os-client-config==2.1.0 11:35:54 os-service-types==1.7.0 11:35:54 osc-lib==3.0.1 11:35:54 oslo.config==9.4.0 11:35:54 oslo.context==5.5.0 11:35:54 oslo.i18n==6.3.0 11:35:54 oslo.log==5.5.0 11:35:54 oslo.serialization==5.4.0 11:35:54 oslo.utils==7.1.0 11:35:54 packaging==24.0 11:35:54 pbr==6.0.0 11:35:54 platformdirs==4.2.0 11:35:54 prettytable==3.10.0 11:35:54 pyasn1==0.5.1 11:35:54 pyasn1-modules==0.3.0 11:35:54 pycparser==2.21 11:35:54 pygerrit2==2.0.15 11:35:54 PyGithub==2.2.0 11:35:54 pyinotify==0.9.6 11:35:54 PyJWT==2.8.0 11:35:54 PyNaCl==1.5.0 11:35:54 pyparsing==2.4.7 11:35:54 pyperclip==1.8.2 11:35:54 pyrsistent==0.20.0 11:35:54 python-cinderclient==9.5.0 11:35:54 python-dateutil==2.9.0.post0 11:35:54 python-heatclient==3.5.0 11:35:54 python-jenkins==1.8.2 11:35:54 python-keystoneclient==5.4.0 11:35:54 python-magnumclient==4.4.0 11:35:54 python-novaclient==18.6.0 11:35:54 python-openstackclient==6.5.0 11:35:54 python-swiftclient==4.5.0 11:35:54 PyYAML==6.0.1 11:35:54 referencing==0.33.0 11:35:54 requests==2.31.0 11:35:54 requests-oauthlib==1.4.0 11:35:54 requestsexceptions==1.4.0 11:35:54 rfc3986==2.0.0 11:35:54 rpds-py==0.18.0 11:35:54 rsa==4.9 11:35:54 ruamel.yaml==0.18.6 11:35:54 ruamel.yaml.clib==0.2.8 11:35:54 s3transfer==0.10.1 11:35:54 simplejson==3.19.2 11:35:54 six==1.16.0 11:35:54 smmap==5.0.1 11:35:54 soupsieve==2.5 11:35:54 stevedore==5.2.0 11:35:54 tabulate==0.9.0 11:35:54 toml==0.10.2 11:35:54 tomlkit==0.12.4 11:35:54 tqdm==4.66.2 11:35:54 typing_extensions==4.10.0 11:35:54 tzdata==2024.1 11:35:54 urllib3==1.26.18 11:35:54 virtualenv==20.25.1 11:35:54 wcwidth==0.2.13 11:35:54 websocket-client==1.7.0 11:35:54 wrapt==1.16.0 11:35:54 xdg==6.0.0 11:35:54 xmltodict==0.13.0 11:35:54 yq==3.2.3 11:35:54 [EnvInject] - Injecting environment variables from a build step. 11:35:54 [EnvInject] - Injecting as environment variables the properties content 11:35:54 SET_JDK_VERSION=openjdk17 11:35:54 GIT_URL="git://cloud.onap.org/mirror" 11:35:54 11:35:54 [EnvInject] - Variables injected successfully. 11:35:54 [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins17522599494368565077.sh 11:35:54 ---> update-java-alternatives.sh 11:35:54 ---> Updating Java version 11:35:55 ---> Ubuntu/Debian system detected 11:35:55 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 11:35:55 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 11:35:55 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 11:35:55 openjdk version "17.0.4" 2022-07-19 11:35:55 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 11:35:55 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 11:35:55 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 11:35:55 [EnvInject] - Injecting environment variables from a build step. 11:35:55 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 11:35:55 [EnvInject] - Variables injected successfully. 11:35:55 [policy-api-london-project-csit-api] $ /bin/sh -xe /tmp/jenkins16559317732849776396.sh 11:35:55 + /w/workspace/policy-api-london-project-csit-api/csit/run-project-csit.sh api 11:35:55 + set +u 11:35:55 + save_set 11:35:55 + RUN_CSIT_SAVE_SET=ehxB 11:35:55 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 11:35:55 + '[' 1 -eq 0 ']' 11:35:55 + '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:35:55 + 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:35:55 + 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:55 + export SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts 11:35:55 + SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts 11:35:55 + export ROBOT_VARIABLES= 11:35:55 + ROBOT_VARIABLES= 11:35:55 + export PROJECT=api 11:35:55 + PROJECT=api 11:35:55 + cd /w/workspace/policy-api-london-project-csit-api 11:35:55 + rm -rf /w/workspace/policy-api-london-project-csit-api/csit/archives/api 11:35:55 + mkdir -p /w/workspace/policy-api-london-project-csit-api/csit/archives/api 11:35:55 + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:35:55 + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 11:35:55 + relax_set 11:35:55 + set +e 11:35:55 + set +o pipefail 11:35:55 + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:35:55 ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:35:55 +++ mktemp -d 11:35:55 ++ ROBOT_VENV=/tmp/tmp.R1QgxLKEoG 11:35:55 ++ echo ROBOT_VENV=/tmp/tmp.R1QgxLKEoG 11:35:55 +++ python3 --version 11:35:55 ++ echo 'Python version is: Python 3.6.9' 11:35:55 Python version is: Python 3.6.9 11:35:55 ++ python3 -m venv --clear /tmp/tmp.R1QgxLKEoG 11:35:57 ++ source /tmp/tmp.R1QgxLKEoG/bin/activate 11:35:57 +++ deactivate nondestructive 11:35:57 +++ '[' -n '' ']' 11:35:57 +++ '[' -n '' ']' 11:35:57 +++ '[' -n /bin/bash -o -n '' ']' 11:35:57 +++ hash -r 11:35:57 +++ '[' -n '' ']' 11:35:57 +++ unset VIRTUAL_ENV 11:35:57 +++ '[' '!' nondestructive = nondestructive ']' 11:35:57 +++ VIRTUAL_ENV=/tmp/tmp.R1QgxLKEoG 11:35:57 +++ export VIRTUAL_ENV 11:35:57 +++ _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:57 +++ PATH=/tmp/tmp.R1QgxLKEoG/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:57 +++ export PATH 11:35:57 +++ '[' -n '' ']' 11:35:57 +++ '[' -z '' ']' 11:35:57 +++ _OLD_VIRTUAL_PS1= 11:35:57 +++ '[' 'x(tmp.R1QgxLKEoG) ' '!=' x ']' 11:35:57 +++ PS1='(tmp.R1QgxLKEoG) ' 11:35:57 +++ export PS1 11:35:57 +++ '[' -n /bin/bash -o -n '' ']' 11:35:57 +++ hash -r 11:35:57 ++ set -exu 11:35:57 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 11:36:00 ++ echo 'Installing Python Requirements' 11:36:00 Installing Python Requirements 11:36:00 ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt 11:36:19 ++ python3 -m pip -qq freeze 11:36:20 bcrypt==4.0.1 11:36:20 beautifulsoup4==4.12.3 11:36:20 bitarray==2.9.2 11:36:20 certifi==2024.2.2 11:36:20 cffi==1.15.1 11:36:20 charset-normalizer==2.0.12 11:36:20 cryptography==40.0.2 11:36:20 decorator==5.1.1 11:36:20 elasticsearch==7.17.9 11:36:20 elasticsearch-dsl==7.4.1 11:36:20 enum34==1.1.10 11:36:20 idna==3.6 11:36:20 importlib-resources==5.4.0 11:36:20 ipaddr==2.2.0 11:36:20 isodate==0.6.1 11:36:20 jmespath==0.10.0 11:36:20 jsonpatch==1.32 11:36:20 jsonpath-rw==1.4.0 11:36:20 jsonpointer==2.3 11:36:20 lxml==5.1.0 11:36:20 netaddr==0.8.0 11:36:20 netifaces==0.11.0 11:36:20 odltools==0.1.28 11:36:20 paramiko==3.4.0 11:36:20 pkg_resources==0.0.0 11:36:20 ply==3.11 11:36:20 pyang==2.6.0 11:36:20 pyangbind==0.8.1 11:36:20 pycparser==2.21 11:36:20 pyhocon==0.3.60 11:36:20 PyNaCl==1.5.0 11:36:20 pyparsing==3.1.2 11:36:20 python-dateutil==2.9.0.post0 11:36:20 regex==2023.8.8 11:36:20 requests==2.27.1 11:36:20 robotframework==6.1.1 11:36:20 robotframework-httplibrary==0.4.2 11:36:20 robotframework-pythonlibcore==3.0.0 11:36:20 robotframework-requests==0.9.4 11:36:20 robotframework-selenium2library==3.0.0 11:36:20 robotframework-seleniumlibrary==5.1.3 11:36:20 robotframework-sshlibrary==3.8.0 11:36:20 scapy==2.5.0 11:36:20 scp==0.14.5 11:36:20 selenium==3.141.0 11:36:20 six==1.16.0 11:36:20 soupsieve==2.3.2.post1 11:36:20 urllib3==1.26.18 11:36:20 waitress==2.0.0 11:36:20 WebOb==1.8.7 11:36:20 WebTest==3.0.0 11:36:20 zipp==3.6.0 11:36:20 ++ mkdir -p /tmp/tmp.R1QgxLKEoG/src/onap 11:36:20 ++ rm -rf /tmp/tmp.R1QgxLKEoG/src/onap/testsuite 11:36:20 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 11:36:26 ++ echo 'Uninstall docker-py and reinstall docker.' 11:36:26 Uninstall docker-py and reinstall docker. 11:36:26 ++ python3 -m pip uninstall -y -qq docker 11:36:27 ++ python3 -m pip install -U -qq docker 11:36:28 ++ python3 -m pip -qq freeze 11:36:28 bcrypt==4.0.1 11:36:28 beautifulsoup4==4.12.3 11:36:28 bitarray==2.9.2 11:36:28 certifi==2024.2.2 11:36:28 cffi==1.15.1 11:36:28 charset-normalizer==2.0.12 11:36:28 cryptography==40.0.2 11:36:28 decorator==5.1.1 11:36:28 deepdiff==5.7.0 11:36:28 dnspython==2.2.1 11:36:28 docker==5.0.3 11:36:28 elasticsearch==7.17.9 11:36:28 elasticsearch-dsl==7.4.1 11:36:28 enum34==1.1.10 11:36:28 future==1.0.0 11:36:28 idna==3.6 11:36:28 importlib-resources==5.4.0 11:36:28 ipaddr==2.2.0 11:36:28 isodate==0.6.1 11:36:28 Jinja2==3.0.3 11:36:28 jmespath==0.10.0 11:36:28 jsonpatch==1.32 11:36:28 jsonpath-rw==1.4.0 11:36:28 jsonpointer==2.3 11:36:28 kafka-python==2.0.2 11:36:28 lxml==5.1.0 11:36:28 MarkupSafe==2.0.1 11:36:28 more-itertools==5.0.0 11:36:28 netaddr==0.8.0 11:36:28 netifaces==0.11.0 11:36:28 odltools==0.1.28 11:36:28 ordered-set==4.0.2 11:36:28 paramiko==3.4.0 11:36:28 pbr==6.0.0 11:36:28 pkg_resources==0.0.0 11:36:28 ply==3.11 11:36:28 protobuf==3.19.6 11:36:28 pyang==2.6.0 11:36:28 pyangbind==0.8.1 11:36:28 pycparser==2.21 11:36:28 pyhocon==0.3.60 11:36:28 PyNaCl==1.5.0 11:36:28 pyparsing==3.1.2 11:36:28 python-dateutil==2.9.0.post0 11:36:28 PyYAML==6.0.1 11:36:28 regex==2023.8.8 11:36:28 requests==2.27.1 11:36:28 robotframework==6.1.1 11:36:28 robotframework-httplibrary==0.4.2 11:36:28 robotframework-onap==0.6.0.dev105 11:36:28 robotframework-pythonlibcore==3.0.0 11:36:28 robotframework-requests==0.9.4 11:36:28 robotframework-selenium2library==3.0.0 11:36:28 robotframework-seleniumlibrary==5.1.3 11:36:28 robotframework-sshlibrary==3.8.0 11:36:28 robotlibcore-temp==1.0.2 11:36:28 scapy==2.5.0 11:36:28 scp==0.14.5 11:36:28 selenium==3.141.0 11:36:28 six==1.16.0 11:36:28 soupsieve==2.3.2.post1 11:36:28 urllib3==1.26.18 11:36:28 waitress==2.0.0 11:36:28 WebOb==1.8.7 11:36:28 websocket-client==1.3.1 11:36:28 WebTest==3.0.0 11:36:28 zipp==3.6.0 11:36:28 ++ uname 11:36:28 ++ grep -q Linux 11:36:28 ++ sudo apt-get -y -qq install libxml2-utils 11:36:29 + load_set 11:36:29 + _setopts=ehuxB 11:36:29 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 11:36:29 ++ tr : ' ' 11:36:29 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:29 + set +o braceexpand 11:36:29 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:29 + set +o hashall 11:36:29 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:29 + set +o interactive-comments 11:36:29 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:29 + set +o nounset 11:36:29 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:29 + set +o xtrace 11:36:29 ++ echo ehuxB 11:36:29 ++ sed 's/./& /g' 11:36:29 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:29 + set +e 11:36:29 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:29 + set +h 11:36:29 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:29 + set +u 11:36:29 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:29 + set +x 11:36:29 + source_safely /tmp/tmp.R1QgxLKEoG/bin/activate 11:36:29 + '[' -z /tmp/tmp.R1QgxLKEoG/bin/activate ']' 11:36:29 + relax_set 11:36:29 + set +e 11:36:29 + set +o pipefail 11:36:29 + . /tmp/tmp.R1QgxLKEoG/bin/activate 11:36:29 ++ deactivate nondestructive 11:36:29 ++ '[' -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:36:29 ++ 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:36:29 ++ export PATH 11:36:29 ++ unset _OLD_VIRTUAL_PATH 11:36:29 ++ '[' -n '' ']' 11:36:29 ++ '[' -n /bin/bash -o -n '' ']' 11:36:29 ++ hash -r 11:36:29 ++ '[' -n '' ']' 11:36:29 ++ unset VIRTUAL_ENV 11:36:29 ++ '[' '!' nondestructive = nondestructive ']' 11:36:29 ++ VIRTUAL_ENV=/tmp/tmp.R1QgxLKEoG 11:36:29 ++ export VIRTUAL_ENV 11:36:29 ++ _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:36:29 ++ PATH=/tmp/tmp.R1QgxLKEoG/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:36:29 ++ export PATH 11:36:29 ++ '[' -n '' ']' 11:36:29 ++ '[' -z '' ']' 11:36:29 ++ _OLD_VIRTUAL_PS1='(tmp.R1QgxLKEoG) ' 11:36:29 ++ '[' 'x(tmp.R1QgxLKEoG) ' '!=' x ']' 11:36:29 ++ PS1='(tmp.R1QgxLKEoG) (tmp.R1QgxLKEoG) ' 11:36:29 ++ export PS1 11:36:29 ++ '[' -n /bin/bash -o -n '' ']' 11:36:29 ++ hash -r 11:36:29 + load_set 11:36:29 + _setopts=hxB 11:36:29 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:36:29 ++ tr : ' ' 11:36:29 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:29 + set +o braceexpand 11:36:29 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:29 + set +o hashall 11:36:29 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:29 + set +o interactive-comments 11:36:29 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:29 + set +o xtrace 11:36:29 ++ echo hxB 11:36:29 ++ sed 's/./& /g' 11:36:29 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:29 + set +h 11:36:29 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:29 + set +x 11:36:29 + export TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests 11:36:29 + TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests 11:36:29 + export TEST_OPTIONS= 11:36:29 + TEST_OPTIONS= 11:36:29 ++ mktemp -d 11:36:29 + WORKDIR=/tmp/tmp.oTqwHpaS2g 11:36:29 + cd /tmp/tmp.oTqwHpaS2g 11:36:29 + docker login -u docker -p docker nexus3.onap.org:10001 11:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:36:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:36:29 Configure a credential helper to remove this warning. See 11:36:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:36:29 11:36:29 Login Succeeded 11:36:29 + SETUP=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:36:29 + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:36:29 + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' 11:36:29 Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:36:29 + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:36:29 + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:36:29 + relax_set 11:36:29 + set +e 11:36:29 + set +o pipefail 11:36:29 + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:36:29 ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh 11:36:29 +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:36:29 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview 11:36:29 +++ GERRIT_BRANCH=london 11:36:29 +++ echo GERRIT_BRANCH=london 11:36:29 GERRIT_BRANCH=london 11:36:29 +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models 11:36:29 +++ mkdir /w/workspace/policy-api-london-project-csit-api/models 11:36:29 +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models 11:36:29 Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... 11:36:30 +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies 11:36:30 +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies 11:36:30 +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:36:30 +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:36:30 +++ 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:36:30 +++ 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:36:30 ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana 11:36:30 +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:36:30 +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose 11:36:30 +++ grafana=false 11:36:30 +++ gui=false 11:36:30 +++ [[ 2 -gt 0 ]] 11:36:30 +++ key=api 11:36:30 +++ case $key in 11:36:30 +++ echo api 11:36:30 api 11:36:30 +++ component=api 11:36:30 +++ shift 11:36:30 +++ [[ 1 -gt 0 ]] 11:36:30 +++ key=--grafana 11:36:30 +++ case $key in 11:36:30 +++ grafana=true 11:36:30 +++ shift 11:36:30 +++ [[ 0 -gt 0 ]] 11:36:30 +++ cd /w/workspace/policy-api-london-project-csit-api/compose 11:36:30 +++ echo 'Configuring docker compose...' 11:36:30 Configuring docker compose... 11:36:30 +++ source export-ports.sh 11:36:30 +++ source get-versions.sh 11:36:33 +++ '[' -z api ']' 11:36:33 +++ '[' -n api ']' 11:36:33 +++ '[' api == logs ']' 11:36:33 +++ '[' true = true ']' 11:36:33 +++ echo 'Starting api application with Grafana' 11:36:33 Starting api application with Grafana 11:36:33 +++ docker-compose up -d api grafana 11:36:33 Creating network "compose_default" with the default driver 11:36:34 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 11:36:34 10.10.2: Pulling from mariadb 11:36:39 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 11:36:39 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 11:36:39 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2)... 11:36:40 2.6.2: Pulling from onap/policy-db-migrator 11:36:43 Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 11:36:43 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 11:36:43 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 11:36:43 2.8.2: Pulling from onap/policy-api 11:36:45 Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d 11:36:45 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 11:36:45 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 11:36:45 latest: Pulling from prom/prometheus 11:36:48 Digest: sha256:bc1794e85c9e00293351b967efa267ce6af1c824ac875a9d0c7ac84700a8b53e 11:36:48 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 11:36:48 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 11:36:49 latest: Pulling from grafana/grafana 11:36:54 Digest: sha256:f9811e4e687ffecf1a43adb9b64096c50bc0d7a782f8608530f478b6542de7d5 11:36:54 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 11:36:54 Creating mariadb ... 11:36:54 Creating prometheus ... 11:37:17 Creating prometheus ... done 11:37:17 Creating grafana ... 11:37:18 Creating mariadb ... done 11:37:18 Creating policy-db-migrator ... 11:37:19 Creating policy-db-migrator ... done 11:37:19 Creating policy-api ... 11:37:20 Creating policy-api ... done 11:37:21 Creating grafana ... done 11:37:21 +++ echo 'Prometheus server: http://localhost:30259' 11:37:21 Prometheus server: http://localhost:30259 11:37:21 +++ echo 'Grafana server: http://localhost:30269' 11:37:21 Grafana server: http://localhost:30269 11:37:21 +++ cd /w/workspace/policy-api-london-project-csit-api 11:37:21 ++ sleep 10 11:37:31 ++ unset http_proxy https_proxy 11:37:31 ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 11:37:31 Waiting for REST to come up on localhost port 30002... 11:37:31 NAMES STATUS 11:37:31 policy-api Up 11 seconds 11:37:31 policy-db-migrator Up 12 seconds 11:37:31 grafana Up 10 seconds 11:37:31 mariadb Up 13 seconds 11:37:31 prometheus Up 13 seconds 11:37:36 NAMES STATUS 11:37:36 policy-api Up 16 seconds 11:37:36 grafana Up 15 seconds 11:37:36 mariadb Up 18 seconds 11:37:36 prometheus Up 19 seconds 11:37:41 NAMES STATUS 11:37:41 policy-api Up 21 seconds 11:37:41 grafana Up 20 seconds 11:37:41 mariadb Up 23 seconds 11:37:41 prometheus Up 24 seconds 11:37:46 NAMES STATUS 11:37:46 policy-api Up 26 seconds 11:37:46 grafana Up 25 seconds 11:37:46 mariadb Up 28 seconds 11:37:46 prometheus Up 29 seconds 11:37:47 ++ export 'SUITES=api-test.robot 11:37:47 api-slas.robot' 11:37:47 ++ SUITES='api-test.robot 11:37:47 api-slas.robot' 11:37:47 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:37:47 -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:37:47 + load_set 11:37:47 + _setopts=hxB 11:37:47 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:37:47 ++ tr : ' ' 11:37:47 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:47 + set +o braceexpand 11:37:47 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:47 + set +o hashall 11:37:47 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:47 + set +o interactive-comments 11:37:47 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:47 + set +o xtrace 11:37:47 ++ sed 's/./& /g' 11:37:47 ++ echo hxB 11:37:47 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:37:47 + set +h 11:37:47 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:37:47 + set +x 11:37:47 + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 11:37:47 + docker_stats 11:37:47 ++ uname -s 11:37:47 + '[' Linux == Darwin ']' 11:37:47 + sh -c 'top -bn1 | head -3' 11:37:47 top - 11:37:47 up 4 min, 0 users, load average: 2.55, 1.13, 0.45 11:37:47 Tasks: 177 total, 1 running, 102 sleeping, 0 stopped, 0 zombie 11:37:47 %Cpu(s): 10.3 us, 2.0 sy, 0.0 ni, 82.0 id, 5.6 wa, 0.0 hi, 0.0 si, 0.0 st 11:37:47 + echo 11:37:47 11:37:47 + sh -c 'free -h' 11:37:47 total used free shared buff/cache available 11:37:47 Mem: 31G 1.9G 25G 1.0M 3.8G 29G 11:37:47 Swap: 1.0G 0B 1.0G 11:37:47 + echo 11:37:47 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:37:47 11:37:47 NAMES STATUS 11:37:47 policy-api Up 26 seconds 11:37:47 grafana Up 25 seconds 11:37:47 mariadb Up 28 seconds 11:37:47 prometheus Up 29 seconds 11:37:47 + echo 11:37:47 11:37:47 + docker stats --no-stream 11:37:49 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:37:49 ec9e1a802bb7 policy-api 0.58% 1000MiB / 31.41GiB 3.11% 1.04MB / 739kB 0B / 0B 52 11:37:49 068d74755607 grafana 0.03% 54.27MiB / 31.41GiB 0.17% 18kB / 3.18kB 0B / 24.7MB 13 11:37:49 75e90a66c6a0 mariadb 0.02% 100.6MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.2MB / 67.9MB 25 11:37:49 08a01457c829 prometheus 0.00% 18.69MiB / 31.41GiB 0.06% 1.52kB / 158B 4.1kB / 0B 13 11:37:49 + echo 11:37:49 11:37:49 + cd /tmp/tmp.oTqwHpaS2g 11:37:49 + echo 'Reading the testplan:' 11:37:49 Reading the testplan: 11:37:49 + echo 'api-test.robot 11:37:49 api-slas.robot' 11:37:49 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 11:37:49 + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' 11:37:49 + cat testplan.txt 11:37:49 /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot 11:37:49 /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot 11:37:49 ++ xargs 11:37:49 + 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:37:49 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:37:49 -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:37:49 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:37:49 -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:37:49 + 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:37:49 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:37:49 + relax_set 11:37:49 + set +e 11:37:49 + set +o pipefail 11:37:49 + 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:37:50 ============================================================================== 11:37:50 api 11:37:50 ============================================================================== 11:37:50 api.Api-Test 11:37:50 ============================================================================== 11:37:50 Healthcheck :: Verify policy api health check | PASS | 11:37:50 ------------------------------------------------------------------------------ 11:37:50 Statistics :: Verify policy api statistics | PASS | 11:37:50 ------------------------------------------------------------------------------ 11:37:52 RetrievePolicyTypes :: Retrieve all policy types | PASS | 11:37:52 ------------------------------------------------------------------------------ 11:37:53 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 11:37:53 ------------------------------------------------------------------------------ 11:37:53 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 11:37:53 ------------------------------------------------------------------------------ 11:37:53 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 11:37:53 ------------------------------------------------------------------------------ 11:37:54 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 11:37:54 ------------------------------------------------------------------------------ 11:37:54 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 11:37:54 ------------------------------------------------------------------------------ 11:37:54 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 11:37:54 ------------------------------------------------------------------------------ 11:37:55 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 11:37:55 ------------------------------------------------------------------------------ 11:37:56 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 11:37:56 ------------------------------------------------------------------------------ 11:37:56 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 11:37:56 ------------------------------------------------------------------------------ 11:37:57 RetrieveAllPolicies :: Retrieve all policies | PASS | 11:37:57 ------------------------------------------------------------------------------ 11:37:57 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 11:37:57 ------------------------------------------------------------------------------ 11:37:57 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 11:37:57 ------------------------------------------------------------------------------ 11:37:57 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 11:37:57 ------------------------------------------------------------------------------ 11:37:57 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 11:37:57 ------------------------------------------------------------------------------ 11:37:58 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 11:37:58 ------------------------------------------------------------------------------ 11:37:58 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 11:37:58 ------------------------------------------------------------------------------ 11:37:59 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 11:37:59 ------------------------------------------------------------------------------ 11:37:59 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 11:37:59 ------------------------------------------------------------------------------ 11:37:59 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 11:37:59 ------------------------------------------------------------------------------ 11:37:59 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 11:37:59 ------------------------------------------------------------------------------ 11:37:59 api.Api-Test | PASS | 11:37:59 23 tests, 23 passed, 0 failed 11:37:59 ============================================================================== 11:37:59 api.Api-Slas 11:37:59 ============================================================================== 11:38:59 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 11:38:59 ------------------------------------------------------------------------------ 11:38:59 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 11:38:59 ------------------------------------------------------------------------------ 11:38:59 ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | 11:38:59 ------------------------------------------------------------------------------ 11:38:59 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 11:38:59 ------------------------------------------------------------------------------ 11:38:59 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 11:38:59 ------------------------------------------------------------------------------ 11:38:59 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 11:38:59 ------------------------------------------------------------------------------ 11:38:59 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 11:38:59 ------------------------------------------------------------------------------ 11:39:00 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 11:39:00 ------------------------------------------------------------------------------ 11:39:00 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 11:39:00 ------------------------------------------------------------------------------ 11:39:00 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 11:39:00 ------------------------------------------------------------------------------ 11:39:00 api.Api-Slas | PASS | 11:39:00 10 tests, 10 passed, 0 failed 11:39:00 ============================================================================== 11:39:00 api | PASS | 11:39:00 33 tests, 33 passed, 0 failed 11:39:00 ============================================================================== 11:39:00 Output: /tmp/tmp.oTqwHpaS2g/output.xml 11:39:00 Log: /tmp/tmp.oTqwHpaS2g/log.html 11:39:00 Report: /tmp/tmp.oTqwHpaS2g/report.html 11:39:00 + RESULT=0 11:39:00 + load_set 11:39:00 + _setopts=hxB 11:39:00 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:39:00 ++ tr : ' ' 11:39:00 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:39:00 + set +o braceexpand 11:39:00 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:39:00 + set +o hashall 11:39:00 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:39:00 + set +o interactive-comments 11:39:00 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:39:00 + set +o xtrace 11:39:00 ++ echo hxB 11:39:00 ++ sed 's/./& /g' 11:39:00 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:39:00 + set +h 11:39:00 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:39:00 + set +x 11:39:00 + echo 'RESULT: 0' 11:39:00 RESULT: 0 11:39:00 + exit 0 11:39:00 + on_exit 11:39:00 + rc=0 11:39:00 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] 11:39:00 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:39:00 NAMES STATUS 11:39:00 policy-api Up About a minute 11:39:00 grafana Up About a minute 11:39:00 mariadb Up About a minute 11:39:00 prometheus Up About a minute 11:39:00 + docker_stats 11:39:00 ++ uname -s 11:39:00 + '[' Linux == Darwin ']' 11:39:00 + sh -c 'top -bn1 | head -3' 11:39:00 top - 11:39:00 up 5 min, 0 users, load average: 1.29, 1.10, 0.50 11:39:00 Tasks: 171 total, 1 running, 100 sleeping, 0 stopped, 0 zombie 11:39:00 %Cpu(s): 8.8 us, 1.6 sy, 0.0 ni, 84.3 id, 5.2 wa, 0.0 hi, 0.0 si, 0.0 st 11:39:00 + echo 11:39:00 11:39:00 + sh -c 'free -h' 11:39:00 total used free shared buff/cache available 11:39:00 Mem: 31G 1.9G 25G 1.0M 3.9G 29G 11:39:00 Swap: 1.0G 0B 1.0G 11:39:00 + echo 11:39:00 11:39:00 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:39:00 NAMES STATUS 11:39:00 policy-api Up About a minute 11:39:00 grafana Up About a minute 11:39:00 mariadb Up About a minute 11:39:00 prometheus Up About a minute 11:39:00 + echo 11:39:00 11:39:00 + docker stats --no-stream 11:39:02 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:39:02 ec9e1a802bb7 policy-api 0.13% 1021MiB / 31.41GiB 3.18% 7.32MB / 2.87MB 0B / 0B 52 11:39:02 068d74755607 grafana 0.04% 56.26MiB / 31.41GiB 0.17% 19.1kB / 4.41kB 0B / 24.7MB 13 11:39:02 75e90a66c6a0 mariadb 0.02% 101.4MiB / 31.41GiB 0.32% 2.75MB / 7.36MB 11.2MB / 68MB 18 11:39:02 08a01457c829 prometheus 0.00% 25.1MiB / 31.41GiB 0.08% 38kB / 7.09kB 4.1kB / 0B 13 11:39:03 + echo 11:39:03 11:39:03 + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh 11:39:03 + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' 11:39:03 + relax_set 11:39:03 + set +e 11:39:03 + set +o pipefail 11:39:03 + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh 11:39:03 ++ echo 'Shut down started!' 11:39:03 Shut down started! 11:39:03 ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:39:03 ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose 11:39:03 ++ cd /w/workspace/policy-api-london-project-csit-api/compose 11:39:03 ++ source export-ports.sh 11:39:03 ++ source get-versions.sh 11:39:05 ++ echo 'Collecting logs from docker compose containers...' 11:39:05 Collecting logs from docker compose containers... 11:39:05 ++ docker-compose logs 11:39:06 ++ cat docker_compose.log 11:39:06 Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.91570883Z level=info msg="Starting Grafana" version=10.4.0 commit=03f502a94d17f7dc4e6c34acdf8428aedd986e4c branch=HEAD compiled=2024-03-15T11:37:21Z 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.915950807Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.915958357Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.915961798Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.915964828Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.915969068Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.915971938Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.915974668Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.915977918Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.915981318Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.915984958Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.915987678Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.915990488Z level=info msg=Target target=[all] 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.915995788Z level=info msg="Path Home" path=/usr/share/grafana 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.915998519Z level=info msg="Path Data" path=/var/lib/grafana 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.916001349Z level=info msg="Path Logs" path=/var/log/grafana 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.916004229Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.916006869Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 11:39:06 grafana | logger=settings t=2024-03-15T11:37:21.916010969Z level=info msg="App mode production" 11:39:06 grafana | logger=sqlstore t=2024-03-15T11:37:21.916364189Z level=info msg="Connecting to DB" dbtype=sqlite3 11:39:06 grafana | logger=sqlstore t=2024-03-15T11:37:21.916386389Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.917006658Z level=info msg="Starting DB migrations" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.917982925Z level=info msg="Executing migration" id="create migration_log table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.918820838Z level=info msg="Migration successfully executed" id="create migration_log table" duration=837.803µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.925087785Z level=info msg="Executing migration" id="create user table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.925651551Z level=info msg="Migration successfully executed" id="create user table" duration=563.686µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.92915444Z level=info msg="Executing migration" id="add unique index user.login" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.930305082Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.148802ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.93627417Z level=info msg="Executing migration" id="add unique index user.email" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.937495175Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.220655ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.941099006Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.941728184Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=629.338µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.945534121Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.946153029Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=618.918µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.951917111Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.955847012Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.933671ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.959793673Z level=info msg="Executing migration" id="create user table v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.960597956Z level=info msg="Migration successfully executed" id="create user table v2" duration=805.193µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.964171846Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.964906798Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=746.272µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.970357901Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.971407421Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.04512ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.974905899Z level=info msg="Executing migration" id="copy data_source v1 to v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.975323581Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=417.632µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.978268114Z level=info msg="Executing migration" id="Drop old table user_v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.978742788Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=474.874µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.98201848Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.983709547Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.689427ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.98913976Z level=info msg="Executing migration" id="Update user table charset" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.989184362Z level=info msg="Migration successfully executed" id="Update user table charset" duration=49.892µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.992713382Z level=info msg="Executing migration" id="Add last_seen_at column to user" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.993772061Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.058539ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.997208608Z level=info msg="Executing migration" id="Add missing user data" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:21.997415724Z level=info msg="Migration successfully executed" id="Add missing user data" duration=207.196µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.000984245Z level=info msg="Executing migration" id="Add is_disabled column to user" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.002053585Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.06939ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.007416976Z level=info msg="Executing migration" id="Add index user.login/user.email" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.008688111Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.270496ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.013092195Z level=info msg="Executing migration" id="Add is_service_account column to user" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.014979188Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.885183ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.018606899Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.026503081Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=7.82304ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.034176915Z level=info msg="Executing migration" id="Add uid column to user" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.036024147Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.850502ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.039867995Z level=info msg="Executing migration" id="Update uid column values for users" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.040162934Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=296.679µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.045588415Z level=info msg="Executing migration" id="Add unique index user_uid" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.046830211Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.240925ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.054138286Z level=info msg="Executing migration" id="create temp user table v1-7" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.055476703Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.336926ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.061742168Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.063406065Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.663727ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.073627931Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.075047501Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.41904ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.080974927Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.082566622Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.591185ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.086374699Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.087602013Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.227363ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.093017045Z level=info msg="Executing migration" id="Update temp_user table charset" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.093039885Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=23.8µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.0971137Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.097865211Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=751.201µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.101777311Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.102880432Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.10328ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.108124549Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.109115196Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=990.307µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.112991595Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.113728506Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=736.781µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.117499361Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.120611258Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.111307ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.125842075Z level=info msg="Executing migration" id="create temp_user v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.126791491Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=948.676µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.131262417Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.132025838Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=763.291µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.136472493Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.13813114Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.658807ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.216891718Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.218623605Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.732168ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.223142862Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.224593273Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.44751ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.229000367Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.229438349Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=437.452µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.233613166Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.234208813Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=593.647µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.239240804Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.239877632Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=636.468µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.24374891Z level=info msg="Executing migration" id="create star table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.244636235Z level=info msg="Migration successfully executed" id="create star table" duration=886.965µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.248235026Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.249024708Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=791.242µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.256080126Z level=info msg="Executing migration" id="create org table v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.25694071Z level=info msg="Migration successfully executed" id="create org table v1" duration=860.004µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.261195529Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.262492516Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.297067ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.26696728Z level=info msg="Executing migration" id="create org_user table v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.268134324Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.165894ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.273619457Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.274619735Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.001268ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.280558842Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.281403536Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=844.154µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.285813529Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.286922111Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.104842ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.291237121Z level=info msg="Executing migration" id="Update org table charset" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.291277572Z level=info msg="Migration successfully executed" id="Update org table charset" duration=42.021µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.29583722Z level=info msg="Executing migration" id="Update org_user table charset" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.295886552Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=51.172µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.301101468Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.301605182Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=503.534µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.306757007Z level=info msg="Executing migration" id="create dashboard table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.308064973Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.307387ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.312385814Z level=info msg="Executing migration" id="add index dashboard.account_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.313259859Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=873.635µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.317695593Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.318552027Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=856.134µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.325528942Z level=info msg="Executing migration" id="create dashboard_tag table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.32688397Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.354538ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.330954114Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.331814799Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=858.805µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.335490702Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.336272654Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=781.911µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.341331375Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.346304785Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=4.97214ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.350488982Z level=info msg="Executing migration" id="create dashboard v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.351313105Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=821.733µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.354997758Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.35578347Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=787.332µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.360497993Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.361349056Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=850.614µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.366980774Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.367396946Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=415.582µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.37109847Z level=info msg="Executing migration" id="drop table dashboard_v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.372429377Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.326867ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.378497677Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.378695602Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=197.465µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.382738966Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.3846462Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.906324ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.388705574Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.391455621Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.747977ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.396209864Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.398475107Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.293014ms 11:39:06 policy-api | Waiting for mariadb port 3306... 11:39:06 policy-api | mariadb (172.17.0.2:3306) open 11:39:06 policy-api | Waiting for policy-db-migrator port 6824... 11:39:06 policy-api | policy-db-migrator (172.17.0.5:6824) open 11:39:06 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 11:39:06 policy-api | 11:39:06 policy-api | . ____ _ __ _ _ 11:39:06 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 11:39:06 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 11:39:06 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 11:39:06 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 11:39:06 policy-api | =========|_|==============|___/=/_/_/_/ 11:39:06 policy-api | :: Spring Boot :: (v2.7.8) 11:39:06 policy-api | 11:39:06 policy-api | [2024-03-15T11:37:35.121+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 35 (/app/api.jar started by policy in /opt/app/policy/api/bin) 11:39:06 policy-api | [2024-03-15T11:37:35.125+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 11:39:06 policy-api | [2024-03-15T11:37:36.454+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 11:39:06 policy-api | [2024-03-15T11:37:36.541+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 76 ms. Found 6 JPA repository interfaces. 11:39:06 policy-api | [2024-03-15T11:37:37.559+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 11:39:06 policy-api | [2024-03-15T11:37:37.573+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 11:39:06 policy-api | [2024-03-15T11:37:37.573+00:00|INFO|StandardService|main] Starting service [Tomcat] 11:39:06 policy-api | [2024-03-15T11:37:37.573+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] 11:39:06 policy-api | [2024-03-15T11:37:37.656+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 11:39:06 policy-api | [2024-03-15T11:37:37.656+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2472 ms 11:39:06 policy-api | [2024-03-15T11:37:38.211+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 11:39:06 policy-api | [2024-03-15T11:37:38.279+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final 11:39:06 policy-api | [2024-03-15T11:37:38.482+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 11:39:06 policy-api | [2024-03-15T11:37:38.621+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 11:39:06 policy-api | [2024-03-15T11:37:38.738+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 11:39:06 policy-api | [2024-03-15T11:37:38.762+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect 11:39:06 policy-api | [2024-03-15T11:37:40.197+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 11:39:06 policy-api | [2024-03-15T11:37:40.208+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 11:39:06 policy-api | [2024-03-15T11:37:41.290+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 11:39:06 policy-api | [2024-03-15T11:37:41.999+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 11:39:06 policy-api | [2024-03-15T11:37:43.148+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@1942a960, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5bee88e3, org.springframework.security.web.context.SecurityContextPersistenceFilter@5e147821, org.springframework.security.web.header.HeaderWriterFilter@119b837, org.springframework.security.web.authentication.logout.LogoutFilter@b09df69, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@7f2163d3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@395065af, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@304d6881, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2dd25088, org.springframework.security.web.session.SessionManagementFilter@5621119d, org.springframework.security.web.access.ExceptionTranslationFilter@2ce5ea69, org.springframework.security.web.access.intercept.AuthorizationFilter@65c2610f] 11:39:06 policy-api | [2024-03-15T11:37:43.298+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:39:06 policy-api | [2024-03-15T11:37:46.532+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 11:39:06 policy-api | [2024-03-15T11:37:46.561+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 11:39:06 policy-api | [2024-03-15T11:37:46.589+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 11:39:06 policy-api | [2024-03-15T11:37:46.604+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.315 seconds (JVM running for 12.977) 11:39:06 policy-api | [2024-03-15T11:37:50.228+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 11:39:06 policy-api | [2024-03-15T11:37:50.229+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 11:39:06 policy-api | [2024-03-15T11:37:50.230+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms 11:39:06 policy-api | [2024-03-15T11:37:52.940+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: 11:39:06 policy-api | [] 11:39:06 policy-api | [2024-03-15T11:37:53.063+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes 11:39:06 policy-api | [2024-03-15T11:37:53.320+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes 11:39:06 policy-api | [2024-03-15T11:37:54.975+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies 11:39:06 policy-api | [2024-03-15T11:37:57.859+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 11:39:06 policy-api | [2024-03-15T11:37:58.453+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 11:39:06 policy-api | [2024-03-15T11:37:58.745+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 11:39:06 policy-api | [2024-03-15T11:37:59.047+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 11:39:06 policy-api | [2024-03-15T11:37:59.431+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 11:39:06 policy-api | [2024-03-15T11:37:59.750+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 11:39:06 mariadb | 2024-03-15 11:37:18+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:39:06 mariadb | 2024-03-15 11:37:18+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 11:39:06 mariadb | 2024-03-15 11:37:18+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:39:06 mariadb | 2024-03-15 11:37:19+00:00 [Note] [Entrypoint]: Initializing database files 11:39:06 mariadb | 2024-03-15 11:37:19 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:39:06 mariadb | 2024-03-15 11:37:19 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:39:06 mariadb | 2024-03-15 11:37:19 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:39:06 mariadb | 11:39:06 mariadb | 11:39:06 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 11:39:06 mariadb | To do so, start the server, then issue the following command: 11:39:06 mariadb | 11:39:06 mariadb | '/usr/bin/mysql_secure_installation' 11:39:06 mariadb | 11:39:06 mariadb | which will also give you the option of removing the test 11:39:06 mariadb | databases and anonymous user created by default. This is 11:39:06 mariadb | strongly recommended for production servers. 11:39:06 mariadb | 11:39:06 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 11:39:06 mariadb | 11:39:06 mariadb | Please report any problems at https://mariadb.org/jira 11:39:06 mariadb | 11:39:06 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 11:39:06 mariadb | 11:39:06 mariadb | Consider joining MariaDB's strong and vibrant community: 11:39:06 mariadb | https://mariadb.org/get-involved/ 11:39:06 mariadb | 11:39:06 mariadb | 2024-03-15 11:37:21+00:00 [Note] [Entrypoint]: Database files initialized 11:39:06 mariadb | 2024-03-15 11:37:21+00:00 [Note] [Entrypoint]: Starting temporary server 11:39:06 mariadb | 2024-03-15 11:37:21+00:00 [Note] [Entrypoint]: Waiting for server startup 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: Number of transaction pools: 1 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: Completed initialization of buffer pool 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: 128 rollback segments are active. 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: log sequence number 46590; transaction id 14 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Note] Plugin 'FEEDBACK' is disabled. 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 11:39:06 mariadb | 2024-03-15 11:37:21 0 [Note] mariadbd: ready for connections. 11:39:06 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 11:39:06 mariadb | 2024-03-15 11:37:22+00:00 [Note] [Entrypoint]: Temporary server started. 11:39:06 mariadb | 2024-03-15 11:37:23+00:00 [Note] [Entrypoint]: Creating user policy_user 11:39:06 mariadb | 2024-03-15 11:37:23+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 11:39:06 mariadb | 11:39:06 mariadb | 2024-03-15 11:37:23+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 11:39:06 mariadb | 11:39:06 mariadb | 2024-03-15 11:37:23+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.402235963Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.403066036Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=829.833µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.407463679Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.409435484Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.973045ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.414688611Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.415814634Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.125253ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.420282958Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.421554724Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.271756ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.425751142Z level=info msg="Executing migration" id="Update dashboard table charset" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.425793633Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=44.372µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.430248898Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.430293069Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=45.681µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.435746242Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.438875479Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.128437ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.504521909Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.507733009Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.21025ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.512908504Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.516485955Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.575871ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.522251177Z level=info msg="Executing migration" id="Add column uid in dashboard" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.52417217Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.920153ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.527869915Z level=info msg="Executing migration" id="Update uid column values in dashboard" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.528157983Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=287.047µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.532120253Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.533466641Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.345228ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.537942676Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.53875511Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=812.754µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.54415342Z level=info msg="Executing migration" id="Update dashboard title length" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.544201401Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=49.461µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.548309687Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.549760087Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.44995ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.554645474Z level=info msg="Executing migration" id="create dashboard_provisioning" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.555422006Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=775.902µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.560501459Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.569300095Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=8.800667ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.573066011Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.573626587Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=560.295µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.577402772Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.577957318Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=555.436µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.583484713Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.584874222Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.38909ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.589168413Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.589521323Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=352.38µs 11:39:06 mariadb | #!/bin/bash -xv 11:39:06 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 11:39:06 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.594195313Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 11:39:06 mariadb | # 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.594683896Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=488.443µs 11:39:06 policy-db-migrator | Waiting for mariadb port 3306... 11:39:06 prometheus | ts=2024-03-15T11:37:17.880Z caller=main.go:564 level=info msg="No time or size retention was set so using the default time retention" duration=15d 11:39:06 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.599586924Z level=info msg="Executing migration" id="Add check_sum column" 11:39:06 prometheus | ts=2024-03-15T11:37:17.880Z caller=main.go:608 level=info msg="Starting Prometheus Server" mode=server version="(version=2.50.1, branch=HEAD, revision=8c9b0285360a0b6288d76214a75ce3025bce4050)" 11:39:06 mariadb | # you may not use this file except in compliance with the License. 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.602958818Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.371154ms 11:39:06 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:39:06 prometheus | ts=2024-03-15T11:37:17.880Z caller=main.go:613 level=info build_context="(go=go1.21.7, platform=linux/amd64, user=root@6213bb3ee580, date=20240226-11:36:26, tags=netgo,builtinassets,stringlabels)" 11:39:06 mariadb | # You may obtain a copy of the License at 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.606450607Z level=info msg="Executing migration" id="Add index for dashboard_title" 11:39:06 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:39:06 prometheus | ts=2024-03-15T11:37:17.880Z caller=main.go:614 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" 11:39:06 mariadb | # 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.607195367Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=744.05µs 11:39:06 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:39:06 prometheus | ts=2024-03-15T11:37:17.880Z caller=main.go:615 level=info fd_limits="(soft=1048576, hard=1048576)" 11:39:06 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.611292142Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 11:39:06 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:39:06 prometheus | ts=2024-03-15T11:37:17.880Z caller=main.go:616 level=info vm_limits="(soft=unlimited, hard=unlimited)" 11:39:06 mariadb | # 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.611671354Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=381.311µs 11:39:06 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:39:06 prometheus | ts=2024-03-15T11:37:17.882Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 11:39:06 mariadb | # Unless required by applicable law or agreed to in writing, software 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.623486754Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 11:39:06 prometheus | ts=2024-03-15T11:37:17.882Z caller=main.go:1118 level=info msg="Starting TSDB ..." 11:39:06 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.6236739Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=187.726µs 11:39:06 prometheus | ts=2024-03-15T11:37:17.888Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 11:39:06 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.627128686Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 11:39:06 prometheus | ts=2024-03-15T11:37:17.888Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 11:39:06 mariadb | # See the License for the specific language governing permissions and 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.627957029Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=828.083µs 11:39:06 prometheus | ts=2024-03-15T11:37:17.891Z caller=head.go:610 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 11:39:06 mariadb | # limitations under the License. 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.6311878Z level=info msg="Executing migration" id="Add isPublic for dashboard" 11:39:06 prometheus | ts=2024-03-15T11:37:17.891Z caller=head.go:692 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.86µs 11:39:06 mariadb | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.633453823Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.267183ms 11:39:06 prometheus | ts=2024-03-15T11:37:17.891Z caller=head.go:700 level=info component=tsdb msg="Replaying WAL, this may take a while" 11:39:06 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.638406842Z level=info msg="Executing migration" id="create data_source table" 11:39:06 prometheus | ts=2024-03-15T11:37:17.891Z caller=head.go:771 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 11:39:06 mariadb | do 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.640154812Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.74761ms 11:39:06 prometheus | ts=2024-03-15T11:37:17.891Z caller=head.go:808 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=128.193µs wal_replay_duration=473.078µs wbl_replay_duration=190ns total_replay_duration=630.671µs 11:39:06 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 11:39:06 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.645496392Z level=info msg="Executing migration" id="add index data_source.account_id" 11:39:06 prometheus | ts=2024-03-15T11:37:17.894Z caller=main.go:1139 level=info fs_type=EXT4_SUPER_MAGIC 11:39:06 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 11:39:06 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.646931391Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.43698ms 11:39:06 prometheus | ts=2024-03-15T11:37:17.894Z caller=main.go:1142 level=info msg="TSDB started" 11:39:06 mariadb | done 11:39:06 policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.651346535Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 11:39:06 prometheus | ts=2024-03-15T11:37:17.894Z caller=main.go:1324 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 11:39:06 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:39:06 policy-db-migrator | 314 blocks 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.652156938Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=809.973µs 11:39:06 prometheus | ts=2024-03-15T11:37:17.895Z caller=main.go:1361 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.061008ms db_storage=1.78µs remote_storage=3.15µs web_handler=500ns query_engine=1.72µs scrape=266.764µs scrape_sd=167.583µs notify=35.871µs notify_sd=9.96µs rules=2.68µs tracing=5.87µs 11:39:06 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.656071957Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 11:39:06 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:39:06 prometheus | ts=2024-03-15T11:37:17.895Z caller=main.go:1103 level=info msg="Server is ready to receive web requests." 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.65685991Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=788.233µs 11:39:06 prometheus | ts=2024-03-15T11:37:17.895Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." 11:39:06 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.662452487Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 11:39:06 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 11:39:06 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.663149436Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=696.53µs 11:39:06 policy-db-migrator | Preparing upgrade release version: 0800 11:39:06 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.667335133Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 11:39:06 policy-db-migrator | Preparing upgrade release version: 0900 11:39:06 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.677633972Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.300129ms 11:39:06 policy-db-migrator | Preparing upgrade release version: 1000 11:39:06 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.683249329Z level=info msg="Executing migration" id="create data_source table v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.68400027Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=750.431µs 11:39:06 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.688473016Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 11:39:06 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 11:39:06 policy-db-migrator | Preparing upgrade release version: 1100 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.689841053Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.367957ms 11:39:06 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:39:06 policy-db-migrator | Preparing upgrade release version: 1200 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.694233737Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 11:39:06 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.695546414Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.312277ms 11:39:06 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.700683248Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 11:39:06 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.701242824Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=558.816µs 11:39:06 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:39:06 policy-db-migrator | Done 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.705695318Z level=info msg="Executing migration" id="Add column with_credentials" 11:39:06 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 11:39:06 policy-db-migrator | name version 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.709619639Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.918711ms 11:39:06 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:39:06 policy-db-migrator | policyadmin 0 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.713778435Z level=info msg="Executing migration" id="Add secure json data column" 11:39:06 mariadb | 11:39:06 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.71608295Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.301175ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.7210718Z level=info msg="Executing migration" id="Update data_source table charset" 11:39:06 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 11:39:06 policy-db-migrator | upgrade: 0 -> 1200 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.721101131Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=30.421µs 11:39:06 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.724823735Z level=info msg="Executing migration" id="Update initial version to 1" 11:39:06 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.725318139Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=495.413µs 11:39:06 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.795033763Z level=info msg="Executing migration" id="Add read_only data column" 11:39:06 mariadb | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.799060285Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=4.025813ms 11:39:06 mariadb | 2024-03-15 11:37:24+00:00 [Note] [Entrypoint]: Stopping temporary server 11:39:06 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.803947623Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 11:39:06 mariadb | 2024-03-15 11:37:24 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.804473847Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=525.945µs 11:39:06 mariadb | 2024-03-15 11:37:24 0 [Note] InnoDB: FTS optimize thread exiting. 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.81030377Z level=info msg="Executing migration" id="Update json_data with nulls" 11:39:06 mariadb | 2024-03-15 11:37:24 0 [Note] InnoDB: Starting shutdown... 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.810898178Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=594.058µs 11:39:06 mariadb | 2024-03-15 11:37:24 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.815020383Z level=info msg="Executing migration" id="Add uid column" 11:39:06 mariadb | 2024-03-15 11:37:24 0 [Note] InnoDB: Buffer pool(s) dump completed at 240315 11:37:24 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.818284534Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.267681ms 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.822186004Z level=info msg="Executing migration" id="Update uid value" 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Shutdown completed; log sequence number 330004; transaction id 298 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.822490312Z level=info msg="Migration successfully executed" id="Update uid value" duration=303.878µs 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] mariadbd: Shutdown complete 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.82670299Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 11:39:06 mariadb | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.827858503Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.156123ms 11:39:06 mariadb | 2024-03-15 11:37:25+00:00 [Note] [Entrypoint]: Temporary server stopped 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.833246944Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 11:39:06 mariadb | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.834629483Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.382228ms 11:39:06 mariadb | 2024-03-15 11:37:25+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.839410377Z level=info msg="Executing migration" id="create api_key table" 11:39:06 mariadb | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.840870277Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.45916ms 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.84596795Z level=info msg="Executing migration" id="add index api_key.account_id" 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.846857825Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=889.715µs 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Number of transaction pools: 1 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.851085174Z level=info msg="Executing migration" id="add index api_key.key" 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.852483553Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.397879ms 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:39:06 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.858447821Z level=info msg="Executing migration" id="add index api_key.account_id_name" 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:39:06 policy-db-migrator | -------------- 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.859786158Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.338088ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.86523537Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.866536127Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.300897ms 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Completed initialization of buffer pool 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.870590271Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.871413583Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=823.853µs 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: 128 rollback segments are active. 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.875433176Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.876172637Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=738.801µs 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.881537267Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: log sequence number 330004; transaction id 299 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.890392156Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.853279ms 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.8941298Z level=info msg="Executing migration" id="create api_key table v2" 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] Plugin 'FEEDBACK' is disabled. 11:39:06 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.895010295Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=880.095µs 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.899390998Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.900313744Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=920.097µs 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] Server socket created on IP: '0.0.0.0'. 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.905138628Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] Server socket created on IP: '::'. 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.906052695Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=913.387µs 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] mariadbd: ready for connections. 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.90980617Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 11:39:06 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.911179148Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.372158ms 11:39:06 mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Buffer pool(s) load completed at 240315 11:37:25 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.916693453Z level=info msg="Executing migration" id="copy api_key v1 to v2" 11:39:06 mariadb | 2024-03-15 11:37:26 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) 11:39:06 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.917269079Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=576.587µs 11:39:06 mariadb | 2024-03-15 11:37:26 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.921143098Z level=info msg="Executing migration" id="Drop old table api_key_v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.921789235Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=645.687µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.925837999Z level=info msg="Executing migration" id="Update api_key table charset" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.92587085Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=34.031µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.930745886Z level=info msg="Executing migration" id="Add expires to api_key table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.934733228Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.986462ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.939849442Z level=info msg="Executing migration" id="Add service account foreign key" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.942434795Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.582643ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.945859111Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.946122618Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=262.987µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.949714668Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.952227279Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.511151ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.956866009Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.959347689Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.48125ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.963275378Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.96406071Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=785.022µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.967925289Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.968590937Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=664.158µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.973695131Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.975133541Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.43791ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.979155984Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.980077829Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=921.775µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.984008039Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.984930446Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=922.387µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.989816083Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.99043164Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=617.417µs 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.994232206Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.994412791Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=113.723µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.998351552Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 11:39:06 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:22.998391163Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=41.011µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.002031175Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.00681321Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.780165ms 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.011830366Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.014622221Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.792476ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.281985698Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.282272455Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=288.907µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.289697499Z level=info msg="Executing migration" id="create quota table v1" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.29107413Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.374701ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.298277369Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.29960432Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.326541ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.309490941Z level=info msg="Executing migration" id="Update quota table charset" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.309535332Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=41.021µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.314264692Z level=info msg="Executing migration" id="create plugin_setting table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.315597344Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.332132ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.321068372Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.322016543Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=950.092µs 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.325714189Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.33000495Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.288871ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.334456595Z level=info msg="Executing migration" id="Update plugin_setting table charset" 11:39:06 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.334492225Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=36.691µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.338926168Z level=info msg="Executing migration" id="create session table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.33988589Z level=info msg="Migration successfully executed" id="create session table" duration=959.902µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.344820316Z level=info msg="Executing migration" id="Drop old table playlist table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.34498745Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=166.064µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.349520546Z level=info msg="Executing migration" id="Drop old table playlist_item table" 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.349761242Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=240.026µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.354878631Z level=info msg="Executing migration" id="create playlist table v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.356071559Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.193178ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.362689604Z level=info msg="Executing migration" id="create playlist item table v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.363884802Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.195287ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.37024801Z level=info msg="Executing migration" id="Update playlist table charset" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.370275571Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=28.821µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.374047669Z level=info msg="Executing migration" id="Update playlist_item table charset" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.37407966Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=34.671µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.379025385Z level=info msg="Executing migration" id="Add playlist column created_at" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.383745276Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.71896ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.388843805Z level=info msg="Executing migration" id="Add playlist column updated_at" 11:39:06 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.394117638Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=5.273473ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.398366107Z level=info msg="Executing migration" id="drop preferences table v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.398524921Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=158.253µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.402243918Z level=info msg="Executing migration" id="drop preferences table v3" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.402429002Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=184.044µs 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.406898356Z level=info msg="Executing migration" id="create preferences table v3" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.408243188Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.343922ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.522268793Z level=info msg="Executing migration" id="Update preferences table charset" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.522327424Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=62.752µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.527307269Z level=info msg="Executing migration" id="Add column team_id in preferences" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.531355355Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.048765ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.536430133Z level=info msg="Executing migration" id="Update team_id column values in preferences" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.536687089Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=256.556µs 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.540501468Z level=info msg="Executing migration" id="Add column week_start in preferences" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.544130672Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.631194ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.548103796Z level=info msg="Executing migration" id="Add column preferences.json_data" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.55130126Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.197394ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.556752738Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 11:39:06 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.556819819Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=67.871µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.58767873Z level=info msg="Executing migration" id="Add preferences index org_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.590093637Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=2.414897ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.596112337Z level=info msg="Executing migration" id="Add preferences index user_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.5970995Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=987.353µs 11:39:06 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.728546941Z level=info msg="Executing migration" id="create alert table v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.730589119Z level=info msg="Migration successfully executed" id="create alert table v1" duration=2.044148ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.738608017Z level=info msg="Executing migration" id="add index alert org_id & id " 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.741037984Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=2.427517ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.749713516Z level=info msg="Executing migration" id="add index alert state" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.750833712Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.120616ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.7592954Z level=info msg="Executing migration" id="add index alert dashboard_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.76144021Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=2.14727ms 11:39:06 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.766444137Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.767300537Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=855.28µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.771752151Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.772778865Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.028344ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.777215959Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.77813487Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=919.281µs 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.789351572Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.800610045Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=11.259213ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.827605856Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.828657861Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=1.051504ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.835003369Z 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.835983472Z 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=980.013µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.84105772Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.841685005Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=626.605µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.848233508Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.849698782Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=1.465514ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.854689148Z level=info msg="Executing migration" id="create alert_notification table v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.856244115Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.552767ms 11:39:06 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.860675028Z level=info msg="Executing migration" id="Add column is_default" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.864481598Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.80749ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.868277106Z level=info msg="Executing migration" id="Add column frequency" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.87189492Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.611564ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.876777725Z level=info msg="Executing migration" id="Add column send_reminder" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.88043354Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.653915ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.885515939Z level=info msg="Executing migration" id="Add column disable_resolve_message" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.889227826Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.711367ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.893103326Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.893986967Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=883.391µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.899234119Z level=info msg="Executing migration" id="Update alert table charset" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.899257Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=23.641µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.903256784Z level=info msg="Executing migration" id="Update alert_notification table charset" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.903278304Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=23.11µs 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.907264377Z level=info msg="Executing migration" id="create notification_journal table v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.908612179Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.347112ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.913254837Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.914251141Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=995.904µs 11:39:06 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.920017825Z level=info msg="Executing migration" id="drop alert_notification_journal" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.921277014Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.259369ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.925827031Z level=info msg="Executing migration" id="create alert_notification_state table v1" 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.927207633Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.380042ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.93263007Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.933605112Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=975.162µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.938474896Z level=info msg="Executing migration" id="Add for to alert table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.945246225Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.771309ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.949729619Z level=info msg="Executing migration" id="Add column uid in alert_notification" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:23.953871226Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.141497ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.003401693Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.003966137Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=566.224µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.008402034Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.009983952Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.581868ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.01616091Z level=info msg="Executing migration" id="Remove unique index org_id_name" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.017292767Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.134306ms 11:39:06 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.022386068Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.027436099Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.048971ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.032402477Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.032473819Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=72.092µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.036556406Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.037304484Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=748.727µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.043644566Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 11:39:06 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.045726515Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=2.084019ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.050455448Z level=info msg="Executing migration" id="Drop old annotation table v4" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.050653182Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=168.374µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.055822826Z level=info msg="Executing migration" id="create annotation table v5" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.056672416Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=849.75µs 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.062233398Z level=info msg="Executing migration" id="add index annotation 0 v3" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.063781106Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.548378ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.072940114Z level=info msg="Executing migration" id="add index annotation 1 v3" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.073892208Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=952.124µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.079003669Z level=info msg="Executing migration" id="add index annotation 2 v3" 11:39:06 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.080502825Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.495996ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.087746717Z level=info msg="Executing migration" id="add index annotation 3 v3" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.089228883Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.483796ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.094698754Z level=info msg="Executing migration" id="add index annotation 4 v3" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.096984268Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=2.288944ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.102597102Z level=info msg="Executing migration" id="Update annotation table charset" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.102636443Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=39.301µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.112930788Z level=info msg="Executing migration" id="Add column region_id to annotation table" 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.119546807Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.614599ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.12472743Z level=info msg="Executing migration" id="Drop category_id index" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.125386036Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=659.106µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.131339488Z level=info msg="Executing migration" id="Add column tags to annotation table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.13850924Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=7.168421ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.145140757Z level=info msg="Executing migration" id="Create annotation_tag table v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.145911795Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=770.578µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.155393472Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.157061601Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.667079ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.163018524Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.16450476Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.486415ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.172552401Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.184145758Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=11.591967ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.188559823Z level=info msg="Executing migration" id="Create annotation_tag table v3" 11:39:06 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.189182669Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=622.355µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.196672766Z 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.198741816Z 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=2.06876ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.207683829Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.208089599Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=405.37µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.213303423Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.214179375Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=875.322µs 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.264981198Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.265620963Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=642.946µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.27474785Z level=info msg="Executing migration" id="Add created time to annotation table" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.281330858Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.581967ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.287693539Z level=info msg="Executing migration" id="Add updated time to annotation table" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.292164785Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.468416ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.299638754Z level=info msg="Executing migration" id="Add index for created in annotation table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.300663668Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.025265ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.306267501Z level=info msg="Executing migration" id="Add index for updated in annotation table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.307677656Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.409915ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.314784675Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.315057712Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=272.747µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.321431144Z level=info msg="Executing migration" id="Add epoch_end column" 11:39:06 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.327898818Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.467894ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.335058479Z level=info msg="Executing migration" id="Add index for epoch_end" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.335976621Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=917.482µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.343984412Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.344424712Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=438.21µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.352033844Z level=info msg="Executing migration" id="Move region to single row" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.352808572Z level=info msg="Migration successfully executed" id="Move region to single row" duration=777.738µs 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.359630266Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.361128631Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.498565ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.37113914Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.372562123Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.424053ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.379721315Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.381288702Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.569677ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.388909514Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.389834476Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=924.542µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.402362105Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.403803539Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.441944ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.417022485Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.418606513Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.583529ms 11:39:06 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.424434972Z level=info msg="Executing migration" id="Increase tags column to length 4096" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.424536514Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=100.962µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.429260266Z level=info msg="Executing migration" id="create test_data table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.430157898Z level=info msg="Migration successfully executed" id="create test_data table" duration=894.942µs 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.437099923Z level=info msg="Executing migration" id="create dashboard_version table v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.438474947Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.374144ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.447279727Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.448809973Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.530086ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.454855977Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.455824361Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=968.044µs 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.460605815Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.460880061Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=273.446µs 11:39:06 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.468231687Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.468684467Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=452.361µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.474906246Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.475105521Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=198.755µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.48093202Z level=info msg="Executing migration" id="create team table" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.482188659Z level=info msg="Migration successfully executed" id="create team table" duration=1.253169ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.487484206Z level=info msg="Executing migration" id="add index team.org_id" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.488929601Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.446615ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.544652621Z level=info msg="Executing migration" id="add unique index team_org_id_name" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.546470683Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.819272ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.554103666Z level=info msg="Executing migration" id="Add column uid in team" 11:39:06 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.558911991Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.807525ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.567577077Z level=info msg="Executing migration" id="Update uid column values in team" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.567843654Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=265.647µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.576954561Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.57902847Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=2.073609ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.585243338Z level=info msg="Executing migration" id="create team member table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.586097708Z level=info msg="Migration successfully executed" id="create team member table" duration=854.26µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.597370668Z level=info msg="Executing migration" id="add index team_member.org_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.598808442Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.456685ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.607299535Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.608974865Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.67562ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.617060628Z level=info msg="Executing migration" id="add index team_member.team_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.618883741Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.823094ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.623605734Z level=info msg="Executing migration" id="Add column email to team table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.628671845Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.064531ms 11:39:06 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.635358444Z level=info msg="Executing migration" id="Add column external to team_member table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.640097058Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.738154ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.649576624Z level=info msg="Executing migration" id="Add column permission to team_member table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.657649706Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=8.069642ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.662510603Z level=info msg="Executing migration" id="create dashboard acl table" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.66324561Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=734.417µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.668458645Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.670060622Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.601898ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.677027929Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.678649447Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.621228ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.688604445Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.690743736Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=2.138631ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.695713324Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.696711819Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=995.834µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.707005725Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.708780376Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.776302ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.716678765Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.71816215Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.483185ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.725827843Z level=info msg="Executing migration" id="add index dashboard_permission" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.726795916Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=968.193µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.735605617Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 11:39:06 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.736513878Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=907.501µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.744392106Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.744900348Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=507.882µs 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.750112663Z level=info msg="Executing migration" id="create tag table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.751329621Z level=info msg="Migration successfully executed" id="create tag table" duration=1.216659ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.758924073Z level=info msg="Executing migration" id="add index tag.key_value" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.759958197Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.034114ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.803081757Z level=info msg="Executing migration" id="create login attempt table" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.80489727Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.818883ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.812244835Z level=info msg="Executing migration" id="add index login_attempt.username" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.813915766Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.67034ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.819659842Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.821886416Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=2.226714ms 11:39:06 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.832442777Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.850962519Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.519752ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.858280744Z level=info msg="Executing migration" id="create login_attempt v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.859570965Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=1.289781ms 11:39:06 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.867590836Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.869175373Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.580447ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.877890652Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.878293451Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=400.579µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.886990559Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.888780481Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.789872ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.89751329Z level=info msg="Executing migration" id="create user auth table" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.898535734Z level=info msg="Migration successfully executed" id="create user auth table" duration=836.6µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.904448505Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 11:39:06 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.906695929Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=2.246864ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.912998509Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.913099392Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=100.783µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.920543169Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.92599442Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.452171ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.93356666Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.942594836Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=9.026396ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.947586694Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.95116182Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=3.571696ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.958183437Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.965904702Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=7.718605ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.974548348Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.97547905Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=930.272µs 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.981075853Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.989424842Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.349939ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.992822084Z level=info msg="Executing migration" id="create server_lock table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.993632473Z level=info msg="Migration successfully executed" id="create server_lock table" duration=808.789µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.998641703Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 11:39:06 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:24.999508364Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=866.591µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.003177321Z level=info msg="Executing migration" id="create user auth token table" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.004014972Z level=info msg="Migration successfully executed" id="create user auth token table" duration=837.161µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.008934768Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.010352202Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.417884ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.01444451Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.015744571Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.300752ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.020987717Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.02196869Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=980.693µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.065515388Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.072437324Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.923596ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.077975276Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.078869117Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=893.861µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.082258358Z level=info msg="Executing migration" id="create cache_data table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.083118949Z level=info msg="Migration successfully executed" id="create cache_data table" duration=860.191µs 11:39:06 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.086661163Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.087551694Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=887.811µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.090929886Z level=info msg="Executing migration" id="create short_url table v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.091808646Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=878.17µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.097732578Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 11:39:06 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.098697781Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=964.782µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.102176784Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.102279497Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=103.663µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.105837871Z level=info msg="Executing migration" id="delete alert_definition table" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.105968314Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=130.943µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.111326092Z level=info msg="Executing migration" id="recreate alert_definition table" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.112797187Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.472615ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.116475265Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.11796476Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.489355ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.121403022Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.122346885Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=943.253µs 11:39:06 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.127281663Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.127343185Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=61.622µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.130648274Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.132030416Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.381532ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.13556984Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.136727039Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.157518ms 11:39:06 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.14181155Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.142833364Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.020914ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.146156703Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.147139787Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=981.574µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.150356054Z level=info msg="Executing migration" id="Add column paused in alert_definition" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.156009469Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.652725ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.160822304Z level=info msg="Executing migration" id="drop alert_definition table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.161723035Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=899.561µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.164841879Z level=info msg="Executing migration" id="delete alert_definition_version table" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.164921491Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=79.222µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.169975552Z level=info msg="Executing migration" id="recreate alert_definition_version table" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.171250582Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.27347ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.174951541Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.176630571Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.67887ms 11:39:06 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.180607396Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.182221634Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.613408ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.191828204Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.191893595Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=65.941µs 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.206225308Z level=info msg="Executing migration" id="drop alert_definition_version table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.207746383Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.521096ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.221070121Z level=info msg="Executing migration" id="create alert_instance table" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.222578688Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.507887ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.234772218Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.236429807Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.657079ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.248467455Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.249998681Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.530716ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.26126082Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.268606636Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.345996ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.284163618Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.285580541Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.415793ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.332542762Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.334042847Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.499635ms 11:39:06 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.377584147Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.405683008Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=28.100721ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.409395686Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.431745859Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=22.349713ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.43972909Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.440767024Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.037014ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.452866434Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.45438424Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.517816ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.461107951Z level=info msg="Executing migration" id="add current_reason column related to current_state" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.470490214Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.383893ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.475101875Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.48033643Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.232455ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.52306915Z level=info msg="Executing migration" id="create alert_rule table" 11:39:06 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.525354854Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=2.287834ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.52982055Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.531920401Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=2.100161ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.542192596Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.544113301Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.921885ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.549781366Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.551129209Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.348233ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.621289063Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.621412496Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=124.133µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.628697421Z level=info msg="Executing migration" id="add column for to alert_rule" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.637859049Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.162808ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.641943906Z level=info msg="Executing migration" id="add column annotations to alert_rule" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.646871594Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.922978ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.652863997Z level=info msg="Executing migration" id="add column labels to alert_rule" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.65888053Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.016413ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.669226397Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 11:39:06 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.670254842Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.025924ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.674827561Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.676658795Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.830154ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.681184913Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.68735526Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.169997ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.694732866Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.703030474Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=8.291978ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.708026464Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.708824192Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=797.438µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.714049767Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.72340587Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.356513ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.732979909Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.742009825Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=9.029546ms 11:39:06 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.745750793Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.745824635Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=75.322µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.750950358Z level=info msg="Executing migration" id="create alert_rule_version table" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.752561777Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.607819ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.76235594Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.764110852Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=1.754252ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.76904655Z 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.77030527Z 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.26375ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.775298409Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.775363771Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=65.902µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.782534791Z level=info msg="Executing migration" id="add column for to alert_rule_version" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.792292595Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.756334ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.798710618Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.803266617Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.555788ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.812865905Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.822303071Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=9.438716ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.825669242Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 11:39:06 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.835608378Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=9.937066ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.89730625Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.907186707Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=9.879957ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.911349076Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.911445808Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=95.992µs 11:39:06 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.915189578Z level=info msg="Executing migration" id=create_alert_configuration_table 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.916043438Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=853.34µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.924259904Z level=info msg="Executing migration" id="Add column default in alert_configuration" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.932373038Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.113814ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.935792319Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.935883931Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=65.832µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.939030116Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.945255776Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.22499ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.950836249Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.951867333Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.030814ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.955136341Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 11:39:06 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.961432771Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.29573ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.964940026Z level=info msg="Executing migration" id=create_ngalert_configuration_table 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.965781735Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=845.779µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.969308119Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.970319013Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.011044ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.976333867Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.982560566Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.226029ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.986265334Z level=info msg="Executing migration" id="create provenance_type table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.987098394Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=832.67µs 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.992102943Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:25.993708902Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.604349ms 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.000143075Z level=info msg="Executing migration" id="create alert_image table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.001495358Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.352703ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.005139915Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.006150268Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.010533ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.009482048Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.009680513Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=184.835µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.014267022Z level=info msg="Executing migration" id=create_alert_configuration_history_table 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.01625378Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.986048ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.022894838Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.02464114Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.742522ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.028337178Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.029142167Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.033145943Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.033776838Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=629.285µs 11:39:06 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.039079285Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.040210451Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.130976ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.044539225Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.051268945Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.72902ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.055326393Z level=info msg="Executing migration" id="create library_element table v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.056517641Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.190328ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.061136492Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.062852243Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.7098ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.067001281Z level=info msg="Executing migration" id="create library_element_connection table v1" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.068573799Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.571318ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.074234824Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.07532262Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.087716ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.079862929Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.081648791Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.785592ms 11:39:06 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.085916463Z level=info msg="Executing migration" id="increase max description length to 2048" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.086072887Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=157.504µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.090112823Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.090293947Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=180.814µs 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.094973189Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.095377429Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=403.96µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.099523308Z level=info msg="Executing migration" id="create data_keys table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.10132367Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.799552ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.106990846Z level=info msg="Executing migration" id="create secrets table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.107911609Z level=info msg="Migration successfully executed" id="create secrets table" duration=920.502µs 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.112848525Z level=info msg="Executing migration" id="rename data_keys name column to id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.150593987Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=37.738212ms 11:39:06 policy-db-migrator | > upgrade 0450-pdpgroup.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.176577967Z level=info msg="Executing migration" id="add name column into data_keys" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.185581362Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=9.004285ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.189490356Z level=info msg="Executing migration" id="copy data_keys id column values into name" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.189750492Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=259.486µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.1934701Z level=info msg="Executing migration" id="rename data_keys name column to label" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.225781242Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=32.311132ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.230672908Z level=info msg="Executing migration" id="rename data_keys id column back to name" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.260116612Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=29.443294ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.263798629Z level=info msg="Executing migration" id="create kv_store table v1" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.264547308Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=749.118µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.268380679Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.269232509Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=851.74µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.276106994Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.276688257Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=581.713µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.280920168Z level=info msg="Executing migration" id="create permission table" 11:39:06 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.282524206Z level=info msg="Migration successfully executed" id="create permission table" duration=1.603388ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.286858639Z level=info msg="Executing migration" id="add unique index permission.role_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.287985227Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.127258ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.293661502Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.29565918Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=2.000728ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.300171717Z level=info msg="Executing migration" id="create role table" 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.301282745Z level=info msg="Migration successfully executed" id="create role table" duration=1.112538ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.305414303Z level=info msg="Executing migration" id="add column display_name" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.312976494Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.56091ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.31826435Z level=info msg="Executing migration" id="add column group_name" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.325682936Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.416286ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.333688438Z level=info msg="Executing migration" id="add index role.org_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.334792785Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.104097ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.339321572Z level=info msg="Executing migration" id="add unique index role_org_id_name" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.341289359Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.967347ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.346881733Z level=info msg="Executing migration" id="add index role_org_id_uid" 11:39:06 policy-db-migrator | > upgrade 0470-pdp.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.34805161Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.169777ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.352417265Z level=info msg="Executing migration" id="create team role table" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.353409208Z level=info msg="Migration successfully executed" id="create team role table" duration=989.093µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.357985318Z level=info msg="Executing migration" id="add index team_role.org_id" 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.360017617Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=2.031799ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.365261971Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.366516392Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.256441ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.370542727Z level=info msg="Executing migration" id="add index team_role.team_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.372416742Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.872785ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.386100809Z level=info msg="Executing migration" id="create user role table" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.387686606Z level=info msg="Migration successfully executed" id="create user role table" duration=1.585007ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.393446355Z level=info msg="Executing migration" id="add index user_role.org_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.394605262Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.158997ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.442299171Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.44433383Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=2.035289ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.450801034Z level=info msg="Executing migration" id="add index user_role.user_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.452007072Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.205688ms 11:39:06 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.457260147Z level=info msg="Executing migration" id="create builtin role table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.458288123Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.029905ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.464093691Z level=info msg="Executing migration" id="add index builtin_role.role_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.465990706Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.897145ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.471084998Z level=info msg="Executing migration" id="add index builtin_role.name" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.47241679Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.334873ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.477806749Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.485988664Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.181375ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.490826389Z level=info msg="Executing migration" id="add index builtin_role.org_id" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.492798006Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.971637ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.497615102Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.499555757Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.940636ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.503995083Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.505156091Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.160878ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.509998037Z level=info msg="Executing migration" id="add unique index role.uid" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.511104144Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.106207ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.515826456Z level=info msg="Executing migration" id="create seed assignment table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.51680459Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=978.814µs 11:39:06 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.522091665Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.524055742Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.963677ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.528269243Z level=info msg="Executing migration" id="add column hidden to role table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.538742893Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.47433ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.542685737Z level=info msg="Executing migration" id="permission kind migration" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.548631539Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.948542ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.552171313Z level=info msg="Executing migration" id="permission attribute migration" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.560116933Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.94535ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.564669142Z level=info msg="Executing migration" id="permission identifier migration" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.578356849Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=13.687457ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.583910392Z level=info msg="Executing migration" id="add permission identifier index" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.584819433Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=909.321µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.587262872Z level=info msg="Executing migration" id="add permission action scope role_id index" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.588154923Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=891.081µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.591010771Z level=info msg="Executing migration" id="remove permission role_id action scope index" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.592100966Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.090525ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.597670409Z level=info msg="Executing migration" id="create query_history table v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.598579662Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=908.813µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.602196708Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.604459432Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=2.255734ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.607841312Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.607952105Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=112.093µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.613061987Z level=info msg="Executing migration" id="rbac disabled migrator" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.613124359Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=63.312µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.616444668Z level=info msg="Executing migration" id="teams permissions migration" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.616864748Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=421.19µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.620291359Z level=info msg="Executing migration" id="dashboard permissions" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.621224792Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=934.683µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.624847988Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.625696078Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=849.94µs 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.631021136Z level=info msg="Executing migration" id="drop managed folder create actions" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.6312287Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=207.675µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.634262623Z level=info msg="Executing migration" id="alerting notification permissions" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.63497341Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=711.027µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.638275799Z level=info msg="Executing migration" id="create query_history_star table v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.639520168Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.243889ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.64501154Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.646053945Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.040555ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.650399878Z level=info msg="Executing migration" id="add column org_id in query_history_star" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.662169879Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=11.771581ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.734749212Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.734826514Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=78.212µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.74090907Z level=info msg="Executing migration" id="create correlation table v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.742387234Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.482185ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.748836618Z level=info msg="Executing migration" id="add index correlations.uid" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.749889354Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.052746ms 11:39:06 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.754740359Z level=info msg="Executing migration" id="add index correlations.source_uid" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.756541402Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.800993ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.763427047Z level=info msg="Executing migration" id="add correlation config column" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.774778928Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.351311ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.779682785Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.780774661Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.092147ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.784653283Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.785661688Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.008365ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.795519883Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.81718307Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=21.662257ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.8230353Z level=info msg="Executing migration" id="create correlation v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.82388581Z level=info msg="Migration successfully executed" id="create correlation v2" duration=849.85µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.82934955Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.830474008Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.124598ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.834319429Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.835520937Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.201468ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.840011035Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.841128081Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.114526ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.846558291Z level=info msg="Executing migration" id="copy correlation v1 to v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.846851188Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=292.187µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.85066962Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.851421797Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=752.088µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.856218842Z level=info msg="Executing migration" id="add provisioning column" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.864415868Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.196016ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.869718375Z level=info msg="Executing migration" id="create entity_events table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.870541254Z level=info msg="Migration successfully executed" id="create entity_events table" duration=822.77µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.87623875Z level=info msg="Executing migration" id="create dashboard public config v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.877916639Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.677569ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.882756655Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.883215856Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.88754749Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.888007781Z 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.891933854Z level=info msg="Executing migration" id="Drop old dashboard public config table" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.892838076Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=903.682µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.896577615Z level=info msg="Executing migration" id="recreate dashboard public config v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.89764588Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.068175ms 11:39:06 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.903040549Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.904230218Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.189629ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.908853178Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.910048157Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.194829ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.914644827Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.915670151Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.025804ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.920439525Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.921446369Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.006664ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.925452174Z level=info msg="Executing migration" id="Drop public config table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.926179672Z level=info msg="Migration successfully executed" id="Drop public config table" duration=727.058µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.93152382Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.932833961Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.309371ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.937611615Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.938745712Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.134187ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.944100859Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.945546825Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.445776ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.949586801Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.950778619Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.191678ms 11:39:06 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.955349738Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.979191658Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=23.83661ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:26.999132974Z level=info msg="Executing migration" id="add annotations_enabled column" 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.010137967Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=11.007393ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.014230384Z level=info msg="Executing migration" id="add time_selection_enabled column" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.023673719Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=9.442265ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.029187001Z level=info msg="Executing migration" id="delete orphaned public dashboards" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.029861017Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=672.857µs 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.036483305Z level=info msg="Executing migration" id="add share column" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.044975628Z level=info msg="Migration successfully executed" id="add share column" duration=8.492653ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.050717875Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.050965241Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=246.506µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.057728903Z level=info msg="Executing migration" id="create file table" 11:39:06 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.058537642Z level=info msg="Migration successfully executed" id="create file table" duration=808.799µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.065666112Z level=info msg="Executing migration" id="file table idx: path natural pk" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.066858131Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.192249ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.074865922Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.07770488Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=2.839338ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.082664619Z level=info msg="Executing migration" id="create file_meta table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.083624531Z level=info msg="Migration successfully executed" id="create file_meta table" duration=959.663µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.088239352Z level=info msg="Executing migration" id="file table idx: path key" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.089599944Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.360292ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.09614458Z level=info msg="Executing migration" id="set path collation in file table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.096293653Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=149.323µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.105003042Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.105194566Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=187.784µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.113155176Z level=info msg="Executing migration" id="managed permissions migration" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.11415755Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.002074ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.118978945Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.119756574Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=778.169µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.124791124Z level=info msg="Executing migration" id="RBAC action name migrator" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.127262162Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.471718ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.131955425Z level=info msg="Executing migration" id="Add UID column to playlist" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.141223986Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.267431ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.150381025Z level=info msg="Executing migration" id="Update uid column values in playlist" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.150632061Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=250.666µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.155364783Z level=info msg="Executing migration" id="Add index for uid in playlist" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.157568526Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=2.197633ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.162197257Z level=info msg="Executing migration" id="update group index for alert rules" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.162898214Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=702.327µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.168567379Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.168910877Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=343.368µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.174209674Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.175148307Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=938.113µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.180245848Z level=info msg="Executing migration" id="add action column to seed_assignment" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.192323047Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.078549ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.195785959Z level=info msg="Executing migration" id="add scope column to seed_assignment" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.203130315Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.343006ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.210155192Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.212253603Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=2.097951ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.2171478Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.295821458Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=78.673848ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.299672619Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 11:39:06 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.300631342Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=958.713µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.307722522Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.309053533Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.329441ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.313755766Z level=info msg="Executing migration" id="add primary key to seed_assigment" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.342375039Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=28.619483ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.34786807Z level=info msg="Executing migration" id="add origin column to seed_assignment" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.354806766Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=6.937446ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.361331372Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.361725811Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=394.229µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.369859536Z level=info msg="Executing migration" id="prevent seeding OnCall access" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.370124172Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=260.716µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.375704925Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.376163776Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=462.451µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.380963411Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.381415641Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=451.98µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.38678923Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.387268921Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=479.511µs 11:39:06 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.392714491Z level=info msg="Executing migration" id="create folder table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.393730576Z level=info msg="Migration successfully executed" id="create folder table" duration=1.015845ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.403072959Z level=info msg="Executing migration" id="Add index for parent_uid" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.405180059Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.10677ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.413462337Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.415558836Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=2.094599ms 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.420831773Z level=info msg="Executing migration" id="Update folder title length" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.420878104Z level=info msg="Migration successfully executed" id="Update folder title length" duration=47.952µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.42618886Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.428513446Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.321946ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.433148217Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.434304634Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.156217ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.444002767Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.445283887Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.28065ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.454281921Z level=info msg="Executing migration" id="Sync dashboard and folder table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.455132912Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=850.52µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.459705911Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 11:39:06 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.460493079Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=786.538µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.465689864Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.466798211Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.108078ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.471914132Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.474049263Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=2.134091ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.518958946Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.520844561Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.882916ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.528922954Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.530898481Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.977307ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.536484945Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.538530993Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=2.046058ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.545114631Z level=info msg="Executing migration" id="create anon_device table" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.546140725Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.024935ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.550431338Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.551836901Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.406173ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.559904884Z level=info msg="Executing migration" id="add index anon_device.updated_at" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.561189914Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.28555ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.568892308Z level=info msg="Executing migration" id="create signing_key table" 11:39:06 policy-db-migrator | > upgrade 0570-toscadatatype.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.57062328Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.730612ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.576895399Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.578328573Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.434414ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.58488412Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.586681212Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.795772ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.592881281Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.593491406Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=611.344µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.60040724Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.610541233Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=10.133892ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.616158107Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.616930995Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=774.498µs 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.621129635Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.622821275Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.69009ms 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.628740967Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.630178651Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.438304ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.638865029Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.640919668Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=2.054329ms 11:39:06 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.65062999Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.652706429Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=2.076089ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.662246517Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.663440846Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.177978ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.669206483Z level=info msg="Executing migration" id="create sso_setting table" 11:39:06 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:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.670842533Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.63491ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.679060828Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.6799542Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=941.233µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.695745356Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.696501835Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=759.009µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.702112329Z level=info msg="Executing migration" id="alter kv_store.value to longtext" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.702235172Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=128.203µs 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.707766494Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.719912354Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=12.14782ms 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.725686232Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.735369213Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.681891ms 11:39:06 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.740089586Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.740469355Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=381.129µs 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=migrator t=2024-03-15T11:37:27.788802869Z level=info msg="migrations completed" performed=547 skipped=0 duration=5.870870846s 11:39:06 grafana | logger=sqlstore t=2024-03-15T11:37:27.80013185Z level=info msg="Created default admin" user=admin 11:39:06 grafana | logger=sqlstore t=2024-03-15T11:37:27.800525029Z level=info msg="Created default organization" 11:39:06 grafana | logger=secrets t=2024-03-15T11:37:27.806977593Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 11:39:06 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:39:06 grafana | logger=plugin.store t=2024-03-15T11:37:27.828798824Z level=info msg="Loading plugins..." 11:39:06 grafana | logger=local.finder t=2024-03-15T11:37:27.869713961Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 11:39:06 grafana | logger=plugin.store t=2024-03-15T11:37:27.869743032Z level=info msg="Plugins loaded" count=55 duration=40.944998ms 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=query_data t=2024-03-15T11:37:27.876982294Z level=info msg="Query Service initialization" 11:39:06 grafana | logger=live.push_http t=2024-03-15T11:37:27.883536701Z level=info msg="Live Push Gateway initialization" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=ngalert.migration t=2024-03-15T11:37:27.888322235Z level=info msg=Starting 11:39:06 grafana | logger=ngalert.migration t=2024-03-15T11:37:27.889019072Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false 11:39:06 grafana | logger=ngalert.migration orgID=1 t=2024-03-15T11:37:27.889634457Z level=info msg="Migrating alerts for organisation" 11:39:06 grafana | logger=ngalert.migration orgID=1 t=2024-03-15T11:37:27.890531718Z level=info msg="Alerts found to migrate" alerts=0 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=ngalert.migration t=2024-03-15T11:37:27.892496666Z level=info msg="Completed alerting migration" 11:39:06 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 11:39:06 grafana | logger=ngalert.state.manager t=2024-03-15T11:37:27.923016994Z level=info msg="Running in alternative execution of Error/NoData mode" 11:39:06 grafana | logger=infra.usagestats.collector t=2024-03-15T11:37:27.92538151Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 11:39:06 grafana | logger=provisioning.datasources t=2024-03-15T11:37:27.927843609Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=provisioning.alerting t=2024-03-15T11:37:27.941970226Z level=info msg="starting to provision alerting" 11:39:06 grafana | logger=provisioning.alerting t=2024-03-15T11:37:27.942042288Z level=info msg="finished to provision alerting" 11:39:06 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:39:06 grafana | logger=ngalert.state.manager t=2024-03-15T11:37:27.942466688Z level=info msg="Warming state cache for startup" 11:39:06 grafana | logger=grafanaStorageLogger t=2024-03-15T11:37:27.942850258Z level=info msg="Storage starting" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=ngalert.state.manager t=2024-03-15T11:37:27.942972561Z level=info msg="State cache has been initialized" states=0 duration=505.123µs 11:39:06 grafana | logger=ngalert.multiorg.alertmanager t=2024-03-15T11:37:27.943006932Z level=info msg="Starting MultiOrg Alertmanager" 11:39:06 grafana | logger=ngalert.scheduler t=2024-03-15T11:37:27.943030802Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=ticker t=2024-03-15T11:37:27.943069633Z level=info msg=starting first_tick=2024-03-15T11:37:30Z 11:39:06 grafana | logger=http.server t=2024-03-15T11:37:27.959529646Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 11:39:06 grafana | logger=sqlstore.transactions t=2024-03-15T11:37:27.987107374Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 11:39:06 grafana | logger=provisioning.dashboard t=2024-03-15T11:37:28.011354073Z level=info msg="starting to provision dashboards" 11:39:06 policy-db-migrator | 11:39:06 grafana | logger=grafana.update.checker t=2024-03-15T11:37:28.041858712Z level=info msg="Update check succeeded" duration=99.148098ms 11:39:06 grafana | logger=plugins.update.checker t=2024-03-15T11:37:28.042186659Z level=info msg="Update check succeeded" duration=99.829334ms 11:39:06 grafana | logger=sqlstore.transactions t=2024-03-15T11:37:28.113036051Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 11:39:06 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 11:39:06 grafana | logger=sqlstore.transactions t=2024-03-15T11:37:28.124318711Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" 11:39:06 grafana | logger=provisioning.dashboard t=2024-03-15T11:37:28.370035579Z level=info msg="finished to provision dashboards" 11:39:06 policy-db-migrator | -------------- 11:39:06 grafana | logger=grafana-apiserver t=2024-03-15T11:37:28.511076848Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 11:39:06 grafana | logger=grafana-apiserver t=2024-03-15T11:37:28.511594711Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0630-toscanodetype.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0660-toscaparameter.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0670-toscapolicies.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0690-toscapolicy.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0730-toscaproperty.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0770-toscarequirement.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0780-toscarequirements.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0820-toscatrigger.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0100-pdp.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 11:39:06 policy-db-migrator | JOIN pdpstatistics b 11:39:06 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 11:39:06 policy-db-migrator | SET a.id = b.id 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0210-sequence.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0220-sequence.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0120-toscatrigger.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0140-toscaparameter.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0150-toscaproperty.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0100-upgrade.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | select 'upgrade to 1100 completed' as msg 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | msg 11:39:06 policy-db-migrator | upgrade to 1100 completed 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0120-audit_sequence.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 11:39:06 policy-db-migrator | -------------- 11:39:06 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:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:39:06 policy-db-migrator | -------------- 11:39:06 policy-db-migrator | 11:39:06 policy-db-migrator | policyadmin: OK: upgrade (1200) 11:39:06 policy-db-migrator | name version 11:39:06 policy-db-migrator | policyadmin 1200 11:39:06 policy-db-migrator | ID script operation from_version to_version tag success atTime 11:39:06 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 11:39:06 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 11:39:06 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 11:39:06 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 11:39:06 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:31 11:39:06 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:31 11:39:06 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:31 11:39:06 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:31 11:39:06 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:31 11:39:06 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:31 11:39:06 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 11:39:06 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 11:39:06 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 11:39:06 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 11:39:06 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 11:39:06 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 11:39:06 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 11:39:06 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 11:39:06 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 11:39:06 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 11:39:06 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:32 11:39:06 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:32 11:39:06 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:32 11:39:06 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 11:39:06 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 11:39:06 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 11:39:06 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 11:39:06 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 11:39:06 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 11:39:06 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 11:39:06 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 11:39:06 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 11:39:06 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1503241137261100u 1 2024-03-15 11:37:32 11:39:06 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1503241137261200u 1 2024-03-15 11:37:32 11:39:06 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1503241137261200u 1 2024-03-15 11:37:32 11:39:06 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1503241137261200u 1 2024-03-15 11:37:32 11:39:06 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1503241137261200u 1 2024-03-15 11:37:32 11:39:06 policy-db-migrator | policyadmin: OK @ 1200 11:39:06 ++ echo 'Tearing down containers...' 11:39:06 Tearing down containers... 11:39:06 ++ docker-compose down -v --remove-orphans 11:39:07 Stopping policy-api ... 11:39:07 Stopping grafana ... 11:39:07 Stopping mariadb ... 11:39:07 Stopping prometheus ... 11:39:11 Stopping grafana ... done 11:39:11 Stopping prometheus ... done 11:39:12 Stopping mariadb ... done 11:39:18 Stopping policy-api ... done 11:39:18 Removing policy-api ... 11:39:18 Removing policy-db-migrator ... 11:39:18 Removing grafana ... 11:39:18 Removing mariadb ... 11:39:18 Removing prometheus ... 11:39:18 Removing grafana ... done 11:39:19 Removing policy-api ... done 11:39:19 Removing policy-db-migrator ... done 11:39:19 Removing prometheus ... done 11:39:19 Removing mariadb ... done 11:39:19 Removing network compose_default 11:39:19 ++ cd /w/workspace/policy-api-london-project-csit-api 11:39:19 + load_set 11:39:19 + _setopts=hxB 11:39:19 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:39:19 ++ tr : ' ' 11:39:19 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:39:19 + set +o braceexpand 11:39:19 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:39:19 + set +o hashall 11:39:19 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:39:19 + set +o interactive-comments 11:39:19 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:39:19 + set +o xtrace 11:39:19 ++ echo hxB 11:39:19 ++ sed 's/./& /g' 11:39:19 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:39:19 + set +h 11:39:19 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:39:19 + set +x 11:39:19 + [[ -n /tmp/tmp.oTqwHpaS2g ]] 11:39:19 + rsync -av /tmp/tmp.oTqwHpaS2g/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api 11:39:19 sending incremental file list 11:39:19 ./ 11:39:19 log.html 11:39:19 output.xml 11:39:19 report.html 11:39:19 testplan.txt 11:39:19 11:39:19 sent 1,347,529 bytes received 95 bytes 2,695,248.00 bytes/sec 11:39:19 total size is 1,346,883 speedup is 1.00 11:39:19 + rm -rf /w/workspace/policy-api-london-project-csit-api/models 11:39:19 + exit 0 11:39:19 $ ssh-agent -k 11:39:19 unset SSH_AUTH_SOCK; 11:39:19 unset SSH_AGENT_PID; 11:39:19 echo Agent pid 2098 killed; 11:39:19 [ssh-agent] Stopped. 11:39:19 Robot results publisher started... 11:39:19 INFO: Checking test criticality is deprecated and will be dropped in a future release! 11:39:19 -Parsing output xml: 11:39:20 Done! 11:39:20 WARNING! Could not find file: **/log.html 11:39:20 WARNING! Could not find file: **/report.html 11:39:20 -Copying log files to build dir: 11:39:20 Done! 11:39:20 -Assigning results to build: 11:39:20 Done! 11:39:20 -Checking thresholds: 11:39:20 Done! 11:39:20 Done publishing Robot results. 11:39:20 [PostBuildScript] - [INFO] Executing post build scripts. 11:39:20 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins11323352519168873753.sh 11:39:20 ---> sysstat.sh 11:39:21 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14643205313123532049.sh 11:39:21 ---> package-listing.sh 11:39:21 ++ tr '[:upper:]' '[:lower:]' 11:39:21 ++ facter osfamily 11:39:21 + OS_FAMILY=debian 11:39:21 + workspace=/w/workspace/policy-api-london-project-csit-api 11:39:21 + START_PACKAGES=/tmp/packages_start.txt 11:39:21 + END_PACKAGES=/tmp/packages_end.txt 11:39:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:39:21 + PACKAGES=/tmp/packages_start.txt 11:39:21 + '[' /w/workspace/policy-api-london-project-csit-api ']' 11:39:21 + PACKAGES=/tmp/packages_end.txt 11:39:21 + case "${OS_FAMILY}" in 11:39:21 + dpkg -l 11:39:21 + grep '^ii' 11:39:21 + '[' -f /tmp/packages_start.txt ']' 11:39:21 + '[' -f /tmp/packages_end.txt ']' 11:39:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:39:21 + '[' /w/workspace/policy-api-london-project-csit-api ']' 11:39:21 + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ 11:39:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ 11:39:21 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4652612772231900804.sh 11:39:21 ---> capture-instance-metadata.sh 11:39:21 Setup pyenv: 11:39:21 system 11:39:21 3.8.13 11:39:21 3.9.13 11:39:21 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:39:21 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-wm4G from file:/tmp/.os_lf_venv 11:39:23 lf-activate-venv(): INFO: Installing: lftools 11:39:42 lf-activate-venv(): INFO: Adding /tmp/venv-wm4G/bin to PATH 11:39:42 INFO: Running in OpenStack, capturing instance metadata 11:39:42 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8874731756589345328.sh 11:39:42 provisioning config files... 11:39:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config4313833496810558150tmp 11:39:42 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 11:39:42 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 11:39:42 [EnvInject] - Injecting environment variables from a build step. 11:39:42 [EnvInject] - Injecting as environment variables the properties content 11:39:42 SERVER_ID=logs 11:39:42 11:39:42 [EnvInject] - Variables injected successfully. 11:39:42 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins10078769466797455145.sh 11:39:42 ---> create-netrc.sh 11:39:43 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins920463928242787288.sh 11:39:43 ---> python-tools-install.sh 11:39:43 Setup pyenv: 11:39:43 system 11:39:43 3.8.13 11:39:43 3.9.13 11:39:43 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:39:43 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-wm4G from file:/tmp/.os_lf_venv 11:39:44 lf-activate-venv(): INFO: Installing: lftools 11:39:53 lf-activate-venv(): INFO: Adding /tmp/venv-wm4G/bin to PATH 11:39:53 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4410447001035257820.sh 11:39:53 ---> sudo-logs.sh 11:39:53 Archiving 'sudo' log.. 11:39:53 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins586179827218433810.sh 11:39:53 ---> job-cost.sh 11:39:53 Setup pyenv: 11:39:54 system 11:39:54 3.8.13 11:39:54 3.9.13 11:39:54 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:39:54 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-wm4G from file:/tmp/.os_lf_venv 11:39:55 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 11:40:01 lf-activate-venv(): INFO: Adding /tmp/venv-wm4G/bin to PATH 11:40:01 INFO: No Stack... 11:40:01 INFO: Retrieving Pricing Info for: v3-standard-8 11:40:02 INFO: Archiving Costs 11:40:02 [policy-api-london-project-csit-api] $ /bin/bash -l /tmp/jenkins9410762084214759000.sh 11:40:02 ---> logs-deploy.sh 11:40:02 Setup pyenv: 11:40:02 system 11:40:02 3.8.13 11:40:02 3.9.13 11:40:02 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:40:02 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-wm4G from file:/tmp/.os_lf_venv 11:40:03 lf-activate-venv(): INFO: Installing: lftools 11:40:13 lf-activate-venv(): INFO: Adding /tmp/venv-wm4G/bin to PATH 11:40:13 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/301 11:40:13 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 11:40:14 Archives upload complete. 11:40:14 INFO: archiving logs to Nexus 11:40:15 ---> uname -a: 11:40:15 Linux prd-ubuntu1804-docker-8c-8g-13305 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:40:15 11:40:15 11:40:15 ---> lscpu: 11:40:15 Architecture: x86_64 11:40:15 CPU op-mode(s): 32-bit, 64-bit 11:40:15 Byte Order: Little Endian 11:40:15 CPU(s): 8 11:40:15 On-line CPU(s) list: 0-7 11:40:15 Thread(s) per core: 1 11:40:15 Core(s) per socket: 1 11:40:15 Socket(s): 8 11:40:15 NUMA node(s): 1 11:40:15 Vendor ID: AuthenticAMD 11:40:15 CPU family: 23 11:40:15 Model: 49 11:40:15 Model name: AMD EPYC-Rome Processor 11:40:15 Stepping: 0 11:40:15 CPU MHz: 2799.998 11:40:15 BogoMIPS: 5599.99 11:40:15 Virtualization: AMD-V 11:40:15 Hypervisor vendor: KVM 11:40:15 Virtualization type: full 11:40:15 L1d cache: 32K 11:40:15 L1i cache: 32K 11:40:15 L2 cache: 512K 11:40:15 L3 cache: 16384K 11:40:15 NUMA node0 CPU(s): 0-7 11:40:15 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities 11:40:15 11:40:15 11:40:15 ---> nproc: 11:40:15 8 11:40:15 11:40:15 11:40:15 ---> df -h: 11:40:15 Filesystem Size Used Avail Use% Mounted on 11:40:15 udev 16G 0 16G 0% /dev 11:40:15 tmpfs 3.2G 708K 3.2G 1% /run 11:40:15 /dev/vda1 155G 12G 144G 8% / 11:40:15 tmpfs 16G 0 16G 0% /dev/shm 11:40:15 tmpfs 5.0M 0 5.0M 0% /run/lock 11:40:15 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:40:15 /dev/vda15 105M 4.4M 100M 5% /boot/efi 11:40:15 tmpfs 3.2G 0 3.2G 0% /run/user/1001 11:40:15 11:40:15 11:40:15 ---> free -m: 11:40:15 total used free shared buff/cache available 11:40:15 Mem: 32167 810 27453 0 3902 30900 11:40:15 Swap: 1023 0 1023 11:40:15 11:40:15 11:40:15 ---> ip addr: 11:40:15 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 11:40:15 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:40:15 inet 127.0.0.1/8 scope host lo 11:40:15 valid_lft forever preferred_lft forever 11:40:15 inet6 ::1/128 scope host 11:40:15 valid_lft forever preferred_lft forever 11:40:15 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 11:40:15 link/ether fa:16:3e:9f:e5:86 brd ff:ff:ff:ff:ff:ff 11:40:15 inet 10.30.107.70/23 brd 10.30.107.255 scope global dynamic ens3 11:40:15 valid_lft 86015sec preferred_lft 86015sec 11:40:15 inet6 fe80::f816:3eff:fe9f:e586/64 scope link 11:40:15 valid_lft forever preferred_lft forever 11:40:15 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 11:40:15 link/ether 02:42:e7:a5:2b:6c brd ff:ff:ff:ff:ff:ff 11:40:15 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 11:40:15 valid_lft forever preferred_lft forever 11:40:15 11:40:15 11:40:15 ---> sar -b -r -n DEV: 11:40:15 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-13305) 03/15/24 _x86_64_ (8 CPU) 11:40:15 11:40:15 11:33:53 LINUX RESTART (8 CPU) 11:40:15 11:40:15 11:34:01 tps rtps wtps bread/s bwrtn/s 11:40:15 11:35:01 144.89 74.35 70.54 5311.11 65390.03 11:40:15 11:36:01 122.34 26.71 95.63 2074.91 38774.94 11:40:15 11:37:01 142.66 9.64 133.02 1667.00 53318.81 11:40:15 11:38:01 327.40 12.73 314.66 809.73 65633.83 11:40:15 11:39:01 18.41 0.03 18.38 4.40 26522.25 11:40:15 11:40:01 62.98 1.41 61.56 110.48 19183.74 11:40:15 Average: 136.43 20.81 115.62 1662.56 44798.55 11:40:15 11:40:15 11:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:40:15 11:35:01 30365836 31727696 2573384 7.81 51948 1631112 1463764 4.31 817180 1486788 55768 11:40:15 11:36:01 30033596 31756296 2905624 8.82 78008 1947548 1409592 4.15 816680 1780620 125012 11:40:15 11:37:01 28169128 31694416 4770092 14.48 112564 3650240 1425500 4.19 964156 3388400 1089452 11:40:15 11:38:01 26857712 30454572 6081508 18.46 127092 3670692 4669216 13.74 2287200 3342604 152 11:40:15 11:39:01 26863668 30460644 6075552 18.44 127176 3671528 4792972 14.10 2282584 3341432 12 11:40:15 11:40:01 28176120 31704028 4763100 14.46 128808 3637908 1468032 4.32 1074096 3266108 1860 11:40:15 Average: 28411010 31299609 4528210 13.75 104266 3034838 2538179 7.47 1373649 2767659 212043 11:40:15 11:40:15 11:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:40:15 11:35:01 ens3 297.93 214.55 947.62 58.41 0.00 0.00 0.00 0.00 11:40:15 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:40:15 11:35:01 lo 1.87 1.87 0.19 0.19 0.00 0.00 0.00 0.00 11:40:15 11:36:01 ens3 51.23 33.99 914.83 7.70 0.00 0.00 0.00 0.00 11:40:15 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:40:15 11:36:01 lo 1.33 1.33 0.13 0.13 0.00 0.00 0.00 0.00 11:40:15 11:37:01 ens3 300.90 187.28 9119.34 16.32 0.00 0.00 0.00 0.00 11:40:15 11:37:01 br-5712cad184b0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:40:15 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:40:15 11:37:01 lo 8.79 8.79 0.81 0.81 0.00 0.00 0.00 0.00 11:40:15 11:38:01 vethddc075d 0.50 0.65 0.05 0.30 0.00 0.00 0.00 0.00 11:40:15 11:38:01 ens3 7.15 6.33 1.64 1.57 0.00 0.00 0.00 0.00 11:40:15 11:38:01 br-5712cad184b0 3.60 4.07 5.93 2.52 0.00 0.00 0.00 0.00 11:40:15 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:40:15 11:39:01 vethddc075d 0.27 0.25 0.02 0.01 0.00 0.00 0.00 0.00 11:40:15 11:39:01 ens3 2.50 2.23 0.47 0.64 0.00 0.00 0.00 0.00 11:40:15 11:39:01 br-5712cad184b0 1.87 2.12 0.15 0.20 0.00 0.00 0.00 0.00 11:40:15 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:40:15 11:40:01 ens3 64.19 44.96 76.02 24.71 0.00 0.00 0.00 0.00 11:40:15 11:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:40:15 11:40:01 lo 34.38 34.38 10.43 10.43 0.00 0.00 0.00 0.00 11:40:15 Average: ens3 120.66 81.56 1843.86 18.23 0.00 0.00 0.00 0.00 11:40:15 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:40:15 Average: lo 5.24 5.24 1.70 1.70 0.00 0.00 0.00 0.00 11:40:15 11:40:15 11:40:15 ---> sar -P ALL: 11:40:15 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-13305) 03/15/24 _x86_64_ (8 CPU) 11:40:15 11:40:15 11:33:53 LINUX RESTART (8 CPU) 11:40:15 11:40:15 11:34:01 CPU %user %nice %system %iowait %steal %idle 11:40:15 11:35:01 all 7.89 0.00 1.12 5.34 0.03 85.62 11:40:15 11:35:01 0 11.08 0.00 1.14 0.60 0.03 87.15 11:40:15 11:35:01 1 7.21 0.00 1.24 1.19 0.03 90.34 11:40:15 11:35:01 2 3.76 0.00 0.62 0.50 0.02 95.11 11:40:15 11:35:01 3 6.52 0.00 0.63 0.57 0.03 92.25 11:40:15 11:35:01 4 4.05 0.00 0.87 1.42 0.02 93.64 11:40:15 11:35:01 5 10.74 0.00 0.85 14.97 0.03 73.40 11:40:15 11:35:01 6 7.13 0.00 0.75 5.10 0.05 86.97 11:40:15 11:35:01 7 12.63 0.00 2.87 18.44 0.07 65.99 11:40:15 11:36:01 all 9.10 0.00 0.76 4.90 0.03 85.20 11:40:15 11:36:01 0 24.34 0.00 1.35 7.81 0.05 66.46 11:40:15 11:36:01 1 15.61 0.00 1.44 8.52 0.07 74.36 11:40:15 11:36:01 2 10.29 0.00 0.77 0.55 0.03 88.36 11:40:15 11:36:01 3 6.13 0.00 0.66 2.02 0.02 91.18 11:40:15 11:36:01 4 6.51 0.00 0.80 0.17 0.02 92.50 11:40:15 11:36:01 5 7.09 0.00 0.62 18.92 0.03 73.34 11:40:15 11:36:01 6 1.23 0.00 0.22 0.83 0.03 97.68 11:40:15 11:36:01 7 1.67 0.00 0.27 0.45 0.02 97.60 11:40:15 11:37:01 all 10.65 0.00 3.06 4.96 0.05 81.27 11:40:15 11:37:01 0 6.05 0.00 3.10 0.89 0.03 89.93 11:40:15 11:37:01 1 4.99 0.00 2.40 15.76 0.05 76.80 11:40:15 11:37:01 2 5.15 0.00 2.87 6.12 0.05 85.81 11:40:15 11:37:01 3 21.99 0.00 4.55 14.25 0.08 59.13 11:40:15 11:37:01 4 22.06 0.00 2.79 1.92 0.07 73.17 11:40:15 11:37:01 5 10.88 0.00 3.03 0.32 0.05 85.72 11:40:15 11:37:01 6 9.31 0.00 2.12 0.08 0.03 88.45 11:40:15 11:37:01 7 4.80 0.00 3.63 0.39 0.05 91.14 11:40:15 11:38:01 all 17.76 0.00 2.18 7.84 0.07 72.16 11:40:15 11:38:01 0 16.95 0.00 2.23 4.79 0.07 75.96 11:40:15 11:38:01 1 16.98 0.00 1.92 3.25 0.07 77.78 11:40:15 11:38:01 2 20.89 0.00 2.63 4.71 0.05 71.72 11:40:15 11:38:01 3 14.44 0.00 2.27 38.57 0.07 44.65 11:40:15 11:38:01 4 16.52 0.00 1.86 0.70 0.05 80.87 11:40:15 11:38:01 5 16.93 0.00 1.80 2.15 0.07 79.06 11:40:15 11:38:01 6 14.61 0.00 1.96 6.04 0.07 77.33 11:40:15 11:38:01 7 24.80 0.00 2.75 2.16 0.12 70.17 11:40:15 11:39:01 all 0.18 0.00 0.06 3.46 0.02 96.29 11:40:15 11:39:01 0 0.10 0.00 0.07 0.00 0.02 99.82 11:40:15 11:39:01 1 0.27 0.00 0.10 0.00 0.03 99.60 11:40:15 11:39:01 2 0.08 0.00 0.05 0.02 0.03 99.82 11:40:15 11:39:01 3 0.22 0.00 0.07 27.36 0.02 72.34 11:40:15 11:39:01 4 0.47 0.00 0.05 0.00 0.02 99.47 11:40:15 11:39:01 5 0.13 0.00 0.07 0.23 0.00 99.57 11:40:15 11:39:01 6 0.08 0.00 0.02 0.08 0.00 99.82 11:40:15 11:39:01 7 0.08 0.00 0.07 0.10 0.02 99.73 11:40:15 11:40:01 all 6.23 0.00 0.58 6.55 0.03 86.60 11:40:15 11:40:01 0 1.07 0.00 0.53 3.78 0.03 94.59 11:40:15 11:40:01 1 1.32 0.00 0.65 2.40 0.03 95.60 11:40:15 11:40:01 2 1.20 0.00 0.38 0.10 0.02 98.30 11:40:15 11:40:01 3 10.26 0.00 0.62 30.38 0.07 58.67 11:40:15 11:40:01 4 10.36 0.00 0.62 2.43 0.03 86.55 11:40:15 11:40:01 5 15.44 0.00 0.72 6.24 0.05 77.56 11:40:15 11:40:01 6 3.27 0.00 0.40 3.20 0.03 93.10 11:40:15 11:40:01 7 6.98 0.00 0.72 4.00 0.03 88.27 11:40:15 Average: all 8.63 0.00 1.29 5.51 0.04 84.53 11:40:15 Average: 0 9.93 0.00 1.40 2.98 0.04 85.65 11:40:15 Average: 1 7.73 0.00 1.29 5.17 0.05 85.76 11:40:15 Average: 2 6.88 0.00 1.22 1.99 0.03 89.87 11:40:15 Average: 3 9.90 0.00 1.46 18.84 0.05 69.75 11:40:15 Average: 4 9.98 0.00 1.16 1.11 0.03 87.72 11:40:15 Average: 5 10.19 0.00 1.18 7.15 0.04 81.44 11:40:15 Average: 6 5.93 0.00 0.91 2.56 0.04 90.57 11:40:15 Average: 7 8.48 0.00 1.71 4.25 0.05 85.51 11:40:15 11:40:15 11:40:15