18:11:56 Started by timer 18:11:56 Running as SYSTEM 18:11:56 [EnvInject] - Loading node environment variables. 18:11:56 Building remotely on prd-ubuntu1804-docker-8c-8g-7478 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-project-csit-api 18:11:56 [ssh-agent] Looking for ssh-agent implementation... 18:11:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:57 $ ssh-agent 18:11:57 SSH_AUTH_SOCK=/tmp/ssh-OXkeRclxm5WQ/agent.2046 18:11:57 SSH_AGENT_PID=2048 18:11:57 [ssh-agent] Started. 18:11:57 Running ssh-add (command line suppressed) 18:11:57 Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_2178795387953897919.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_2178795387953897919.key) 18:11:57 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 18:11:57 The recommended git tool is: NONE 18:11:58 using credential onap-jenkins-ssh 18:11:58 Wiping out workspace first. 18:11:58 Cloning the remote Git repository 18:11:58 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 18:11:58 > git init /w/workspace/policy-api-montreal-project-csit-api # timeout=10 18:11:58 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 18:11:58 > git --version # timeout=10 18:11:58 > git --version # 'git version 2.17.1' 18:11:58 using GIT_SSH to set credentials Gerrit user 18:11:58 Verifying host key using manually-configured host key entries 18:11:58 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 18:11:59 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 18:11:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:11:59 Avoid second fetch 18:11:59 > git rev-parse refs/remotes/origin/montreal^{commit} # timeout=10 18:11:59 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) 18:11:59 > git config core.sparsecheckout # timeout=10 18:11:59 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 18:12:00 Commit message: "Set Montreal default branch" 18:12:00 > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=10 18:12:00 provisioning config files... 18:12:00 copy managed file [npmrc] to file:/home/jenkins/.npmrc 18:12:00 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 18:12:00 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1421354290939526897.sh 18:12:00 ---> python-tools-install.sh 18:12:00 Setup pyenv: 18:12:00 * system (set by /opt/pyenv/version) 18:12:00 * 3.8.13 (set by /opt/pyenv/version) 18:12:00 * 3.9.13 (set by /opt/pyenv/version) 18:12:00 * 3.10.6 (set by /opt/pyenv/version) 18:12:04 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kNYF 18:12:04 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 18:12:07 lf-activate-venv(): INFO: Installing: lftools 18:12:40 lf-activate-venv(): INFO: Adding /tmp/venv-kNYF/bin to PATH 18:12:40 Generating Requirements File 18:13:09 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 18:13:09 lftools 0.37.9 requires openstacksdk>=2.1.0, but you have openstacksdk 0.62.0 which is incompatible. 18:13:09 Python 3.10.6 18:13:10 pip 24.0 from /tmp/venv-kNYF/lib/python3.10/site-packages/pip (python 3.10) 18:13:10 appdirs==1.4.4 18:13:10 argcomplete==3.2.2 18:13:10 aspy.yaml==1.3.0 18:13:10 attrs==23.2.0 18:13:10 autopage==0.5.2 18:13:10 beautifulsoup4==4.12.3 18:13:10 boto3==1.34.46 18:13:10 botocore==1.34.46 18:13:10 bs4==0.0.2 18:13:10 cachetools==5.3.2 18:13:10 certifi==2024.2.2 18:13:10 cffi==1.16.0 18:13:10 cfgv==3.4.0 18:13:10 chardet==5.2.0 18:13:10 charset-normalizer==3.3.2 18:13:10 click==8.1.7 18:13:10 cliff==4.5.0 18:13:10 cmd2==2.4.3 18:13:10 cryptography==3.3.2 18:13:10 debtcollector==2.5.0 18:13:10 decorator==5.1.1 18:13:10 defusedxml==0.7.1 18:13:10 Deprecated==1.2.14 18:13:10 distlib==0.3.8 18:13:10 dnspython==2.6.1 18:13:10 docker==4.2.2 18:13:10 dogpile.cache==1.3.1 18:13:10 email-validator==2.1.0.post1 18:13:10 filelock==3.13.1 18:13:10 future==1.0.0 18:13:10 gitdb==4.0.11 18:13:10 GitPython==3.1.42 18:13:10 google-auth==2.28.0 18:13:10 httplib2==0.22.0 18:13:10 identify==2.5.35 18:13:10 idna==3.6 18:13:10 importlib-resources==1.5.0 18:13:10 iso8601==2.1.0 18:13:10 Jinja2==3.1.3 18:13:10 jmespath==1.0.1 18:13:10 jsonpatch==1.33 18:13:10 jsonpointer==2.4 18:13:10 jsonschema==4.21.1 18:13:10 jsonschema-specifications==2023.12.1 18:13:10 keystoneauth1==5.5.0 18:13:10 kubernetes==29.0.0 18:13:10 lftools==0.37.9 18:13:10 lxml==5.1.0 18:13:10 MarkupSafe==2.1.5 18:13:10 msgpack==1.0.7 18:13:10 multi_key_dict==2.0.3 18:13:10 munch==4.0.0 18:13:10 netaddr==1.2.1 18:13:10 netifaces==0.11.0 18:13:10 niet==1.4.2 18:13:10 nodeenv==1.8.0 18:13:10 oauth2client==4.1.3 18:13:10 oauthlib==3.2.2 18:13:10 openstacksdk==0.62.0 18:13:10 os-client-config==2.1.0 18:13:10 os-service-types==1.7.0 18:13:10 osc-lib==3.0.0 18:13:10 oslo.config==9.3.0 18:13:10 oslo.context==5.3.0 18:13:10 oslo.i18n==6.2.0 18:13:10 oslo.log==5.4.0 18:13:10 oslo.serialization==5.3.0 18:13:10 oslo.utils==7.0.0 18:13:10 packaging==23.2 18:13:10 pbr==6.0.0 18:13:10 platformdirs==4.2.0 18:13:10 prettytable==3.10.0 18:13:10 pyasn1==0.5.1 18:13:10 pyasn1-modules==0.3.0 18:13:10 pycparser==2.21 18:13:10 pygerrit2==2.0.15 18:13:10 PyGithub==2.2.0 18:13:10 pyinotify==0.9.6 18:13:10 PyJWT==2.8.0 18:13:10 PyNaCl==1.5.0 18:13:10 pyparsing==2.4.7 18:13:10 pyperclip==1.8.2 18:13:10 pyrsistent==0.20.0 18:13:10 python-cinderclient==9.4.0 18:13:10 python-dateutil==2.8.2 18:13:10 python-heatclient==3.4.0 18:13:10 python-jenkins==1.8.2 18:13:10 python-keystoneclient==5.3.0 18:13:10 python-magnumclient==4.3.0 18:13:10 python-novaclient==18.4.0 18:13:10 python-openstackclient==6.0.1 18:13:10 python-swiftclient==4.4.0 18:13:10 pytz==2024.1 18:13:10 PyYAML==6.0.1 18:13:10 referencing==0.33.0 18:13:10 requests==2.31.0 18:13:10 requests-oauthlib==1.3.1 18:13:10 requestsexceptions==1.4.0 18:13:10 rfc3986==2.0.0 18:13:10 rpds-py==0.18.0 18:13:10 rsa==4.9 18:13:10 ruamel.yaml==0.18.6 18:13:10 ruamel.yaml.clib==0.2.8 18:13:10 s3transfer==0.10.0 18:13:10 simplejson==3.19.2 18:13:10 six==1.16.0 18:13:10 smmap==5.0.1 18:13:10 soupsieve==2.5 18:13:10 stevedore==5.1.0 18:13:10 tabulate==0.9.0 18:13:10 toml==0.10.2 18:13:10 tomlkit==0.12.3 18:13:10 tqdm==4.66.2 18:13:10 typing_extensions==4.9.0 18:13:10 tzdata==2024.1 18:13:10 urllib3==1.26.18 18:13:10 virtualenv==20.25.0 18:13:10 wcwidth==0.2.13 18:13:10 websocket-client==1.7.0 18:13:10 wrapt==1.16.0 18:13:10 xdg==6.0.0 18:13:10 xmltodict==0.13.0 18:13:10 yq==3.2.3 18:13:10 [EnvInject] - Injecting environment variables from a build step. 18:13:10 [EnvInject] - Injecting as environment variables the properties content 18:13:10 SET_JDK_VERSION=openjdk17 18:13:10 GIT_URL="git://cloud.onap.org/mirror" 18:13:10 18:13:10 [EnvInject] - Variables injected successfully. 18:13:10 [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins3467096982886556734.sh 18:13:10 ---> update-java-alternatives.sh 18:13:10 ---> Updating Java version 18:13:10 ---> Ubuntu/Debian system detected 18:13:11 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 18:13:11 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 18:13:11 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 18:13:11 openjdk version "17.0.4" 2022-07-19 18:13:11 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 18:13:11 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 18:13:11 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 18:13:11 [EnvInject] - Injecting environment variables from a build step. 18:13:11 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 18:13:11 [EnvInject] - Variables injected successfully. 18:13:11 [policy-api-montreal-project-csit-api] $ /bin/sh -xe /tmp/jenkins1301987617797394470.sh 18:13:11 + /w/workspace/policy-api-montreal-project-csit-api/csit/run-project-csit.sh api 18:13:11 + set +u 18:13:11 + save_set 18:13:11 + RUN_CSIT_SAVE_SET=ehxB 18:13:11 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 18:13:11 + '[' 1 -eq 0 ']' 18:13:11 + '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:11 + 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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:11 + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:11 + export SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:11 + SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:11 + export ROBOT_VARIABLES= 18:13:11 + ROBOT_VARIABLES= 18:13:11 + export PROJECT=api 18:13:11 + PROJECT=api 18:13:11 + cd /w/workspace/policy-api-montreal-project-csit-api 18:13:11 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:11 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:11 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:11 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 18:13:11 + relax_set 18:13:11 + set +e 18:13:11 + set +o pipefail 18:13:11 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:11 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:11 +++ mktemp -d 18:13:11 ++ ROBOT_VENV=/tmp/tmp.EPuBIESoKm 18:13:11 ++ echo ROBOT_VENV=/tmp/tmp.EPuBIESoKm 18:13:11 +++ python3 --version 18:13:11 ++ echo 'Python version is: Python 3.6.9' 18:13:11 Python version is: Python 3.6.9 18:13:11 ++ python3 -m venv --clear /tmp/tmp.EPuBIESoKm 18:13:13 ++ source /tmp/tmp.EPuBIESoKm/bin/activate 18:13:13 +++ deactivate nondestructive 18:13:13 +++ '[' -n '' ']' 18:13:13 +++ '[' -n '' ']' 18:13:13 +++ '[' -n /bin/bash -o -n '' ']' 18:13:13 +++ hash -r 18:13:13 +++ '[' -n '' ']' 18:13:13 +++ unset VIRTUAL_ENV 18:13:13 +++ '[' '!' nondestructive = nondestructive ']' 18:13:13 +++ VIRTUAL_ENV=/tmp/tmp.EPuBIESoKm 18:13:13 +++ export VIRTUAL_ENV 18:13:13 +++ _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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:13 +++ PATH=/tmp/tmp.EPuBIESoKm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:13 +++ export PATH 18:13:13 +++ '[' -n '' ']' 18:13:13 +++ '[' -z '' ']' 18:13:13 +++ _OLD_VIRTUAL_PS1= 18:13:13 +++ '[' 'x(tmp.EPuBIESoKm) ' '!=' x ']' 18:13:13 +++ PS1='(tmp.EPuBIESoKm) ' 18:13:13 +++ export PS1 18:13:13 +++ '[' -n /bin/bash -o -n '' ']' 18:13:13 +++ hash -r 18:13:13 ++ set -exu 18:13:13 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 18:13:16 ++ echo 'Installing Python Requirements' 18:13:16 Installing Python Requirements 18:13:16 ++ python3 -m pip install -qq -r /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/pylibs.txt 18:13:34 ++ python3 -m pip -qq freeze 18:13:34 bcrypt==4.0.1 18:13:34 beautifulsoup4==4.12.3 18:13:34 bitarray==2.9.2 18:13:34 certifi==2024.2.2 18:13:34 cffi==1.15.1 18:13:34 charset-normalizer==2.0.12 18:13:34 cryptography==40.0.2 18:13:34 decorator==5.1.1 18:13:34 elasticsearch==7.17.9 18:13:34 elasticsearch-dsl==7.4.1 18:13:34 enum34==1.1.10 18:13:34 idna==3.6 18:13:34 importlib-resources==5.4.0 18:13:34 ipaddr==2.2.0 18:13:34 isodate==0.6.1 18:13:34 jmespath==0.10.0 18:13:34 jsonpatch==1.32 18:13:34 jsonpath-rw==1.4.0 18:13:34 jsonpointer==2.3 18:13:34 lxml==5.1.0 18:13:34 netaddr==0.8.0 18:13:34 netifaces==0.11.0 18:13:34 odltools==0.1.28 18:13:34 paramiko==3.4.0 18:13:34 pkg_resources==0.0.0 18:13:34 ply==3.11 18:13:34 pyang==2.6.0 18:13:34 pyangbind==0.8.1 18:13:34 pycparser==2.21 18:13:34 pyhocon==0.3.60 18:13:34 PyNaCl==1.5.0 18:13:34 pyparsing==3.1.1 18:13:34 python-dateutil==2.8.2 18:13:34 regex==2023.8.8 18:13:34 requests==2.27.1 18:13:34 robotframework==6.1.1 18:13:34 robotframework-httplibrary==0.4.2 18:13:34 robotframework-pythonlibcore==3.0.0 18:13:34 robotframework-requests==0.9.4 18:13:34 robotframework-selenium2library==3.0.0 18:13:34 robotframework-seleniumlibrary==5.1.3 18:13:34 robotframework-sshlibrary==3.8.0 18:13:34 scapy==2.5.0 18:13:34 scp==0.14.5 18:13:34 selenium==3.141.0 18:13:34 six==1.16.0 18:13:34 soupsieve==2.3.2.post1 18:13:34 urllib3==1.26.18 18:13:34 waitress==2.0.0 18:13:34 WebOb==1.8.7 18:13:34 WebTest==3.0.0 18:13:34 zipp==3.6.0 18:13:34 ++ mkdir -p /tmp/tmp.EPuBIESoKm/src/onap 18:13:34 ++ rm -rf /tmp/tmp.EPuBIESoKm/src/onap/testsuite 18:13:34 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 18:13:41 ++ echo 'Uninstall docker-py and reinstall docker.' 18:13:41 Uninstall docker-py and reinstall docker. 18:13:41 ++ python3 -m pip uninstall -y -qq docker 18:13:41 ++ python3 -m pip install -U -qq docker 18:13:42 ++ python3 -m pip -qq freeze 18:13:42 bcrypt==4.0.1 18:13:42 beautifulsoup4==4.12.3 18:13:42 bitarray==2.9.2 18:13:42 certifi==2024.2.2 18:13:42 cffi==1.15.1 18:13:42 charset-normalizer==2.0.12 18:13:42 cryptography==40.0.2 18:13:42 decorator==5.1.1 18:13:42 deepdiff==5.7.0 18:13:42 dnspython==2.2.1 18:13:42 docker==5.0.3 18:13:42 elasticsearch==7.17.9 18:13:42 elasticsearch-dsl==7.4.1 18:13:42 enum34==1.1.10 18:13:42 future==1.0.0 18:13:42 idna==3.6 18:13:42 importlib-resources==5.4.0 18:13:42 ipaddr==2.2.0 18:13:42 isodate==0.6.1 18:13:42 Jinja2==3.0.3 18:13:42 jmespath==0.10.0 18:13:42 jsonpatch==1.32 18:13:42 jsonpath-rw==1.4.0 18:13:42 jsonpointer==2.3 18:13:42 kafka-python==2.0.2 18:13:42 lxml==5.1.0 18:13:42 MarkupSafe==2.0.1 18:13:42 more-itertools==5.0.0 18:13:42 netaddr==0.8.0 18:13:42 netifaces==0.11.0 18:13:42 odltools==0.1.28 18:13:42 ordered-set==4.0.2 18:13:42 paramiko==3.4.0 18:13:42 pbr==6.0.0 18:13:42 pkg_resources==0.0.0 18:13:42 ply==3.11 18:13:42 protobuf==3.19.6 18:13:42 pyang==2.6.0 18:13:42 pyangbind==0.8.1 18:13:42 pycparser==2.21 18:13:42 pyhocon==0.3.60 18:13:42 PyNaCl==1.5.0 18:13:42 pyparsing==3.1.1 18:13:42 python-dateutil==2.8.2 18:13:42 PyYAML==6.0.1 18:13:42 regex==2023.8.8 18:13:42 requests==2.27.1 18:13:42 robotframework==6.1.1 18:13:42 robotframework-httplibrary==0.4.2 18:13:42 robotframework-onap==0.6.0.dev105 18:13:42 robotframework-pythonlibcore==3.0.0 18:13:42 robotframework-requests==0.9.4 18:13:42 robotframework-selenium2library==3.0.0 18:13:42 robotframework-seleniumlibrary==5.1.3 18:13:42 robotframework-sshlibrary==3.8.0 18:13:42 robotlibcore-temp==1.0.2 18:13:42 scapy==2.5.0 18:13:42 scp==0.14.5 18:13:42 selenium==3.141.0 18:13:42 six==1.16.0 18:13:42 soupsieve==2.3.2.post1 18:13:42 urllib3==1.26.18 18:13:42 waitress==2.0.0 18:13:42 WebOb==1.8.7 18:13:42 websocket-client==1.3.1 18:13:42 WebTest==3.0.0 18:13:42 zipp==3.6.0 18:13:42 ++ uname 18:13:42 ++ grep -q Linux 18:13:42 ++ sudo apt-get -y -qq install libxml2-utils 18:13:43 + load_set 18:13:43 + _setopts=ehuxB 18:13:43 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 18:13:43 ++ tr : ' ' 18:13:43 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:43 + set +o braceexpand 18:13:43 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:43 + set +o hashall 18:13:43 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:43 + set +o interactive-comments 18:13:43 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:43 + set +o nounset 18:13:43 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:43 + set +o xtrace 18:13:43 ++ echo ehuxB 18:13:43 ++ sed 's/./& /g' 18:13:43 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:43 + set +e 18:13:43 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:43 + set +h 18:13:43 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:43 + set +u 18:13:43 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:43 + set +x 18:13:43 + source_safely /tmp/tmp.EPuBIESoKm/bin/activate 18:13:43 + '[' -z /tmp/tmp.EPuBIESoKm/bin/activate ']' 18:13:43 + relax_set 18:13:43 + set +e 18:13:43 + set +o pipefail 18:13:43 + . /tmp/tmp.EPuBIESoKm/bin/activate 18:13:43 ++ deactivate nondestructive 18:13:43 ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin ']' 18:13:43 ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:43 ++ export PATH 18:13:43 ++ unset _OLD_VIRTUAL_PATH 18:13:43 ++ '[' -n '' ']' 18:13:43 ++ '[' -n /bin/bash -o -n '' ']' 18:13:43 ++ hash -r 18:13:43 ++ '[' -n '' ']' 18:13:43 ++ unset VIRTUAL_ENV 18:13:43 ++ '[' '!' nondestructive = nondestructive ']' 18:13:43 ++ VIRTUAL_ENV=/tmp/tmp.EPuBIESoKm 18:13:43 ++ export VIRTUAL_ENV 18:13:43 ++ _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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:43 ++ PATH=/tmp/tmp.EPuBIESoKm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:43 ++ export PATH 18:13:43 ++ '[' -n '' ']' 18:13:43 ++ '[' -z '' ']' 18:13:43 ++ _OLD_VIRTUAL_PS1='(tmp.EPuBIESoKm) ' 18:13:43 ++ '[' 'x(tmp.EPuBIESoKm) ' '!=' x ']' 18:13:43 ++ PS1='(tmp.EPuBIESoKm) (tmp.EPuBIESoKm) ' 18:13:43 ++ export PS1 18:13:43 ++ '[' -n /bin/bash -o -n '' ']' 18:13:43 ++ hash -r 18:13:43 + load_set 18:13:43 + _setopts=hxB 18:13:43 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:13:43 ++ tr : ' ' 18:13:43 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:43 + set +o braceexpand 18:13:43 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:43 + set +o hashall 18:13:43 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:43 + set +o interactive-comments 18:13:43 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:43 + set +o xtrace 18:13:43 ++ echo hxB 18:13:43 ++ sed 's/./& /g' 18:13:43 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:43 + set +h 18:13:43 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:43 + set +x 18:13:43 + export TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:43 + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:43 + export TEST_OPTIONS= 18:13:43 + TEST_OPTIONS= 18:13:43 ++ mktemp -d 18:13:43 + WORKDIR=/tmp/tmp.NbfJvcyCcP 18:13:43 + cd /tmp/tmp.NbfJvcyCcP 18:13:43 + docker login -u docker -p docker nexus3.onap.org:10001 18:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:43 Configure a credential helper to remove this warning. See 18:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:43 18:13:43 Login Succeeded 18:13:43 + SETUP=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:43 + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:43 + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' 18:13:43 Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:43 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:43 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:43 + relax_set 18:13:43 + set +e 18:13:43 + set +o pipefail 18:13:43 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:43 ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh 18:13:43 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:43 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview 18:13:43 +++ GERRIT_BRANCH=montreal 18:13:43 +++ echo GERRIT_BRANCH=montreal 18:13:43 GERRIT_BRANCH=montreal 18:13:43 +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:13:43 +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models 18:13:43 +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models 18:13:43 Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... 18:13:44 +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:44 +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:44 +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:44 +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:44 +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 18:13:44 +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 18:13:44 ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana 18:13:44 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:44 +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:13:44 +++ grafana=false 18:13:44 +++ gui=false 18:13:44 +++ [[ 2 -gt 0 ]] 18:13:44 +++ key=api 18:13:44 +++ case $key in 18:13:44 +++ echo api 18:13:44 api 18:13:44 +++ component=api 18:13:44 +++ shift 18:13:44 +++ [[ 1 -gt 0 ]] 18:13:44 +++ key=--grafana 18:13:44 +++ case $key in 18:13:44 +++ grafana=true 18:13:44 +++ shift 18:13:44 +++ [[ 0 -gt 0 ]] 18:13:44 +++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:13:44 +++ echo 'Configuring docker compose...' 18:13:44 Configuring docker compose... 18:13:44 +++ source export-ports.sh 18:13:44 +++ source get-versions.sh 18:13:46 +++ '[' -z api ']' 18:13:46 +++ '[' -n api ']' 18:13:46 +++ '[' api == logs ']' 18:13:46 +++ '[' true = true ']' 18:13:46 +++ echo 'Starting api application with Grafana' 18:13:46 Starting api application with Grafana 18:13:46 +++ docker-compose up -d api grafana 18:13:47 Creating network "compose_default" with the default driver 18:13:47 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 18:13:48 10.10.2: Pulling from mariadb 18:13:53 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 18:13:53 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 18:13:53 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2)... 18:13:53 3.0.2: Pulling from onap/policy-db-migrator 18:13:57 Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a 18:13:57 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 18:13:57 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 18:13:57 3.0.2: Pulling from onap/policy-api 18:14:00 Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 18:14:00 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 18:14:00 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 18:14:00 latest: Pulling from prom/prometheus 18:14:03 Digest: sha256:beb5e30ffba08d9ae8a7961b9a2145fc8af6296ff2a4f463df7cd722fcbfc789 18:14:03 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 18:14:03 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 18:14:03 latest: Pulling from grafana/grafana 18:14:08 Digest: sha256:8640e5038e83ca4554ed56b9d76375158bcd51580238c6f5d8adaf3f20dd5379 18:14:08 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 18:14:08 Creating mariadb ... 18:14:08 Creating prometheus ... 18:14:22 Creating prometheus ... done 18:14:22 Creating grafana ... 18:14:23 Creating grafana ... done 18:14:24 Creating mariadb ... done 18:14:24 Creating policy-db-migrator ... 18:14:25 Creating policy-db-migrator ... done 18:14:25 Creating policy-api ... 18:14:26 Creating policy-api ... done 18:14:26 +++ echo 'Prometheus server: http://localhost:30259' 18:14:26 Prometheus server: http://localhost:30259 18:14:26 +++ echo 'Grafana server: http://localhost:30269' 18:14:26 Grafana server: http://localhost:30269 18:14:26 +++ cd /w/workspace/policy-api-montreal-project-csit-api 18:14:26 ++ sleep 10 18:14:36 ++ unset http_proxy https_proxy 18:14:36 ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 18:14:36 Waiting for REST to come up on localhost port 30002... 18:14:36 NAMES STATUS 18:14:36 policy-api Up 10 seconds 18:14:36 policy-db-migrator Up 11 seconds 18:14:36 grafana Up 13 seconds 18:14:36 prometheus Up 14 seconds 18:14:36 mariadb Up 12 seconds 18:14:41 NAMES STATUS 18:14:41 policy-api Up 15 seconds 18:14:41 grafana Up 18 seconds 18:14:41 prometheus Up 19 seconds 18:14:41 mariadb Up 17 seconds 18:14:46 NAMES STATUS 18:14:46 policy-api Up 20 seconds 18:14:46 grafana Up 23 seconds 18:14:46 prometheus Up 24 seconds 18:14:46 mariadb Up 22 seconds 18:14:51 NAMES STATUS 18:14:51 policy-api Up 25 seconds 18:14:51 grafana Up 28 seconds 18:14:51 prometheus Up 29 seconds 18:14:51 mariadb Up 27 seconds 18:14:52 ++ export 'SUITES=api-test.robot 18:14:52 api-slas.robot' 18:14:52 ++ SUITES='api-test.robot 18:14:52 api-slas.robot' 18:14:52 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:14:52 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 18:14:52 + load_set 18:14:52 + _setopts=hxB 18:14:52 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:14:52 ++ tr : ' ' 18:14:52 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:52 + set +o braceexpand 18:14:52 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:52 + set +o hashall 18:14:52 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:52 + set +o interactive-comments 18:14:52 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:52 + set +o xtrace 18:14:52 ++ sed 's/./& /g' 18:14:52 ++ echo hxB 18:14:52 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:14:52 + set +h 18:14:52 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:14:52 + set +x 18:14:52 + docker_stats 18:14:52 + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 18:14:52 ++ uname -s 18:14:52 + '[' Linux == Darwin ']' 18:14:52 + sh -c 'top -bn1 | head -3' 18:14:52 top - 18:14:52 up 3 min, 0 users, load average: 2.38, 0.95, 0.37 18:14:52 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie 18:14:52 %Cpu(s): 11.1 us, 2.3 sy, 0.0 ni, 82.8 id, 3.6 wa, 0.0 hi, 0.0 si, 0.0 st 18:14:52 + echo 18:14:52 18:14:52 + sh -c 'free -h' 18:14:52 total used free shared buff/cache available 18:14:52 Mem: 31G 1.4G 26G 1.0M 3.9G 29G 18:14:52 Swap: 1.0G 0B 1.0G 18:14:52 + echo 18:14:52 18:14:52 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:14:52 NAMES STATUS 18:14:52 policy-api Up 25 seconds 18:14:52 grafana Up 28 seconds 18:14:52 prometheus Up 29 seconds 18:14:52 mariadb Up 27 seconds 18:14:52 + echo 18:14:52 + docker stats --no-stream 18:14:52 18:14:54 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:14:54 78a7044d8bae policy-api 0.16% 480.3MiB / 31.41GiB 1.49% 999kB / 710kB 0B / 0B 54 18:14:54 1779814eb4fa grafana 0.05% 50.84MiB / 31.41GiB 0.16% 18.5kB / 3.18kB 0B / 23.8MB 18 18:14:54 36a59c33276f prometheus 0.00% 19MiB / 31.41GiB 0.06% 1.45kB / 158B 4.1kB / 0B 11 18:14:54 6b4c4095a5a3 mariadb 0.02% 100.5MiB / 31.41GiB 0.31% 985kB / 1.18MB 11.2MB / 67.9MB 28 18:14:54 + echo 18:14:54 18:14:54 + cd /tmp/tmp.NbfJvcyCcP 18:14:54 + echo 'Reading the testplan:' 18:14:54 Reading the testplan: 18:14:54 + echo 'api-test.robot 18:14:54 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 18:14:54 + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' 18:14:54 api-slas.robot' 18:14:54 + cat testplan.txt 18:14:54 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot 18:14:54 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:14:54 ++ xargs 18:14:54 + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot' 18:14:54 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:14:54 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 18:14:54 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:14:54 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:14:54 + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' 18:14:54 Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ... 18:14:54 + relax_set 18:14:54 + set +e 18:14:54 + set +o pipefail 18:14:54 + 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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:14:55 ============================================================================== 18:14:55 api 18:14:55 ============================================================================== 18:14:55 api.Api-Test 18:14:55 ============================================================================== 18:14:55 Healthcheck :: Verify policy api health check | PASS | 18:14:55 ------------------------------------------------------------------------------ 18:14:57 RetrievePolicyTypes :: Retrieve all policy types | PASS | 18:14:57 ------------------------------------------------------------------------------ 18:14:57 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 18:14:57 ------------------------------------------------------------------------------ 18:14:58 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 18:14:58 ------------------------------------------------------------------------------ 18:14:58 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 18:14:58 ------------------------------------------------------------------------------ 18:14:58 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 18:14:58 ------------------------------------------------------------------------------ 18:14:59 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 18:14:59 ------------------------------------------------------------------------------ 18:14:59 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 18:14:59 ------------------------------------------------------------------------------ 18:14:59 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 18:14:59 ------------------------------------------------------------------------------ 18:15:00 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 18:15:00 ------------------------------------------------------------------------------ 18:15:00 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 18:15:00 ------------------------------------------------------------------------------ 18:15:00 RetrieveAllPolicies :: Retrieve all policies | PASS | 18:15:00 ------------------------------------------------------------------------------ 18:15:00 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 18:15:00 ------------------------------------------------------------------------------ 18:15:01 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 18:15:01 ------------------------------------------------------------------------------ 18:15:01 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 18:15:01 ------------------------------------------------------------------------------ 18:15:01 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 18:15:01 ------------------------------------------------------------------------------ 18:15:01 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 18:15:01 ------------------------------------------------------------------------------ 18:15:01 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 18:15:01 ------------------------------------------------------------------------------ 18:15:02 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 18:15:02 ------------------------------------------------------------------------------ 18:15:02 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 18:15:02 ------------------------------------------------------------------------------ 18:15:02 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 18:15:02 ------------------------------------------------------------------------------ 18:15:02 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 18:15:02 ------------------------------------------------------------------------------ 18:15:02 api.Api-Test | PASS | 18:15:02 22 tests, 22 passed, 0 failed 18:15:02 ============================================================================== 18:15:02 api.Api-Slas 18:15:02 ============================================================================== 18:16:02 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 18:16:02 ------------------------------------------------------------------------------ 18:16:02 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 18:16:02 ------------------------------------------------------------------------------ 18:16:02 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 18:16:02 ------------------------------------------------------------------------------ 18:16:02 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 18:16:02 ------------------------------------------------------------------------------ 18:16:02 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 18:16:02 ------------------------------------------------------------------------------ 18:16:02 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 18:16:02 ------------------------------------------------------------------------------ 18:16:02 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 18:16:02 ------------------------------------------------------------------------------ 18:16:02 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 18:16:02 ------------------------------------------------------------------------------ 18:16:02 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 18:16:02 ------------------------------------------------------------------------------ 18:16:02 api.Api-Slas | PASS | 18:16:02 9 tests, 9 passed, 0 failed 18:16:02 ============================================================================== 18:16:02 api | PASS | 18:16:02 31 tests, 31 passed, 0 failed 18:16:02 ============================================================================== 18:16:02 Output: /tmp/tmp.NbfJvcyCcP/output.xml 18:16:03 Log: /tmp/tmp.NbfJvcyCcP/log.html 18:16:03 Report: /tmp/tmp.NbfJvcyCcP/report.html 18:16:03 + RESULT=0 18:16:03 + load_set 18:16:03 + _setopts=hxB 18:16:03 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:03 ++ tr : ' ' 18:16:03 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:03 + set +o braceexpand 18:16:03 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:03 + set +o hashall 18:16:03 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:03 + set +o interactive-comments 18:16:03 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:03 + set +o xtrace 18:16:03 ++ echo hxB 18:16:03 ++ sed 's/./& /g' 18:16:03 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:03 + set +h 18:16:03 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:03 + set +x 18:16:03 + echo 'RESULT: 0' 18:16:03 RESULT: 0 18:16:03 + exit 0 18:16:03 + on_exit 18:16:03 + rc=0 18:16:03 + [[ -n /w/workspace/policy-api-montreal-project-csit-api ]] 18:16:03 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:03 NAMES STATUS 18:16:03 policy-api Up About a minute 18:16:03 grafana Up About a minute 18:16:03 prometheus Up About a minute 18:16:03 mariadb Up About a minute 18:16:03 + docker_stats 18:16:03 ++ uname -s 18:16:03 + '[' Linux == Darwin ']' 18:16:03 + sh -c 'top -bn1 | head -3' 18:16:03 top - 18:16:03 up 4 min, 0 users, load average: 0.85, 0.79, 0.35 18:16:03 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie 18:16:03 %Cpu(s): 9.4 us, 1.8 sy, 0.0 ni, 85.7 id, 3.0 wa, 0.0 hi, 0.0 si, 0.0 st 18:16:03 + echo 18:16:03 18:16:03 + sh -c 'free -h' 18:16:03 total used free shared buff/cache available 18:16:03 Mem: 31G 1.8G 25G 1.0M 3.9G 29G 18:16:03 Swap: 1.0G 0B 1.0G 18:16:03 + echo 18:16:03 18:16:03 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:03 NAMES STATUS 18:16:03 policy-api Up About a minute 18:16:03 grafana Up About a minute 18:16:03 prometheus Up About a minute 18:16:03 mariadb Up About a minute 18:16:03 + echo 18:16:03 18:16:03 + docker stats --no-stream 18:16:05 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:16:05 78a7044d8bae policy-api 0.11% 891.4MiB / 31.41GiB 2.77% 7MB / 2.55MB 0B / 0B 54 18:16:05 1779814eb4fa grafana 0.02% 55.05MiB / 31.41GiB 0.17% 19.5kB / 4.33kB 0B / 23.8MB 18 18:16:05 36a59c33276f prometheus 0.00% 25.23MiB / 31.41GiB 0.08% 55.5kB / 6.6kB 4.1kB / 0B 14 18:16:05 6b4c4095a5a3 mariadb 0.02% 101.5MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11.2MB / 68.2MB 18 18:16:05 + echo 18:16:05 18:16:05 + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:05 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' 18:16:05 + relax_set 18:16:05 + set +e 18:16:05 + set +o pipefail 18:16:05 + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:05 ++ echo 'Shut down started!' 18:16:05 Shut down started! 18:16:05 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:05 ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:16:05 ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:16:05 ++ source export-ports.sh 18:16:05 ++ source get-versions.sh 18:16:08 ++ echo 'Collecting logs from docker compose containers...' 18:16:08 Collecting logs from docker compose containers... 18:16:08 ++ docker-compose logs 18:16:09 ++ cat docker_compose.log 18:16:09 Attaching to policy-api, policy-db-migrator, grafana, prometheus, mariadb 18:16:09 prometheus | ts=2024-02-21T18:14:22.619Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d 18:16:09 prometheus | ts=2024-02-21T18:14:22.619Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" 18:16:09 prometheus | ts=2024-02-21T18:14:22.619Z caller=main.go:593 level=info build_context="(go=go1.21.6, platform=linux/amd64, user=root@6d5f4c649d25, date=20240115-16:58:43, tags=netgo,builtinassets,stringlabels)" 18:16:09 prometheus | ts=2024-02-21T18:14:22.619Z caller=main.go:594 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" 18:16:09 prometheus | ts=2024-02-21T18:14:22.619Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" 18:16:09 prometheus | ts=2024-02-21T18:14:22.620Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" 18:16:09 prometheus | ts=2024-02-21T18:14:22.622Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 18:16:09 prometheus | ts=2024-02-21T18:14:22.622Z caller=main.go:1039 level=info msg="Starting TSDB ..." 18:16:09 prometheus | ts=2024-02-21T18:14:22.625Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 18:16:09 prometheus | ts=2024-02-21T18:14:22.625Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 18:16:09 prometheus | ts=2024-02-21T18:14:22.630Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 18:16:09 prometheus | ts=2024-02-21T18:14:22.630Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.82µs 18:16:09 prometheus | ts=2024-02-21T18:14:22.630Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" 18:16:09 prometheus | ts=2024-02-21T18:14:22.631Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 18:16:09 prometheus | ts=2024-02-21T18:14:22.631Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=26.58µs wal_replay_duration=486.378µs wbl_replay_duration=200ns total_replay_duration=544.498µs 18:16:09 prometheus | ts=2024-02-21T18:14:22.633Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC 18:16:09 prometheus | ts=2024-02-21T18:14:22.633Z caller=main.go:1063 level=info msg="TSDB started" 18:16:09 prometheus | ts=2024-02-21T18:14:22.633Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 18:16:09 prometheus | ts=2024-02-21T18:14:22.637Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=4.016834ms db_storage=1.1µs remote_storage=1.55µs web_handler=440ns query_engine=1.15µs scrape=3.257077ms scrape_sd=119.53µs notify=28.87µs notify_sd=10.47µs rules=1.25µs tracing=5.62µs 18:16:09 prometheus | ts=2024-02-21T18:14:22.637Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." 18:16:09 prometheus | ts=2024-02-21T18:14:22.637Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." 18:16:09 policy-db-migrator | Waiting for mariadb port 3306... 18:16:09 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:16:09 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:16:09 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:16:09 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:16:09 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:16:09 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:16:09 policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! 18:16:09 policy-db-migrator | 321 blocks 18:16:09 policy-db-migrator | Preparing upgrade release version: 0800 18:16:09 policy-db-migrator | Preparing upgrade release version: 0900 18:16:09 policy-db-migrator | Preparing upgrade release version: 1000 18:16:09 policy-db-migrator | Preparing upgrade release version: 1100 18:16:09 policy-db-migrator | Preparing upgrade release version: 1200 18:16:09 policy-db-migrator | Preparing upgrade release version: 1300 18:16:09 policy-db-migrator | Done 18:16:09 policy-db-migrator | name version 18:16:09 policy-db-migrator | policyadmin 0 18:16:09 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 18:16:09 policy-db-migrator | upgrade: 0 -> 1300 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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) 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655681883Z level=info msg="Starting Grafana" version=10.3.3 commit=252761264e22ece57204b327f9130d3b44592c01 branch=HEAD compiled=2024-02-21T18:14:23Z 18:16:09 policy-db-migrator | 18:16:09 mariadb | 2024-02-21 18:14:24+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655915015Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 18:16:09 policy-db-migrator | 18:16:09 mariadb | 2024-02-21 18:14:24+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 18:16:09 policy-api | Waiting for mariadb port 3306... 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655926415Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 18:16:09 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 18:16:09 mariadb | 2024-02-21 18:14:24+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:09 policy-api | mariadb (172.17.0.2:3306) open 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655931745Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | 2024-02-21 18:14:24+00:00 [Note] [Entrypoint]: Initializing database files 18:16:09 policy-api | Waiting for policy-db-migrator port 6824... 18:16:09 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) 18:16:09 mariadb | 2024-02-21 18:14:25 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655935745Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 18:16:09 policy-api | policy-db-migrator (172.17.0.5:6824) open 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | 2024-02-21 18:14:25 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655939585Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 18:16:09 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 18:16:09 policy-db-migrator | 18:16:09 mariadb | 2024-02-21 18:14:25 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655943555Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 18:16:09 policy-api | 18:16:09 mariadb | 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655946935Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 18:16:09 policy-api | . ____ _ __ _ _ 18:16:09 policy-db-migrator | 18:16:09 mariadb | 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655951625Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 18:16:09 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 18:16:09 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 18:16:09 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655955465Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 18:16:09 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | To do so, start the server, then issue the following command: 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655958515Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 18:16:09 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655969585Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 18:16:09 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) 18:16:09 mariadb | 18:16:09 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655973325Z level=info msg=Target target=[all] 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | '/usr/bin/mysql_secure_installation' 18:16:09 policy-api | =========|_|==============|___/=/_/_/_/ 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655980195Z level=info msg="Path Home" path=/usr/share/grafana 18:16:09 policy-db-migrator | 18:16:09 mariadb | 18:16:09 policy-api | :: Spring Boot :: (v3.1.4) 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655984355Z level=info msg="Path Data" path=/var/lib/grafana 18:16:09 policy-db-migrator | 18:16:09 mariadb | which will also give you the option of removing the test 18:16:09 policy-api | 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655988485Z level=info msg="Path Logs" path=/var/log/grafana 18:16:09 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 18:16:09 mariadb | databases and anonymous user created by default. This is 18:16:09 policy-api | [2024-02-21T18:14:40.053+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 22 (/app/api.jar started by policy in /opt/app/policy/api/bin) 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655991995Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | strongly recommended for production servers. 18:16:09 policy-api | [2024-02-21T18:14:40.055+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.655998165Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 18:16:09 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) 18:16:09 mariadb | 18:16:09 policy-api | [2024-02-21T18:14:41.892+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 18:16:09 grafana | logger=settings t=2024-02-21T18:14:23.656001685Z level=info msg="App mode production" 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 18:16:09 policy-api | [2024-02-21T18:14:41.993+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 88 ms. Found 6 JPA repository interfaces. 18:16:09 policy-db-migrator | 18:16:09 mariadb | 18:16:09 grafana | logger=sqlstore t=2024-02-21T18:14:23.656326657Z level=info msg="Connecting to DB" dbtype=sqlite3 18:16:09 policy-api | [2024-02-21T18:14:42.423+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler 18:16:09 policy-db-migrator | 18:16:09 mariadb | Please report any problems at https://mariadb.org/jira 18:16:09 grafana | logger=sqlstore t=2024-02-21T18:14:23.656346308Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 18:16:09 policy-api | [2024-02-21T18:14:42.423+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler 18:16:09 mariadb | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.656990972Z level=info msg="Starting DB migrations" 18:16:09 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 18:16:09 policy-api | [2024-02-21T18:14:43.191+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.658130469Z level=info msg="Executing migration" id="create migration_log table" 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 18:16:09 policy-api | [2024-02-21T18:14:43.201+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 18:16:09 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) 18:16:09 mariadb | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.659026874Z level=info msg="Migration successfully executed" id="create migration_log table" duration=892.495µs 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | Consider joining MariaDB's strong and vibrant community: 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.66459584Z level=info msg="Executing migration" id="create user table" 18:16:09 mariadb | https://mariadb.org/get-involved/ 18:16:09 policy-api | [2024-02-21T18:14:43.204+00:00|INFO|StandardService|main] Starting service [Tomcat] 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.665277574Z level=info msg="Migration successfully executed" id="create user table" duration=681.384µs 18:16:09 mariadb | 18:16:09 policy-api | [2024-02-21T18:14:43.204+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.670599638Z level=info msg="Executing migration" id="add unique index user.login" 18:16:09 mariadb | 2024-02-21 18:14:26+00:00 [Note] [Entrypoint]: Database files initialized 18:16:09 policy-api | [2024-02-21T18:14:43.306+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.671348892Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=748.754µs 18:16:09 mariadb | 2024-02-21 18:14:26+00:00 [Note] [Entrypoint]: Starting temporary server 18:16:09 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.674752304Z level=info msg="Executing migration" id="add unique index user.email" 18:16:09 mariadb | 2024-02-21 18:14:26+00:00 [Note] [Entrypoint]: Waiting for server startup 18:16:09 policy-api | [2024-02-21T18:14:43.306+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3177 ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.675417468Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=664.874µs 18:16:09 policy-api | [2024-02-21T18:14:43.782+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 18:16:09 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.678504388Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.679160262Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=655.904µs 18:16:09 policy-db-migrator | 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:09 policy-db-migrator | 18:16:09 policy-api | [2024-02-21T18:14:43.866+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.685026789Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 18:16:09 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 18:16:09 policy-api | [2024-02-21T18:14:43.869+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Note] InnoDB: Number of transaction pools: 1 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.686127146Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.099967ms 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:09 policy-api | [2024-02-21T18:14:43.907+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 18:16:09 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) 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.689832129Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.694332338Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.498789ms 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:09 policy-api | [2024-02-21T18:14:44.266+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.69793235Z level=info msg="Executing migration" id="create user table v2" 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.698950297Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.018577ms 18:16:09 policy-api | [2024-02-21T18:14:44.290+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 18:16:09 policy-db-migrator | 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.704558372Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 18:16:09 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:09 policy-api | [2024-02-21T18:14:44.397+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Note] InnoDB: 128 rollback segments are active. 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.705279957Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=721.365µs 18:16:09 policy-api | [2024-02-21T18:14:44.401+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:09 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) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.708753739Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-api | [2024-02-21T18:14:44.436+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.709451823Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=697.504µs 18:16:09 policy-db-migrator | 18:16:09 policy-api | [2024-02-21T18:14:44.437+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Note] InnoDB: log sequence number 46590; transaction id 14 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.712863955Z level=info msg="Executing migration" id="copy data_source v1 to v2" 18:16:09 policy-api | [2024-02-21T18:14:46.423+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.713276467Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=412.302µs 18:16:09 policy-api | [2024-02-21T18:14:46.436+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 18:16:09 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.719374256Z level=info msg="Executing migration" id="Drop old table user_v1" 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:09 policy-api | [2024-02-21T18:14:47.768+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.720198351Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=823.185µs 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.723847334Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 18:16:09 policy-api | [2024-02-21T18:14:48.618+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.725552495Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.705581ms 18:16:09 mariadb | 2024-02-21 18:14:26 0 [Note] mariadbd: ready for connections. 18:16:09 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) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.729361519Z level=info msg="Executing migration" id="Update user table charset" 18:16:09 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 18:16:09 policy-api | [2024-02-21T18:14:49.717+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 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.729408449Z level=info msg="Migration successfully executed" id="Update user table charset" duration=46.06µs 18:16:09 mariadb | 2024-02-21 18:14:27+00:00 [Note] [Entrypoint]: Temporary server started. 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.732870881Z level=info msg="Executing migration" id="Add last_seen_at column to user" 18:16:09 mariadb | 2024-02-21 18:14:29+00:00 [Note] [Entrypoint]: Creating user policy_user 18:16:09 policy-db-migrator | 18:16:09 mariadb | 2024-02-21 18:14:29+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 18:16:09 policy-api | [2024-02-21T18:14:49.932+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@3edd135d, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3770dd80, org.springframework.security.web.context.SecurityContextHolderFilter@4c66b3d9, org.springframework.security.web.header.HeaderWriterFilter@276961df, org.springframework.security.web.authentication.logout.LogoutFilter@729f8c5d, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@3005133e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@58d291c1, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@79462469, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5f6b6f2, org.springframework.security.web.access.ExceptionTranslationFilter@25e7e6d, org.springframework.security.web.access.intercept.AuthorizationFilter@453ef145] 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.733962878Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.091687ms 18:16:09 policy-db-migrator | 18:16:09 mariadb | 18:16:09 policy-api | [2024-02-21T18:14:50.839+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.739217281Z level=info msg="Executing migration" id="Add missing user data" 18:16:09 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 18:16:09 policy-api | [2024-02-21T18:14:50.902+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.739439543Z level=info msg="Migration successfully executed" id="Add missing user data" duration=222.152µs 18:16:09 mariadb | 2024-02-21 18:14:29+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-api | [2024-02-21T18:14:50.943+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 18:16:09 mariadb | 18:16:09 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.742873004Z level=info msg="Executing migration" id="Add is_disabled column to user" 18:16:09 policy-api | [2024-02-21T18:14:50.962+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.669 seconds (process running for 12.306) 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | 2024-02-21 18:14:29+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.744547675Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.673711ms 18:16:09 policy-api | [2024-02-21T18:14:55.202+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 18:16:09 policy-db-migrator | 18:16:09 mariadb | #!/bin/bash -xv 18:16:09 policy-api | [2024-02-21T18:14:55.202+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 18:16:09 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.748288228Z level=info msg="Executing migration" id="Add index user.login/user.email" 18:16:09 policy-api | [2024-02-21T18:14:55.203+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms 18:16:09 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 18:16:09 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.749153014Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=864.696µs 18:16:09 mariadb | # 18:16:09 policy-api | [2024-02-21T18:14:57.777+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.752376954Z level=info msg="Executing migration" id="Add is_service_account column to user" 18:16:09 policy-api | [] 18:16:09 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) 18:16:09 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 18:16:09 policy-api | [2024-02-21T18:14:57.911+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.753495161Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.115287ms 18:16:09 mariadb | # you may not use this file except in compliance with the License. 18:16:09 policy-api | [2024-02-21T18:14:58.188+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.759528669Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 18:16:09 mariadb | # You may obtain a copy of the License at 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.76906964Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.540341ms 18:16:09 policy-api | [2024-02-21T18:14:59.364+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policies 18:16:09 policy-db-migrator | 18:16:09 mariadb | # 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.7722156Z level=info msg="Executing migration" id="create temp user table v1-7" 18:16:09 policy-api | [2024-02-21T18:15:01.425+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 18:16:09 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.772913264Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=696.834µs 18:16:09 policy-api | [2024-02-21T18:15:01.719+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 18:16:09 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 18:16:09 policy-api | [2024-02-21T18:15:01.940+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | # 18:16:09 policy-api | [2024-02-21T18:15:02.168+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.776216355Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 18:16:09 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) 18:16:09 mariadb | # Unless required by applicable law or agreed to in writing, software 18:16:09 policy-api | [2024-02-21T18:15:02.422+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.776933419Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=716.774µs 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 18:16:09 policy-api | [2024-02-21T18:15:02.656+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.782293013Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 18:16:09 policy-db-migrator | 18:16:09 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.783004858Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=711.775µs 18:16:09 policy-db-migrator | 18:16:09 mariadb | # See the License for the specific language governing permissions and 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.786159428Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 18:16:09 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 18:16:09 mariadb | # limitations under the License. 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.787261705Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.101307ms 18:16:09 mariadb | 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.790715097Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 18:16:09 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:09 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) 18:16:09 mariadb | do 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.791797053Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.080327ms 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.797697251Z level=info msg="Executing migration" id="Update temp_user table charset" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.797741271Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=44.11µs 18:16:09 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 18:16:09 policy-db-migrator | 18:16:09 mariadb | done 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.800978111Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 18:16:09 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 18:16:09 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.801629735Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=651.274µs 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.805109217Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 18:16:09 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 18:16:09 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) 18:16:09 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.806084764Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=975.097µs 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.811561348Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 18:16:09 policy-db-migrator | 18:16:09 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.812181262Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=620.024µs 18:16:09 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:09 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.815295492Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 18:16:09 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 18:16:09 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) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.815959186Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=663.114µs 18:16:09 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.819389868Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.825049943Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.655945ms 18:16:09 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 18:16:09 policy-db-migrator | 18:16:09 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.831051521Z level=info msg="Executing migration" id="create temp_user v2" 18:16:09 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 18:16:09 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.831765076Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=713.435µs 18:16:09 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) 18:16:09 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.834874036Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.83557348Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=700.385µs 18:16:09 policy-db-migrator | 18:16:09 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.838930761Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 18:16:09 policy-db-migrator | 18:16:09 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.840043958Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.109297ms 18:16:09 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 18:16:09 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.843601001Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.844330825Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=727.044µs 18:16:09 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) 18:16:09 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.849746139Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 18:16:09 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.850494004Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=749.845µs 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.853782075Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 18:16:09 policy-db-migrator | 18:16:09 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.854396359Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=613.924µs 18:16:09 policy-db-migrator | 18:16:09 mariadb | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.85781674Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 18:16:09 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 18:16:09 mariadb | 2024-02-21 18:14:30+00:00 [Note] [Entrypoint]: Stopping temporary server 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.858629306Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=812.126µs 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.86411411Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 18:16:09 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) 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: FTS optimize thread exiting. 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.864509263Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=387.263µs 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: Starting shutdown... 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.867884324Z level=info msg="Executing migration" id="create star table" 18:16:09 policy-db-migrator | 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.868458568Z level=info msg="Migration successfully executed" id="create star table" duration=573.254µs 18:16:09 policy-db-migrator | 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: Buffer pool(s) dump completed at 240221 18:14:30 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.871725828Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 18:16:09 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.873041967Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.315339ms 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: Shutdown completed; log sequence number 339155; transaction id 298 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.878479091Z level=info msg="Executing migration" id="create org table v1" 18:16:09 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] mariadbd: Shutdown complete 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.879503437Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.024356ms 18:16:09 policy-db-migrator | -------------- 18:16:09 mariadb | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.884284198Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 18:16:09 policy-db-migrator | 18:16:09 mariadb | 2024-02-21 18:14:30+00:00 [Note] [Entrypoint]: Temporary server stopped 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.885411205Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.126307ms 18:16:09 mariadb | 18:16:09 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.888586175Z level=info msg="Executing migration" id="create org_user table v1" 18:16:09 mariadb | 2024-02-21 18:14:30+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.889229679Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=643.224µs 18:16:09 mariadb | 18:16:09 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) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.892349919Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.893091133Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=740.614µs 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.898111995Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: Number of transaction pools: 1 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.899315133Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.270308ms 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:09 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.902569323Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.903848411Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.277038ms 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:09 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) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.907259143Z level=info msg="Executing migration" id="Update org table charset" 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.907287003Z level=info msg="Migration successfully executed" id="Update org table charset" duration=28.34µs 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.910228472Z level=info msg="Executing migration" id="Update org_user table charset" 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.910254492Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=26.71µs 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:09 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.915886697Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: 128 rollback segments are active. 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.916164719Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=273.632µs 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:09 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.91954569Z level=info msg="Executing migration" id="create dashboard table" 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.920532047Z level=info msg="Migration successfully executed" id="create dashboard table" duration=985.547µs 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: log sequence number 339155; transaction id 299 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.924382171Z level=info msg="Executing migration" id="add index dashboard.account_id" 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.925172936Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=790.475µs 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 18:16:09 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.928327216Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.929176581Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=848.875µs 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 18:16:09 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.934866117Z level=info msg="Executing migration" id="create dashboard_tag table" 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] Server socket created on IP: '0.0.0.0'. 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.935873054Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.006477ms 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] Server socket created on IP: '::'. 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.939246475Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] mariadbd: ready for connections. 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.940453583Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.206268ms 18:16:09 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 18:16:09 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.944315247Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 18:16:09 mariadb | 2024-02-21 18:14:30 0 [Note] InnoDB: Buffer pool(s) load completed at 240221 18:14:30 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.945094322Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=778.195µs 18:16:09 mariadb | 2024-02-21 18:14:31 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) 18:16:09 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) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.950627317Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 18:16:09 mariadb | 2024-02-21 18:14:31 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.961725137Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=11.09504ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.96531299Z level=info msg="Executing migration" id="create dashboard v2" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.965787193Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=469.953µs 18:16:09 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.968681831Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.969185204Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=518.783µs 18:16:09 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) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.975097891Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.976248289Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.150088ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.979988982Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.980726587Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=736.895µs 18:16:09 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.984050108Z level=info msg="Executing migration" id="drop table dashboard_v1" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.985300676Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.249818ms 18:16:09 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) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.99076782Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.990834911Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=67.591µs 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.993012955Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.994752056Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.738691ms 18:16:09 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.998051146Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:23.999773757Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.722171ms 18:16:09 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) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.003140619Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.00490951Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.768021ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.010337557Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.011098402Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=760.035µs 18:16:09 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.014407744Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.017125162Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.715738ms 18:16:09 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) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.020587895Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.021839873Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.251258ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.027743303Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 18:16:09 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.028522578Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=773.665µs 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.031964571Z level=info msg="Executing migration" id="Update dashboard table charset" 18:16:09 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.032005341Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=44.66µs 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.035502135Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.035563175Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=55.02µs 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.074247453Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 18:16:09 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.077573705Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.328932ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.084644113Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 18:16:09 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) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.086529695Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.882092ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.089657076Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.091596069Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.938553ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.096426682Z level=info msg="Executing migration" id="Add column uid in dashboard" 18:16:09 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.098531476Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.098644ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.102291391Z level=info msg="Executing migration" id="Update uid column values in dashboard" 18:16:09 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) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.102483753Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=186.382µs 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.105409912Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.106212298Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=801.896µs 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.1109379Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 18:16:09 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.111714535Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=776.195µs 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.115676932Z level=info msg="Executing migration" id="Update dashboard title length" 18:16:09 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) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.115718952Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=43.03µs 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.119675479Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.120990298Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.314289ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.125946712Z level=info msg="Executing migration" id="create dashboard_provisioning" 18:16:09 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.126579926Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=633.214µs 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.130241661Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.142220842Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=11.976801ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.14630242Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.146777403Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=473.343µs 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.151449875Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 18:16:09 policy-db-migrator | > upgrade 0450-pdpgroup.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.152381651Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=930.276µs 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.156500189Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.157780498Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.279419ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.161517453Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.161854065Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=336.092µs 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.165170678Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 18:16:09 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.165701462Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=530.403µs 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.170459644Z level=info msg="Executing migration" id="Add check_sum column" 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.173697996Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.237552ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.177673703Z level=info msg="Executing migration" id="Add index for dashboard_title" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.178547969Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=875.656µs 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.183320521Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 18:16:09 policy-db-migrator | > upgrade 0470-pdp.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.183487952Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=167.331µs 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.187296468Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.18755392Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=257.472µs 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.191500627Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.192767085Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.270688ms 18:16:09 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.196799603Z level=info msg="Executing migration" id="Add isPublic for dashboard" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.199978934Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.178321ms 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.205757534Z level=info msg="Executing migration" id="create data_source table" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.207253064Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.4896ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.211313381Z level=info msg="Executing migration" id="add index data_source.account_id" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.21264659Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.331849ms 18:16:09 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.216425756Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.217286312Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=860.006µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.222280165Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.223497904Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.217339ms 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.22739729Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.228600298Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.202508ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.232569505Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 18:16:09 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.240318178Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.747403ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.245270462Z level=info msg="Executing migration" id="create data_source table v2" 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.246152068Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=880.946µs 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.250037054Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.251276783Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.239198ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.256172306Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 18:16:09 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.257441274Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.263928ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.261349291Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.262041036Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=691.525µs 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.265873082Z level=info msg="Executing migration" id="Add column with_credentials" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.268216658Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.343146ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.27298123Z level=info msg="Executing migration" id="Add secure json data column" 18:16:09 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.275787599Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.801519ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.279610485Z level=info msg="Executing migration" id="Update data_source table charset" 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.279642075Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=28.26µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.283432951Z level=info msg="Executing migration" id="Update initial version to 1" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.283599242Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=166.451µs 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.287220026Z level=info msg="Executing migration" id="Add read_only data column" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.290578009Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.356303ms 18:16:09 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.295708224Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.295973616Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=265.502µs 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.299895862Z level=info msg="Executing migration" id="Update json_data with nulls" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.300052793Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=157.111µs 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.30392991Z level=info msg="Executing migration" id="Add uid column" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.307066721Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.135001ms 18:16:09 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.3112794Z level=info msg="Executing migration" id="Update uid value" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.311540892Z level=info msg="Migration successfully executed" id="Update uid value" duration=261.851µs 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.318590629Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.320329451Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.733722ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.324107617Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.325254035Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.145638ms 18:16:09 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.328882009Z level=info msg="Executing migration" id="create api_key table" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.329809906Z level=info msg="Migration successfully executed" id="create api_key table" duration=926.736µs 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.336807043Z level=info msg="Executing migration" id="add index api_key.account_id" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.338292563Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.48497ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.342089499Z level=info msg="Executing migration" id="add index api_key.key" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.343017975Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=924.646µs 18:16:09 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.346322117Z level=info msg="Executing migration" id="add index api_key.account_id_name" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.347259464Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=936.907µs 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.354510183Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.355395359Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=884.366µs 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.358728082Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.360170141Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.441399ms 18:16:09 policy-db-migrator | > upgrade 0570-toscadatatype.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.367084808Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.368547978Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.46265ms 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.372479055Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.382532913Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.054388ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.386253599Z level=info msg="Executing migration" id="create api_key table v2" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.386845383Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=591.764µs 18:16:09 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.392801413Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.394334683Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.53694ms 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.398107809Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.39969981Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.591491ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.403697327Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.404689043Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=991.076µs 18:16:09 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.410614044Z level=info msg="Executing migration" id="copy api_key v1 to v2" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.411404669Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=790.765µs 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.415758279Z level=info msg="Executing migration" id="Drop old table api_key_v1" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.416904436Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=1.145827ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.420538751Z level=info msg="Executing migration" id="Update api_key table charset" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.420703272Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=162.831µs 18:16:09 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.426585812Z level=info msg="Executing migration" id="Add expires to api_key table" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.431135623Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.541481ms 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.434977349Z level=info msg="Executing migration" id="Add service account foreign key" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.437751088Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.774369ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.441632715Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.442107558Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=474.524µs 18:16:09 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.445957834Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.448555851Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.597617ms 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.453998768Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.456708506Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.708988ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.534027551Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.535534772Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=1.503291ms 18:16:09 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.539434768Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.540136323Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=701.415µs 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.54553494Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.546412296Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=862.265µs 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.54994974Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.551359709Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.409819ms 18:16:09 policy-db-migrator | > upgrade 0630-toscanodetype.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.556520604Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.557588581Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.068957ms 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.563155239Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.564196146Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.040727ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.568220653Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.568388884Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=167.921µs 18:16:09 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.571922088Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.571996439Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=68.761µs 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.579691181Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.584516244Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.824143ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.588618842Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.593672426Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=5.058984ms 18:16:09 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.59714187Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.597309081Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=167.011µs 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.600772624Z level=info msg="Executing migration" id="create quota table v1" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.60163131Z level=info msg="Migration successfully executed" id="create quota table v1" duration=858.366µs 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.613599862Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.614503318Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=904.986µs 18:16:09 policy-db-migrator | > upgrade 0660-toscaparameter.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.617189436Z level=info msg="Executing migration" id="Update quota table charset" 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.617243386Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=53.84µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.620137056Z level=info msg="Executing migration" id="create plugin_setting table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.62075742Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=620.194µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.625891845Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.62666179Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=767.625µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.630972389Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.63401947Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.046341ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.636440036Z level=info msg="Executing migration" id="Update plugin_setting table charset" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.636456406Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=16.87µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.642343546Z level=info msg="Executing migration" id="create session table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.643004781Z level=info msg="Migration successfully executed" id="create session table" duration=660.855µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.646339264Z level=info msg="Executing migration" id="Drop old table playlist table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.646403824Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=64.94µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.651196957Z level=info msg="Executing migration" id="Drop old table playlist_item table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.651258637Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=61.87µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.655556756Z level=info msg="Executing migration" id="create playlist table v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.656011319Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=454.273µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.661446986Z level=info msg="Executing migration" id="create playlist item table v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.662535284Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.087638ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.665734615Z level=info msg="Executing migration" id="Update playlist table charset" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.665788506Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=50.891µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.669000908Z level=info msg="Executing migration" id="Update playlist_item table charset" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.669068198Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=60.39µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.675665023Z level=info msg="Executing migration" id="Add playlist column created_at" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.678667393Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.00507ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.690856556Z level=info msg="Executing migration" id="Add playlist column updated_at" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.693079101Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.222605ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.695819109Z level=info msg="Executing migration" id="drop preferences table v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.69588034Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=61.621µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.698689659Z level=info msg="Executing migration" id="drop preferences table v3" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.698767249Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=77.83µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.703752313Z level=info msg="Executing migration" id="create preferences table v3" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.704435538Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=680.285µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.708879398Z level=info msg="Executing migration" id="Update preferences table charset" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.708905858Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=29.98µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.711692037Z level=info msg="Executing migration" id="Add column team_id in preferences" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.714728088Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.035541ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.728417851Z level=info msg="Executing migration" id="Update team_id column values in preferences" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.728652682Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=235.331µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.736021532Z level=info msg="Executing migration" id="Add column week_start in preferences" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.741271768Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=5.249506ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.744171607Z level=info msg="Executing migration" id="Add column preferences.json_data" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.746504033Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=2.332086ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.749888416Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.749946667Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=58.861µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.75483697Z level=info msg="Executing migration" id="Add preferences index org_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.755732576Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=895.066µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.758697236Z level=info msg="Executing migration" id="Add preferences index user_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.759477411Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=783.085µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.765634173Z level=info msg="Executing migration" id="create alert table v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.76662742Z level=info msg="Migration successfully executed" id="create alert table v1" duration=992.827µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.772852912Z level=info msg="Executing migration" id="add index alert org_id & id " 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.774266402Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.41277ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.77840961Z level=info msg="Executing migration" id="add index alert state" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.779205495Z level=info msg="Migration successfully executed" id="add index alert state" duration=795.445µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.784908814Z level=info msg="Executing migration" id="add index alert dashboard_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.78574217Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=840.196µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.78875017Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.789342444Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=599.304µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.794968732Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.797286608Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=2.316306ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.80943981Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.810637889Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.208229ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.819245307Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.832252535Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.008398ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.835666389Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.836970477Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=1.303478ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.842258263Z 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" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.842961128Z 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=702.915µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.847118406Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.847419128Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=300.902µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.85054137Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.851141854Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=601.294µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.856753481Z level=info msg="Executing migration" id="create alert_notification table v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.858109591Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.35617ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.86392377Z level=info msg="Executing migration" id="Add column is_default" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.867647995Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.724325ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.871488292Z level=info msg="Executing migration" id="Add column frequency" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.875852601Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.36962ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.879977479Z level=info msg="Executing migration" id="Add column send_reminder" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.883485393Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.508214ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.886484983Z level=info msg="Executing migration" id="Add column disable_resolve_message" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.889931607Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.445824ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.892812326Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.893711393Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=895.856µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.897924141Z level=info msg="Executing migration" id="Update alert table charset" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.897953461Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=34.35µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.90069126Z level=info msg="Executing migration" id="Update alert_notification table charset" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.90071781Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=27.31µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.903727021Z level=info msg="Executing migration" id="create notification_journal table v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.904450636Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=723.104µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.910489936Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.912283588Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.791942ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.916134514Z level=info msg="Executing migration" id="drop alert_notification_journal" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.917473294Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.338179ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.921055528Z level=info msg="Executing migration" id="create alert_notification_state table v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.922258526Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.202838ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.928395228Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.930025949Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.633361ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.933647503Z level=info msg="Executing migration" id="Add for to alert table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.937471459Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.823536ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.986317981Z level=info msg="Executing migration" id="Add column uid in alert_notification" 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0670-toscapolicies.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0690-toscapolicy.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0730-toscaproperty.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0770-toscarequirement.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0780-toscarequirements.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.991602237Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=5.279876ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.99645205Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:24.996956233Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=508.233µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.000498457Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.001644785Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.145058ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.007361583Z level=info msg="Executing migration" id="Remove unique index org_id_name" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.008244563Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=883.11µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.013701977Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.017681947Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.97853ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.021182485Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.021253336Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=70.781µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.024298503Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.025183195Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=885.012µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.030068748Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.03099162Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=925.552µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.034424959Z level=info msg="Executing migration" id="Drop old annotation table v4" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.034513339Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=86.42µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.036912475Z level=info msg="Executing migration" id="create annotation table v5" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.038220128Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.307203ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.046031568Z level=info msg="Executing migration" id="add index annotation 0 v3" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.04689276Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=860.532µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.05109038Z level=info msg="Executing migration" id="add index annotation 1 v3" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.051913972Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=822.952µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.056022343Z level=info msg="Executing migration" id="add index annotation 2 v3" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.057923457Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.906934ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.064635254Z level=info msg="Executing migration" id="add index annotation 3 v3" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.065647677Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.011493ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.068816035Z level=info msg="Executing migration" id="add index annotation 4 v3" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.070041618Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.224293ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.077038755Z level=info msg="Executing migration" id="Update annotation table charset" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.077082825Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=45.21µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.086145048Z level=info msg="Executing migration" id="Add column region_id to annotation table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.093728777Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=7.581059ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.101553157Z level=info msg="Executing migration" id="Drop category_id index" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.102233368Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=679.961µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.108177663Z level=info msg="Executing migration" id="Add column tags to annotation table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.11496369Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.784667ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.118093348Z level=info msg="Executing migration" id="Create annotation_tag table v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.1189795Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=884.462µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.12291713Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.123785742Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=867.502µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.130574189Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.131953633Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.378214ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.137072416Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.15484244Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=17.770574ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.158516009Z level=info msg="Executing migration" id="Create annotation_tag table v3" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.1589716Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=455.681µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.165256336Z 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" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.166144738Z 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=887.662µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.171423452Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.171866013Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=442.831µs 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0820-toscatrigger.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.176562584Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.177451357Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=887.833µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.182993151Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.183166201Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=172.791µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.188654625Z level=info msg="Executing migration" id="Add created time to annotation table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.195120131Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.463736ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.198326969Z level=info msg="Executing migration" id="Add updated time to annotation table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.202269319Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.94151ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.206472899Z level=info msg="Executing migration" id="Add index for created in annotation table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.207319371Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=845.952µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.211748302Z level=info msg="Executing migration" id="Add index for updated in annotation table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.213048626Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.297564ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.217247466Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.217601797Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=353.971µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.221305516Z level=info msg="Executing migration" id="Add epoch_end column" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.227856003Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.546967ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.234927791Z level=info msg="Executing migration" id="Add index for epoch_end" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.235562972Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=634.611µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.240512894Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.240838505Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=325.001µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.245624907Z level=info msg="Executing migration" id="Move region to single row" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.246241949Z level=info msg="Migration successfully executed" id="Move region to single row" duration=616.612µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.252163644Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.253535647Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.371323ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.259961513Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.261936218Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.973785ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.2668659Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.267913673Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.047193ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.273375366Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.274675629Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.298353ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.27918411Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.280433853Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.248853ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.284532303Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.285420575Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=888.072µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.295303339Z level=info msg="Executing migration" id="Increase tags column to length 4096" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.29542088Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=118.861µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.298708268Z level=info msg="Executing migration" id="create test_data table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.29954004Z level=info msg="Migration successfully executed" id="create test_data table" duration=831.212µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.303607159Z level=info msg="Executing migration" id="create dashboard_version table v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.305600784Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.992625ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.312057329Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.313044242Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=985.913µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.316985542Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.317985454Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=999.932µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.322825656Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.323047086Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=221.98µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.329326551Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.329965723Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=640.232µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.334941375Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.335106335Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=166.36µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.339958157Z level=info msg="Executing migration" id="create team table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.34120246Z level=info msg="Migration successfully executed" id="create team table" duration=1.242953ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.344710558Z level=info msg="Executing migration" id="add index team.org_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.346108292Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.397744ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.352173596Z level=info msg="Executing migration" id="add unique index team_org_id_name" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.353901041Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.725355ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.35771227Z level=info msg="Executing migration" id="Add column uid in team" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.364004905Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=6.290315ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.367955034Z level=info msg="Executing migration" id="Update uid column values in team" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.368804947Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=849.383µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.37435969Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.375032391Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=672.241µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.379037861Z level=info msg="Executing migration" id="create team member table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.380094434Z level=info msg="Migration successfully executed" id="create team member table" duration=1.056312ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.386064838Z level=info msg="Executing migration" id="add index team_member.org_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.387537602Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.472174ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.475386164Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.478384321Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=3.003048ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.482939222Z level=info msg="Executing migration" id="add index team_member.team_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.483892614Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=952.392µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.487292332Z level=info msg="Executing migration" id="Add column email to team table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.492081784Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.788642ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.497572127Z level=info msg="Executing migration" id="Add column external to team_member table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.505023875Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=7.452548ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.509410126Z level=info msg="Executing migration" id="Add column permission to team_member table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.51543094Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=6.018284ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.520904433Z level=info msg="Executing migration" id="create dashboard acl table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.522215887Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.307074ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.527622849Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.528532922Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=908.763µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.531597199Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.532644831Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.046142ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.535965129Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.537024872Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.058163ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.543804779Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.545364112Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.558893ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.548857141Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.550294554Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.437033ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.554594585Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.555486927Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=891.802µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.560021778Z level=info msg="Executing migration" id="add index dashboard_permission" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.561495211Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.469843ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.566293643Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.567017944Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=723.981µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.572389808Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.572612328Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=222.83µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.577210139Z level=info msg="Executing migration" id="create tag table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.578259602Z level=info msg="Migration successfully executed" id="create tag table" duration=1.049473ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.58196404Z level=info msg="Executing migration" id="add index tag.key_value" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.583800475Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.835145ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.591930155Z level=info msg="Executing migration" id="create login attempt table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.592877687Z level=info msg="Migration successfully executed" id="create login attempt table" duration=955.402µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.597994099Z level=info msg="Executing migration" id="add index login_attempt.username" 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.599550613Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.559874ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.608695745Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.61065929Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.963795ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.618531569Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.642614137Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=24.078198ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.646965757Z level=info msg="Executing migration" id="create login_attempt v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.647849159Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=882.692µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.686308822Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.687793186Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.484194ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.696600847Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.697087968Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=486.921µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.702752372Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.703626024Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=873.292µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.710022059Z level=info msg="Executing migration" id="create user auth table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.711114732Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.092203ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.720393415Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.721864988Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.471243ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.728851575Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.729217556Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=374.061µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.734477259Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.742436798Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.957089ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.746591068Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.754616137Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=8.013799ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.760868272Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.764877502Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.00848ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.771814828Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.77698268Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.167002ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.784635029Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.786036702Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.406993ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.790566783Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.799795055Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=9.227222ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.804647097Z level=info msg="Executing migration" id="create server_lock table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.805481849Z level=info msg="Migration successfully executed" id="create server_lock table" duration=834.572µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.812102115Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.813165887Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.062022ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.819790053Z level=info msg="Executing migration" id="create user auth token table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.821322797Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.530064ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.8269008Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.829004445Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=2.108365ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.837338266Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.838475648Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.109792ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.848809113Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.850408077Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.599224ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.856199341Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.8641843Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=7.984719ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.930116719Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.932713786Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=2.597447ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.941184246Z level=info msg="Executing migration" id="create cache_data table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.942259679Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.072923ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.947994182Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.949955717Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.966555ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.956517573Z level=info msg="Executing migration" id="create short_url table v1" 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0100-pdp.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 18:16:09 policy-db-migrator | JOIN pdpstatistics b 18:16:09 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 18:16:09 policy-db-migrator | SET a.id = b.id 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.957480726Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=962.813µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.961779816Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.962745918Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=964.962µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.96760722Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.96768197Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=75.4µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.973975775Z level=info msg="Executing migration" id="delete alert_definition table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.974082446Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=108.061µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.978087835Z level=info msg="Executing migration" id="recreate alert_definition table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.979094138Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.003063ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.984427641Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.985475943Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.047922ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.989815974Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.990923766Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.107342ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.996932811Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:25.997053431Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=122.23µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.00060799Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.002157323Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.550633ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.007157774Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.008572868Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.416884ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.01502456Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.016073327Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.048687ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.021670894Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.02267164Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.000996ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.030784043Z level=info msg="Executing migration" id="Add column paused in alert_definition" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.036803193Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.01621ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.043123044Z level=info msg="Executing migration" id="drop alert_definition table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.044138271Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.015417ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.048197428Z level=info msg="Executing migration" id="delete alert_definition_version table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.048343399Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=146.071µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.054990742Z level=info msg="Executing migration" id="recreate alert_definition_version table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.056466672Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.47559ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.061864587Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.063601159Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.736342ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.06841718Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.069422717Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.005017ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.076870766Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.076986026Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=120µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.08368318Z level=info msg="Executing migration" id="drop alert_definition_version table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.084695937Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.012007ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.091808304Z level=info msg="Executing migration" id="create alert_instance table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.093301293Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.489059ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.099597125Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.101227135Z 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.62367ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.106078957Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.107768298Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.690581ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.11418197Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.123031598Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=8.854768ms 18:16:09 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0210-sequence.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0220-sequence.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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) 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.127950671Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.129005697Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.054536ms 18:16:09 policy-db-migrator | -------------- 18:16:09 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) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0120-toscatrigger.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0140-toscaparameter.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.134641704Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0150-toscaproperty.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.136174144Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.53184ms 18:16:09 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.142124563Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.181506412Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=39.378739ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.186482234Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.223695458Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=37.212634ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.228176028Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.229858509Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.681671ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.23467671Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.235705517Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.027527ms 18:16:09 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.242114669Z level=info msg="Executing migration" id="add current_reason column related to current_state" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.25143259Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.317091ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.257993133Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.261968509Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=3.974646ms 18:16:09 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.267363805Z level=info msg="Executing migration" id="create alert_rule table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.26822748Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=862.845µs 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.277981774Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.279712686Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.730342ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.28492196Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.286191888Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.270358ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.295215667Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.29710465Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.888733ms 18:16:09 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.3031985Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.30327153Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=73.29µs 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.309509711Z level=info msg="Executing migration" id="add column for to alert_rule" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.316279895Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.767914ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.349158181Z level=info msg="Executing migration" id="add column annotations to alert_rule" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.359058666Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=9.900055ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.364737623Z level=info msg="Executing migration" id="add column labels to alert_rule" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.372932877Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=8.193324ms 18:16:09 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.37795955Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.379301458Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.341898ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.385204567Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.386956459Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.750152ms 18:16:09 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.394454968Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.400459297Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.000559ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.405959293Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.412107874Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.148201ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.416594794Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.417612061Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.016447ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.42207866Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.428301071Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.223251ms 18:16:09 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.431964426Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.441499229Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=9.534083ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.446537812Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.446609452Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=71.79µs 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.450555319Z level=info msg="Executing migration" id="create alert_rule_version table" 18:16:09 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0100-upgrade.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | select 'upgrade to 1100 completed' as msg 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | msg 18:16:09 policy-db-migrator | upgrade to 1100 completed 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.452564492Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=2.014004ms 18:16:09 policy-db-migrator | > upgrade 0120-audit_sequence.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.456394907Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 18:16:09 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.457507485Z 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.115318ms 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.462055295Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" 18:16:09 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)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.463799646Z 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.742911ms 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.470005367Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 18:16:09 policy-db-migrator | -------------- 18:16:09 policy-db-migrator | TRUNCATE TABLE sequence 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.470080148Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=74.731µs 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.473852143Z level=info msg="Executing migration" id="add column for to alert_rule_version" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.480377546Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.525063ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.484872845Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.490907075Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.03403ms 18:16:09 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.494741131Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.501235374Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.493323ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.504692877Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.510812967Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.12151ms 18:16:09 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.515097046Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.521212076Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.114801ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.525193252Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.525260843Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=65.631µs 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.528317843Z level=info msg="Executing migration" id=create_alert_configuration_table 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.529017188Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=698.995µs 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.533218525Z level=info msg="Executing migration" id="Add column default in alert_configuration" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.539279275Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.05773ms 18:16:09 policy-db-migrator | DROP TABLE pdpstatistics 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.542721578Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.542787799Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=66.341µs 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.546386293Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.552795885Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.408102ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.556157297Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.557201694Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.044027ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.562032596Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.568447069Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.413853ms 18:16:09 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.571789361Z level=info msg="Executing migration" id=create_ngalert_configuration_table 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.572501775Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=711.164µs 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.575966978Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.576974995Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.007687ms 18:16:09 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.581666466Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.588002028Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.334542ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.591260159Z level=info msg="Executing migration" id="create provenance_type table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.591980994Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=720.985µs 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.595287636Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.596307273Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.019127ms 18:16:09 policy-db-migrator | 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.602949017Z level=info msg="Executing migration" id="create alert_image table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.603745512Z level=info msg="Migration successfully executed" id="create alert_image table" duration=796.825µs 18:16:09 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.607249895Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.609111828Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.890253ms 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.613197865Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.613326456Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=128.481µs 18:16:09 policy-db-migrator | DROP TABLE statistics_sequence 18:16:09 policy-db-migrator | -------------- 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.619799709Z level=info msg="Executing migration" id=create_alert_configuration_history_table 18:16:09 policy-db-migrator | 18:16:09 policy-db-migrator | policyadmin: OK: upgrade (1300) 18:16:09 policy-db-migrator | name version 18:16:09 policy-db-migrator | policyadmin 1300 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.621061697Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.262268ms 18:16:09 policy-db-migrator | ID script operation from_version to_version tag success atTime 18:16:09 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:31 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.628006303Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 18:16:09 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.629937266Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.936823ms 18:16:09 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.633942402Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 18:16:09 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.634679677Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 18:16:09 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.639489989Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 18:16:09 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.639814481Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=324.052µs 18:16:09 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.647845984Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 18:16:09 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.649617686Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.771372ms 18:16:09 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.660540028Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 18:16:09 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.67146754Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=10.926532ms 18:16:09 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:32 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.682979897Z level=info msg="Executing migration" id="create library_element table v1" 18:16:09 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.685560884Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=2.568127ms 18:16:09 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.695885052Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 18:16:09 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.697901596Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=2.018243ms 18:16:09 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.708021652Z level=info msg="Executing migration" id="create library_element_connection table v1" 18:16:09 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.70922247Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.200748ms 18:16:09 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.720078272Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 18:16:09 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.722171406Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=2.092174ms 18:16:09 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.764895649Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 18:16:09 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.767028063Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=2.132875ms 18:16:09 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.773143584Z level=info msg="Executing migration" id="increase max description length to 2048" 18:16:09 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:33 18:16:09 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.773223124Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=86.131µs 18:16:09 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.776961449Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 18:16:09 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.77710426Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=143.911µs 18:16:09 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.780811094Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 18:16:09 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.781328368Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=524.354µs 18:16:09 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.78767928Z level=info msg="Executing migration" id="create data_keys table" 18:16:09 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.788826367Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.146537ms 18:16:09 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.791915058Z level=info msg="Executing migration" id="create secrets table" 18:16:09 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.792751093Z level=info msg="Migration successfully executed" id="create secrets table" duration=835.015µs 18:16:09 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.795623682Z level=info msg="Executing migration" id="rename data_keys name column to id" 18:16:09 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:34 18:16:09 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:35 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.841759678Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=46.135536ms 18:16:09 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:35 18:16:09 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:35 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.847368935Z level=info msg="Executing migration" id="add name column into data_keys" 18:16:09 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:35 18:16:09 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:35 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.854346491Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.978566ms 18:16:09 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:35 18:16:09 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:35 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.85867229Z level=info msg="Executing migration" id="copy data_keys id column values into name" 18:16:09 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:35 18:16:09 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:35 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.85881591Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=143.67µs 18:16:09 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:35 18:16:09 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:35 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.863160719Z level=info msg="Executing migration" id="rename data_keys name column to label" 18:16:09 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:35 18:16:09 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:35 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.912099823Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=48.923764ms 18:16:09 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:35 18:16:09 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:35 18:16:09 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:35 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.915127163Z level=info msg="Executing migration" id="rename data_keys id column back to name" 18:16:09 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:35 18:16:09 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:36 18:16:09 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:36 18:16:09 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:36 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.960407703Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=45.27997ms 18:16:09 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2102241814310800u 1 2024-02-21 18:14:36 18:16:09 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2102241814310900u 1 2024-02-21 18:14:36 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.966392542Z level=info msg="Executing migration" id="create kv_store table v1" 18:16:09 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2102241814310900u 1 2024-02-21 18:14:36 18:16:09 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2102241814310900u 1 2024-02-21 18:14:36 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.967054087Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=661.925µs 18:16:09 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2102241814310900u 1 2024-02-21 18:14:36 18:16:09 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2102241814310900u 1 2024-02-21 18:14:36 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.970432659Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 18:16:09 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2102241814310900u 1 2024-02-21 18:14:36 18:16:09 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2102241814310900u 1 2024-02-21 18:14:36 18:16:09 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2102241814310900u 1 2024-02-21 18:14:36 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.97211912Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.685641ms 18:16:09 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2102241814310900u 1 2024-02-21 18:14:36 18:16:09 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2102241814310900u 1 2024-02-21 18:14:36 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.975739914Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 18:16:09 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2102241814310900u 1 2024-02-21 18:14:36 18:16:09 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2102241814310900u 1 2024-02-21 18:14:36 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.976069616Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=329.542µs 18:16:09 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2102241814310900u 1 2024-02-21 18:14:36 18:16:09 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2102241814311000u 1 2024-02-21 18:14:36 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.981646533Z level=info msg="Executing migration" id="create permission table" 18:16:09 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2102241814311000u 1 2024-02-21 18:14:36 18:16:09 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2102241814311000u 1 2024-02-21 18:14:36 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.982549329Z level=info msg="Migration successfully executed" id="create permission table" duration=902.606µs 18:16:09 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2102241814311000u 1 2024-02-21 18:14:36 18:16:09 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2102241814311000u 1 2024-02-21 18:14:37 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.987543872Z level=info msg="Executing migration" id="add unique index permission.role_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.989295534Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.751282ms 18:16:09 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2102241814311000u 1 2024-02-21 18:14:37 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.992511046Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.993614733Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.103257ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:26.999362661Z level=info msg="Executing migration" id="create role table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.000977762Z level=info msg="Migration successfully executed" id="create role table" duration=1.616411ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.004381014Z level=info msg="Executing migration" id="add column display_name" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.011919385Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.537531ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.015038846Z level=info msg="Executing migration" id="add column group_name" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.020553002Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.513537ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.025986459Z level=info msg="Executing migration" id="add index role.org_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.027057426Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.072157ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.03057868Z level=info msg="Executing migration" id="add unique index role_org_id_name" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.03205186Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.47329ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.035490413Z level=info msg="Executing migration" id="add index role_org_id_uid" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.037233384Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.742202ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.042866662Z level=info msg="Executing migration" id="create team role table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.043660637Z level=info msg="Migration successfully executed" id="create team role table" duration=793.615µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.04696712Z level=info msg="Executing migration" id="add index team_role.org_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.048078107Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.109637ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.051432209Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.052625817Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.193438ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.057856192Z level=info msg="Executing migration" id="add index team_role.team_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.059108311Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.251429ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.062969497Z level=info msg="Executing migration" id="create user role table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.064294456Z level=info msg="Migration successfully executed" id="create user role table" duration=1.324169ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.06786472Z level=info msg="Executing migration" id="add index user_role.org_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.068908247Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.043197ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.074075791Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.075179618Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.103427ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.078651172Z level=info msg="Executing migration" id="add index user_role.user_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.080458644Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.806822ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.085583578Z level=info msg="Executing migration" id="create builtin role table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.086418704Z level=info msg="Migration successfully executed" id="create builtin role table" duration=835.136µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.091490058Z level=info msg="Executing migration" id="add index builtin_role.role_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.092559825Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.068197ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.096070909Z level=info msg="Executing migration" id="add index builtin_role.name" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.0977536Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.682131ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.101194053Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.109980092Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.787559ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.115156917Z level=info msg="Executing migration" id="add index builtin_role.org_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.115915972Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=759.115µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.118952392Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.119756227Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=804.755µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.122985249Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.12459299Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.607251ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.129547193Z level=info msg="Executing migration" id="add unique index role.uid" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.13059079Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.043487ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.133899692Z level=info msg="Executing migration" id="create seed assignment table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.134652757Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=748.625µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.138947756Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.140025213Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.075337ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.143402756Z level=info msg="Executing migration" id="add column hidden to role table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.151692772Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.288986ms 18:16:09 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2102241814311000u 1 2024-02-21 18:14:37 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.187967105Z level=info msg="Executing migration" id="permission kind migration" 18:16:09 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2102241814311000u 1 2024-02-21 18:14:37 18:16:09 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2102241814311000u 1 2024-02-21 18:14:37 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.19926622Z level=info msg="Migration successfully executed" id="permission kind migration" duration=11.299635ms 18:16:09 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2102241814311100u 1 2024-02-21 18:14:37 18:16:09 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2102241814311200u 1 2024-02-21 18:14:37 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.202649933Z level=info msg="Executing migration" id="permission attribute migration" 18:16:09 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2102241814311200u 1 2024-02-21 18:14:37 18:16:09 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2102241814311200u 1 2024-02-21 18:14:37 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.210823618Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.190475ms 18:16:09 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2102241814311200u 1 2024-02-21 18:14:37 18:16:09 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2102241814311300u 1 2024-02-21 18:14:37 18:16:09 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2102241814311300u 1 2024-02-21 18:14:37 18:16:09 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2102241814311300u 1 2024-02-21 18:14:37 18:16:09 policy-db-migrator | policyadmin: OK @ 1300 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.215118567Z level=info msg="Executing migration" id="permission identifier migration" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.223249831Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.132434ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.226426632Z level=info msg="Executing migration" id="add permission identifier index" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.227228668Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=801.586µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.230307318Z level=info msg="Executing migration" id="create query_history table v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.231018573Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=710.545µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.235748875Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.237617297Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.866412ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.241097631Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.241212301Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=114.92µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.244442603Z level=info msg="Executing migration" id="rbac disabled migrator" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.244483463Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=41.01µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.248647712Z level=info msg="Executing migration" id="teams permissions migration" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.249155575Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=508.654µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.252320296Z level=info msg="Executing migration" id="dashboard permissions" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.253323213Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=905.816µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.256660665Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.257726262Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.065327ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.261241646Z level=info msg="Executing migration" id="drop managed folder create actions" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.261440407Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=197.581µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.265887347Z level=info msg="Executing migration" id="alerting notification permissions" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.266261579Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=374.332µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.269506971Z level=info msg="Executing migration" id="create query_history_star table v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.270738069Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.230548ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.274226843Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.276291567Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=2.064844ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.281075419Z level=info msg="Executing migration" id="add column org_id in query_history_star" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.289552336Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.476677ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.292931588Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.293009739Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=78.271µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.296348191Z level=info msg="Executing migration" id="create correlation table v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.297318457Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=969.856µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.300629639Z level=info msg="Executing migration" id="add index correlations.uid" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.301902558Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.271409ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.308798325Z level=info msg="Executing migration" id="add index correlations.source_uid" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.31114443Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=2.350306ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.316886089Z level=info msg="Executing migration" id="add correlation config column" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.325350425Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.463536ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.328810089Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.329913616Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.099787ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.333102637Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.334193425Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.090648ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.339683522Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.370218286Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=30.534464ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.373598899Z level=info msg="Executing migration" id="create correlation v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.374411234Z level=info msg="Migration successfully executed" id="create correlation v2" duration=811.375µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.377517355Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.378753413Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.236178ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.384035359Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.385984422Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.947343ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.389808367Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.391849391Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=2.040994ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.397427059Z level=info msg="Executing migration" id="copy correlation v1 to v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.397778221Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=350.012µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.400906812Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.402033039Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.126717ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.405580303Z level=info msg="Executing migration" id="add provisioning column" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.416163634Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.583501ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.42157632Z level=info msg="Executing migration" id="create entity_events table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.422419036Z level=info msg="Migration successfully executed" id="create entity_events table" duration=839.546µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.425615078Z level=info msg="Executing migration" id="create dashboard public config v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.426627384Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.011856ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.429829566Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.430348679Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.436751092Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.437279556Z 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" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.440620228Z level=info msg="Executing migration" id="Drop old dashboard public config table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.441610565Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=989.507µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.445257269Z level=info msg="Executing migration" id="recreate dashboard public config v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.447013641Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.755862ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.452550258Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.453737866Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.187058ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.456827287Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.458046315Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.218348ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.461269517Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.462411514Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.142367ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.468019302Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.469768323Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.747451ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.47532802Z level=info msg="Executing migration" id="Drop public config table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.476866701Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.537891ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.482769231Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.483847178Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.074267ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.486962989Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.488134156Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.170967ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.491349188Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.492585486Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.230608ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.497280048Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.498443786Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.163708ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.502184571Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.542830923Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=40.633592ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.54679086Z level=info msg="Executing migration" id="add annotations_enabled column" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.5557522Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.96141ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.560640932Z level=info msg="Executing migration" id="add time_selection_enabled column" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.567113516Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.478204ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.57068919Z level=info msg="Executing migration" id="delete orphaned public dashboards" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.571067512Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=377.362µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.574730117Z level=info msg="Executing migration" id="add share column" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.587461062Z level=info msg="Migration successfully executed" id="add share column" duration=12.731345ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.591159527Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.591427149Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=263.432µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.628605268Z level=info msg="Executing migration" id="create file table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.630201049Z level=info msg="Migration successfully executed" id="create file table" duration=1.597741ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.634302786Z level=info msg="Executing migration" id="file table idx: path natural pk" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.636217119Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.914393ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.640868571Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.642097179Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.228329ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.646958431Z level=info msg="Executing migration" id="create file_meta table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.647780807Z level=info msg="Migration successfully executed" id="create file_meta table" duration=821.656µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.65127495Z level=info msg="Executing migration" id="file table idx: path key" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.652558499Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.285379ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.657532362Z level=info msg="Executing migration" id="set path collation in file table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.657644523Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=111.341µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.662868928Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.663084689Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=215.041µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.666854404Z level=info msg="Executing migration" id="managed permissions migration" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.667938802Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.082288ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.671882218Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.67218222Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=301.352µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.675759804Z level=info msg="Executing migration" id="RBAC action name migrator" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.67666036Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=900.316µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.68115589Z level=info msg="Executing migration" id="Add UID column to playlist" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.693201421Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=12.046711ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.696735215Z level=info msg="Executing migration" id="Update uid column values in playlist" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.696928036Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=192.751µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.700307059Z level=info msg="Executing migration" id="Add index for uid in playlist" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.702372543Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=2.073203ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.707372016Z level=info msg="Executing migration" id="update group index for alert rules" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.708130871Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=759.565µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.711837976Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.712121448Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=282.962µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.715684732Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.716254916Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=569.834µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.71994928Z level=info msg="Executing migration" id="add action column to seed_assignment" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.732251413Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.303093ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.736734753Z level=info msg="Executing migration" id="add scope column to seed_assignment" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.743141086Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.405013ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.74670328Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.747891618Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.187698ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.751591453Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.867444049Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=115.837056ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.872534033Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.87351854Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=984.167µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.877232335Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.878885916Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.649951ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.883081864Z level=info msg="Executing migration" id="add primary key to seed_assigment" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.921029778Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=37.945734ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.92580576Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.926089672Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=283.482µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.929644276Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.929867408Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=222.412µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.933455042Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.934053516Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=597.494µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.939449532Z level=info msg="Executing migration" id="create folder table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.941017612Z level=info msg="Migration successfully executed" id="create folder table" duration=1.56713ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.946041936Z level=info msg="Executing migration" id="Add index for parent_uid" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.948786135Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.745919ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.953020403Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.955057157Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=2.037403ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.958827872Z level=info msg="Executing migration" id="Update folder title length" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.958857692Z level=info msg="Migration successfully executed" id="Update folder title length" duration=30.11µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.963515213Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.964658701Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.141958ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.968643138Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.970592271Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.947253ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.976083477Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.977272795Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.188418ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.982333309Z level=info msg="Executing migration" id="Sync dashboard and folder table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.982785322Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=451.953µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.986729889Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.987000661Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=270.652µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.990563805Z level=info msg="Executing migration" id="create anon_device table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.99141723Z level=info msg="Migration successfully executed" id="create anon_device table" duration=855.556µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.996871947Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:27.998946101Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.072784ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.002678706Z level=info msg="Executing migration" id="add index anon_device.updated_at" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.003792843Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.116437ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.007212857Z level=info msg="Executing migration" id="create signing_key table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.008047756Z level=info msg="Migration successfully executed" id="create signing_key table" duration=832.349µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.012424867Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.01360737Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.181953ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.047532443Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.049472097Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.939384ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.053195795Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.053658896Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=463.291µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.058518486Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.067770086Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.25372ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.070924323Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.071586284Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=662.771µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.074861241Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.076041214Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.178783ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.079858232Z level=info msg="Executing migration" id="create sso_setting table" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.080858604Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.001512ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.087377018Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.088549651Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.173483ms 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.091975958Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.092395209Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=420.091µs 18:16:09 grafana | logger=migrator t=2024-02-21T18:14:28.095994377Z level=info msg="migrations completed" performed=526 skipped=0 duration=4.437916529s 18:16:09 grafana | logger=sqlstore t=2024-02-21T18:14:28.105428587Z level=info msg="Created default admin" user=admin 18:16:09 grafana | logger=sqlstore t=2024-02-21T18:14:28.105719077Z level=info msg="Created default organization" 18:16:09 grafana | logger=secrets t=2024-02-21T18:14:28.111840161Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 18:16:09 grafana | logger=plugin.store t=2024-02-21T18:14:28.133152806Z level=info msg="Loading plugins..." 18:16:09 grafana | logger=local.finder t=2024-02-21T18:14:28.171639559Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 18:16:09 grafana | logger=plugin.store t=2024-02-21T18:14:28.171712709Z level=info msg="Plugins loaded" count=55 duration=38.560753ms 18:16:09 grafana | logger=query_data t=2024-02-21T18:14:28.17687376Z level=info msg="Query Service initialization" 18:16:09 grafana | logger=live.push_http t=2024-02-21T18:14:28.18606888Z level=info msg="Live Push Gateway initialization" 18:16:09 grafana | logger=ngalert.migration t=2024-02-21T18:14:28.191772062Z level=info msg=Starting 18:16:09 grafana | logger=ngalert.migration orgID=1 t=2024-02-21T18:14:28.192837774Z level=info msg="Migrating alerts for organisation" 18:16:09 grafana | logger=ngalert.migration orgID=1 t=2024-02-21T18:14:28.193622356Z level=info msg="Alerts found to migrate" alerts=0 18:16:09 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-02-21T18:14:28.19551816Z level=info msg="Completed legacy migration" 18:16:09 grafana | logger=infra.usagestats.collector t=2024-02-21T18:14:28.224311342Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 18:16:09 grafana | logger=provisioning.datasources t=2024-02-21T18:14:28.226286376Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 18:16:09 grafana | logger=provisioning.alerting t=2024-02-21T18:14:28.239967755Z level=info msg="starting to provision alerting" 18:16:09 grafana | logger=provisioning.alerting t=2024-02-21T18:14:28.239989426Z level=info msg="finished to provision alerting" 18:16:09 grafana | logger=ngalert.state.manager t=2024-02-21T18:14:28.241072788Z level=info msg="Warming state cache for startup" 18:16:09 grafana | logger=ngalert.multiorg.alertmanager t=2024-02-21T18:14:28.241395349Z level=info msg="Starting MultiOrg Alertmanager" 18:16:09 grafana | logger=http.server t=2024-02-21T18:14:28.244240655Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 18:16:09 grafana | logger=grafana-apiserver t=2024-02-21T18:14:28.245524877Z level=info msg="Authentication is disabled" 18:16:09 grafana | logger=grafanaStorageLogger t=2024-02-21T18:14:28.245951178Z level=info msg="Storage starting" 18:16:09 grafana | logger=grafana-apiserver t=2024-02-21T18:14:28.249075135Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 18:16:09 grafana | logger=sqlstore.transactions t=2024-02-21T18:14:28.317914952Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:09 grafana | logger=plugins.update.checker t=2024-02-21T18:14:28.344607538Z level=info msg="Update check succeeded" duration=104.361562ms 18:16:09 grafana | logger=grafana.update.checker t=2024-02-21T18:14:28.371174543Z level=info msg="Update check succeeded" duration=130.532926ms 18:16:09 grafana | logger=ngalert.state.manager t=2024-02-21T18:14:28.392983209Z level=info msg="State cache has been initialized" states=0 duration=151.899051ms 18:16:09 grafana | logger=ngalert.scheduler t=2024-02-21T18:14:28.393044549Z level=info msg="Starting scheduler" tickInterval=10s 18:16:09 grafana | logger=ticker t=2024-02-21T18:14:28.393122169Z level=info msg=starting first_tick=2024-02-21T18:14:30Z 18:16:09 grafana | logger=sqlstore.transactions t=2024-02-21T18:14:28.484612489Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:09 grafana | logger=infra.usagestats t=2024-02-21T18:15:00.254659179Z level=info msg="Usage stats are ready to report" 18:16:09 ++ echo 'Tearing down containers...' 18:16:09 Tearing down containers... 18:16:09 ++ docker-compose down -v --remove-orphans 18:16:09 Stopping policy-api ... 18:16:09 Stopping grafana ... 18:16:09 Stopping prometheus ... 18:16:09 Stopping mariadb ... 18:16:10 Stopping grafana ... done 18:16:10 Stopping prometheus ... done 18:16:11 Stopping mariadb ... done 18:16:20 Stopping policy-api ... done 18:16:20 Removing policy-api ... 18:16:20 Removing policy-db-migrator ... 18:16:20 Removing grafana ... 18:16:20 Removing prometheus ... 18:16:20 Removing mariadb ... 18:16:20 Removing grafana ... done 18:16:20 Removing policy-api ... done 18:16:20 Removing policy-db-migrator ... done 18:16:20 Removing mariadb ... done 18:16:20 Removing prometheus ... done 18:16:20 Removing network compose_default 18:16:20 ++ cd /w/workspace/policy-api-montreal-project-csit-api 18:16:20 + load_set 18:16:20 + _setopts=hxB 18:16:20 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:20 ++ tr : ' ' 18:16:20 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:20 + set +o braceexpand 18:16:20 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:20 + set +o hashall 18:16:20 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:20 + set +o interactive-comments 18:16:20 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:20 + set +o xtrace 18:16:20 ++ echo hxB 18:16:20 ++ sed 's/./& /g' 18:16:20 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:20 + set +h 18:16:20 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:20 + set +x 18:16:20 + [[ -n /tmp/tmp.NbfJvcyCcP ]] 18:16:20 + rsync -av /tmp/tmp.NbfJvcyCcP/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:16:20 sending incremental file list 18:16:20 ./ 18:16:20 log.html 18:16:20 output.xml 18:16:20 report.html 18:16:20 testplan.txt 18:16:20 18:16:20 sent 1,345,511 bytes received 95 bytes 2,691,212.00 bytes/sec 18:16:20 total size is 1,344,860 speedup is 1.00 18:16:20 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:16:20 + exit 0 18:16:20 $ ssh-agent -k 18:16:20 unset SSH_AUTH_SOCK; 18:16:20 unset SSH_AGENT_PID; 18:16:20 echo Agent pid 2048 killed; 18:16:20 [ssh-agent] Stopped. 18:16:20 Robot results publisher started... 18:16:20 INFO: Checking test criticality is deprecated and will be dropped in a future release! 18:16:20 -Parsing output xml: 18:16:21 Done! 18:16:21 WARNING! Could not find file: **/log.html 18:16:21 WARNING! Could not find file: **/report.html 18:16:21 -Copying log files to build dir: 18:16:21 Done! 18:16:21 -Assigning results to build: 18:16:21 Done! 18:16:21 -Checking thresholds: 18:16:21 Done! 18:16:21 Done publishing Robot results. 18:16:21 [PostBuildScript] - [INFO] Executing post build scripts. 18:16:21 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins16656046175178133161.sh 18:16:21 ---> sysstat.sh 18:16:21 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1777054585236030743.sh 18:16:21 ---> package-listing.sh 18:16:21 ++ facter osfamily 18:16:21 ++ tr '[:upper:]' '[:lower:]' 18:16:22 + OS_FAMILY=debian 18:16:22 + workspace=/w/workspace/policy-api-montreal-project-csit-api 18:16:22 + START_PACKAGES=/tmp/packages_start.txt 18:16:22 + END_PACKAGES=/tmp/packages_end.txt 18:16:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:16:22 + PACKAGES=/tmp/packages_start.txt 18:16:22 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:22 + PACKAGES=/tmp/packages_end.txt 18:16:22 + case "${OS_FAMILY}" in 18:16:22 + dpkg -l 18:16:22 + grep '^ii' 18:16:22 + '[' -f /tmp/packages_start.txt ']' 18:16:22 + '[' -f /tmp/packages_end.txt ']' 18:16:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:16:22 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:22 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:16:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:16:22 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins6539825467665385720.sh 18:16:22 ---> capture-instance-metadata.sh 18:16:22 Setup pyenv: 18:16:22 system 18:16:22 3.8.13 18:16:22 3.9.13 18:16:22 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:22 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-kNYF from file:/tmp/.os_lf_venv 18:16:23 lf-activate-venv(): INFO: Installing: lftools 18:16:34 lf-activate-venv(): INFO: Adding /tmp/venv-kNYF/bin to PATH 18:16:34 INFO: Running in OpenStack, capturing instance metadata 18:16:34 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins8156283373783936425.sh 18:16:34 provisioning config files... 18:16:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config8030684556880569851tmp 18:16:34 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 18:16:34 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 18:16:34 [EnvInject] - Injecting environment variables from a build step. 18:16:34 [EnvInject] - Injecting as environment variables the properties content 18:16:34 SERVER_ID=logs 18:16:34 18:16:34 [EnvInject] - Variables injected successfully. 18:16:34 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins4812600643703318979.sh 18:16:34 ---> create-netrc.sh 18:16:34 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins10689408551580243525.sh 18:16:34 ---> python-tools-install.sh 18:16:34 Setup pyenv: 18:16:34 system 18:16:34 3.8.13 18:16:34 3.9.13 18:16:34 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:34 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-kNYF from file:/tmp/.os_lf_venv 18:16:36 lf-activate-venv(): INFO: Installing: lftools 18:16:44 lf-activate-venv(): INFO: Adding /tmp/venv-kNYF/bin to PATH 18:16:44 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins3518100982138971691.sh 18:16:44 ---> sudo-logs.sh 18:16:44 Archiving 'sudo' log.. 18:16:44 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins2271486983837968254.sh 18:16:44 ---> job-cost.sh 18:16:44 Setup pyenv: 18:16:44 system 18:16:44 3.8.13 18:16:44 3.9.13 18:16:44 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:44 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-kNYF from file:/tmp/.os_lf_venv 18:16:46 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 18:16:51 lf-activate-venv(): INFO: Adding /tmp/venv-kNYF/bin to PATH 18:16:51 INFO: No Stack... 18:16:51 INFO: Retrieving Pricing Info for: v3-standard-8 18:16:52 INFO: Archiving Costs 18:16:52 [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins14747069129021317366.sh 18:16:52 ---> logs-deploy.sh 18:16:52 Setup pyenv: 18:16:52 system 18:16:52 3.8.13 18:16:52 3.9.13 18:16:52 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:52 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-kNYF from file:/tmp/.os_lf_venv 18:16:53 lf-activate-venv(): INFO: Installing: lftools 18:17:01 lf-activate-venv(): INFO: Adding /tmp/venv-kNYF/bin to PATH 18:17:01 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/102 18:17:01 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 18:17:02 Archives upload complete. 18:17:02 INFO: archiving logs to Nexus 18:17:03 ---> uname -a: 18:17:03 Linux prd-ubuntu1804-docker-8c-8g-7478 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 18:17:03 18:17:03 18:17:03 ---> lscpu: 18:17:03 Architecture: x86_64 18:17:03 CPU op-mode(s): 32-bit, 64-bit 18:17:03 Byte Order: Little Endian 18:17:03 CPU(s): 8 18:17:03 On-line CPU(s) list: 0-7 18:17:03 Thread(s) per core: 1 18:17:03 Core(s) per socket: 1 18:17:03 Socket(s): 8 18:17:03 NUMA node(s): 1 18:17:03 Vendor ID: AuthenticAMD 18:17:03 CPU family: 23 18:17:03 Model: 49 18:17:03 Model name: AMD EPYC-Rome Processor 18:17:03 Stepping: 0 18:17:03 CPU MHz: 2800.000 18:17:03 BogoMIPS: 5600.00 18:17:03 Virtualization: AMD-V 18:17:03 Hypervisor vendor: KVM 18:17:03 Virtualization type: full 18:17:03 L1d cache: 32K 18:17:03 L1i cache: 32K 18:17:03 L2 cache: 512K 18:17:03 L3 cache: 16384K 18:17:03 NUMA node0 CPU(s): 0-7 18:17:03 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 18:17:03 18:17:03 18:17:03 ---> nproc: 18:17:03 8 18:17:03 18:17:03 18:17:03 ---> df -h: 18:17:03 Filesystem Size Used Avail Use% Mounted on 18:17:03 udev 16G 0 16G 0% /dev 18:17:03 tmpfs 3.2G 708K 3.2G 1% /run 18:17:03 /dev/vda1 155G 12G 144G 8% / 18:17:03 tmpfs 16G 0 16G 0% /dev/shm 18:17:03 tmpfs 5.0M 0 5.0M 0% /run/lock 18:17:03 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:17:03 /dev/vda15 105M 4.4M 100M 5% /boot/efi 18:17:03 tmpfs 3.2G 0 3.2G 0% /run/user/1001 18:17:03 18:17:03 18:17:03 ---> free -m: 18:17:03 total used free shared buff/cache available 18:17:03 Mem: 32167 833 27338 0 3995 30878 18:17:03 Swap: 1023 0 1023 18:17:03 18:17:03 18:17:03 ---> ip addr: 18:17:03 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 18:17:03 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:17:03 inet 127.0.0.1/8 scope host lo 18:17:03 valid_lft forever preferred_lft forever 18:17:03 inet6 ::1/128 scope host 18:17:03 valid_lft forever preferred_lft forever 18:17:03 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 18:17:03 link/ether fa:16:3e:f8:13:dd brd ff:ff:ff:ff:ff:ff 18:17:03 inet 10.30.107.104/23 brd 10.30.107.255 scope global dynamic ens3 18:17:03 valid_lft 86058sec preferred_lft 86058sec 18:17:03 inet6 fe80::f816:3eff:fef8:13dd/64 scope link 18:17:03 valid_lft forever preferred_lft forever 18:17:03 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 18:17:03 link/ether 02:42:a9:91:d6:8b brd ff:ff:ff:ff:ff:ff 18:17:03 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:17:03 valid_lft forever preferred_lft forever 18:17:03 18:17:03 18:17:03 ---> sar -b -r -n DEV: 18:17:03 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-7478) 02/21/24 _x86_64_ (8 CPU) 18:17:03 18:17:03 18:11:25 LINUX RESTART (8 CPU) 18:17:03 18:17:03 18:12:00 tps rtps wtps bread/s bwrtn/s 18:17:03 18:13:01 96.51 23.47 73.04 1236.58 24894.13 18:17:03 18:14:01 140.21 23.05 117.16 2755.67 32440.19 18:17:03 18:15:01 374.45 12.51 361.94 816.20 80057.57 18:17:03 18:16:01 14.71 0.00 14.71 0.00 18753.86 18:17:03 18:17:01 72.59 2.48 70.11 143.02 23027.47 18:17:03 Average: 139.55 12.34 127.21 991.09 35797.52 18:17:03 18:17:03 18:12:00 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:17:03 18:13:01 30101008 31712716 2838212 8.62 70560 1850960 1445548 4.25 857116 1686044 183144 18:17:03 18:14:01 28513736 31661412 4425484 13.44 104844 3306440 1547476 4.55 989492 3046180 1253360 18:17:03 18:15:01 26870584 30528272 6068636 18.42 127904 3753536 4300092 12.65 2213720 3399216 1196 18:17:03 18:16:01 26908540 30566632 6030680 18.31 127972 3753644 4266628 12.55 2177232 3398708 60 18:17:03 18:17:01 28010836 31635148 4928384 14.96 131556 3725832 1443500 4.25 1143348 3355132 14140 18:17:03 Average: 28080941 31220836 4858279 14.75 112567 3278082 2600649 7.65 1476182 2977056 290380 18:17:03 18:17:03 18:12:00 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:17:03 18:13:01 ens3 62.42 43.94 975.87 8.37 0.00 0.00 0.00 0.00 18:17:03 18:13:01 lo 1.64 1.64 0.18 0.18 0.00 0.00 0.00 0.00 18:17:03 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:03 18:14:01 ens3 262.34 160.29 8112.38 15.90 0.00 0.00 0.00 0.00 18:17:03 18:14:01 lo 8.27 8.27 0.76 0.76 0.00 0.00 0.00 0.00 18:17:03 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:03 18:14:01 br-f0fcc16ff7e3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:03 18:15:01 ens3 64.07 43.81 1849.61 4.44 0.00 0.00 0.00 0.00 18:17:03 18:15:01 lo 7.02 7.02 7.52 7.52 0.00 0.00 0.00 0.00 18:17:03 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:03 18:15:01 vetha4c39ae 0.50 0.75 0.05 0.31 0.00 0.00 0.00 0.00 18:17:03 18:16:01 ens3 3.95 2.33 1.96 1.87 0.00 0.00 0.00 0.00 18:17:03 18:16:01 lo 6.33 6.33 1.23 1.23 0.00 0.00 0.00 0.00 18:17:03 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:03 18:16:01 vetha4c39ae 0.23 0.18 0.02 0.01 0.00 0.00 0.00 0.00 18:17:03 18:17:01 ens3 69.68 52.20 99.75 26.48 0.00 0.00 0.00 0.00 18:17:03 18:17:01 lo 6.68 6.68 0.62 0.62 0.00 0.00 0.00 0.00 18:17:03 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:03 Average: ens3 92.39 60.46 2203.71 11.40 0.00 0.00 0.00 0.00 18:17:03 Average: lo 5.97 5.97 2.05 2.05 0.00 0.00 0.00 0.00 18:17:03 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:03 18:17:03 18:17:03 ---> sar -P ALL: 18:17:03 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-7478) 02/21/24 _x86_64_ (8 CPU) 18:17:03 18:17:03 18:11:25 LINUX RESTART (8 CPU) 18:17:03 18:17:03 18:12:00 CPU %user %nice %system %iowait %steal %idle 18:17:03 18:13:01 all 10.22 0.00 0.75 2.26 0.03 86.74 18:17:03 18:13:01 0 0.61 0.00 0.36 0.03 0.02 98.98 18:17:03 18:13:01 1 2.89 0.00 0.38 11.65 0.08 85.00 18:17:03 18:13:01 2 4.33 0.00 0.23 0.34 0.02 95.08 18:17:03 18:13:01 3 42.47 0.00 2.41 2.41 0.07 52.65 18:17:03 18:13:01 4 18.17 0.00 1.00 0.53 0.03 80.27 18:17:03 18:13:01 5 8.97 0.00 0.82 1.18 0.02 89.01 18:17:03 18:13:01 6 3.30 0.00 0.51 0.36 0.02 95.82 18:17:03 18:13:01 7 1.12 0.00 0.30 1.63 0.00 96.96 18:17:03 18:14:01 all 11.50 0.00 2.58 2.50 0.04 83.37 18:17:03 18:14:01 0 8.73 0.00 2.22 0.32 0.05 88.69 18:17:03 18:14:01 1 6.29 0.00 2.67 12.63 0.07 78.34 18:17:03 18:14:01 2 15.50 0.00 2.44 0.44 0.03 81.59 18:17:03 18:14:01 3 9.33 0.00 2.28 0.50 0.03 87.85 18:17:03 18:14:01 4 23.39 0.00 3.14 2.17 0.05 71.25 18:17:03 18:14:01 5 16.34 0.00 3.56 0.40 0.05 79.64 18:17:03 18:14:01 6 7.71 0.00 1.98 3.11 0.03 87.16 18:17:03 18:14:01 7 4.75 0.00 2.36 0.47 0.05 92.37 18:17:03 18:15:01 all 17.62 0.00 3.35 5.43 0.07 73.53 18:17:03 18:15:01 0 16.15 0.00 3.34 2.85 0.08 77.57 18:17:03 18:15:01 1 14.63 0.00 3.21 8.68 0.07 73.42 18:17:03 18:15:01 2 21.47 0.00 3.35 0.40 0.08 74.69 18:17:03 18:15:01 3 15.16 0.00 4.27 20.45 0.07 60.06 18:17:03 18:15:01 4 22.31 0.00 4.09 2.71 0.07 70.83 18:17:03 18:15:01 5 16.75 0.00 2.55 0.59 0.07 80.04 18:17:03 18:15:01 6 15.22 0.00 2.67 5.77 0.05 76.28 18:17:03 18:15:01 7 19.30 0.00 3.28 2.07 0.07 75.28 18:17:03 18:16:01 all 0.60 0.00 0.07 1.01 0.01 98.30 18:17:03 18:16:01 0 0.22 0.00 0.03 0.00 0.00 99.75 18:17:03 18:16:01 1 0.65 0.00 0.03 0.00 0.00 99.32 18:17:03 18:16:01 2 0.62 0.00 0.08 0.00 0.00 99.30 18:17:03 18:16:01 3 0.30 0.00 0.15 0.10 0.03 99.42 18:17:03 18:16:01 4 0.17 0.00 0.02 0.00 0.00 99.82 18:17:03 18:16:01 5 1.95 0.00 0.15 0.00 0.03 97.86 18:17:03 18:16:01 6 0.50 0.00 0.07 7.99 0.02 91.42 18:17:03 18:16:01 7 0.38 0.00 0.05 0.00 0.02 99.55 18:17:03 18:17:01 all 8.41 0.00 0.73 1.34 0.03 89.48 18:17:03 18:17:01 0 13.17 0.00 0.58 4.39 0.05 81.80 18:17:03 18:17:01 1 7.38 0.00 0.68 0.07 0.03 91.84 18:17:03 18:17:01 2 2.57 0.00 0.52 0.07 0.02 96.83 18:17:03 18:17:01 3 0.83 0.00 0.57 0.57 0.02 98.02 18:17:03 18:17:01 4 3.27 0.00 0.60 0.20 0.03 95.89 18:17:03 18:17:01 5 18.81 0.00 1.17 0.39 0.05 79.58 18:17:03 18:17:01 6 3.92 0.00 0.73 4.60 0.02 90.73 18:17:03 18:17:01 7 17.39 0.00 0.98 0.45 0.03 81.15 18:17:03 Average: all 9.66 0.00 1.49 2.50 0.04 86.31 18:17:03 Average: 0 7.74 0.00 1.30 1.51 0.04 89.41 18:17:03 Average: 1 6.35 0.00 1.39 6.60 0.05 85.62 18:17:03 Average: 2 8.85 0.00 1.31 0.25 0.03 89.55 18:17:03 Average: 3 13.69 0.00 1.93 4.77 0.04 79.57 18:17:03 Average: 4 13.45 0.00 1.76 1.11 0.04 83.64 18:17:03 Average: 5 12.52 0.00 1.64 0.51 0.04 85.28 18:17:03 Average: 6 6.11 0.00 1.19 4.35 0.03 88.33 18:17:03 Average: 7 8.55 0.00 1.39 0.92 0.03 89.11 18:17:03 18:17:03 18:17:03