Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/docker/+/136986 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-12271 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-project-csit-verify-api [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-58XJAvLnFBMT/agent.2220 SSH_AGENT_PID=2222 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-verify-api@tmp/private_key_14362815115056608065.key (/w/workspace/policy-api-master-project-csit-verify-api@tmp/private_key_14362815115056608065.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/policy/docker.git > git init /w/workspace/policy-api-master-project-csit-verify-api # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git refs/changes/86/136986/4 # timeout=30 > git rev-parse f2e4da7e296548fb3980fd212e3a67dc83254e1d^{commit} # timeout=10 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script Checking out Revision f2e4da7e296548fb3980fd212e3a67dc83254e1d (refs/changes/86/136986/4) > git config core.sparsecheckout # timeout=10 > git checkout -f f2e4da7e296548fb3980fd212e3a67dc83254e1d # timeout=30 Commit message: "Add kafka support in Policy CSIT" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk b9d434aeef048c4ea2cf9bd8a27681d375ec5b85 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins11764837086049915914.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-db3a lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-db3a/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-db3a/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.2 boto3==1.34.19 botocore==1.34.19 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.5.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.26.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.3 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.17.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-verify-api] $ /bin/sh /tmp/jenkins7543492058674556310.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.4" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-verify-api] $ /bin/sh -xe /tmp/jenkins16102564380414308003.sh + /w/workspace/policy-api-master-project-csit-verify-api/csit/run-project-csit.sh api + set +u + save_set + RUN_CSIT_SAVE_SET=ehxB + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace + '[' 1 -eq 0 ']' + '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-master-project-csit-verify-api + rm -rf /w/workspace/policy-api-master-project-csit-verify-api/csit/archives/api + mkdir -p /w/workspace/policy-api-master-project-csit-verify-api/csit/archives/api + source_safely /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.BiXrR0U6FV ++ echo ROBOT_VENV=/tmp/tmp.BiXrR0U6FV +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.BiXrR0U6FV ++ source /tmp/tmp.BiXrR0U6FV/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.BiXrR0U6FV +++ export VIRTUAL_ENV +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin +++ PATH=/tmp/tmp.BiXrR0U6FV/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.BiXrR0U6FV) ' '!=' x ']' +++ PS1='(tmp.BiXrR0U6FV) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.9.2 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.BiXrR0U6FV/src/onap ++ rm -rf /tmp/tmp.BiXrR0U6FV/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Installing python confluent-kafka library' Installing python confluent-kafka library ++ python3 -m pip install -qq confluent-kafka ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.9.2 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 confluent-kafka==2.3.0 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.BiXrR0U6FV/bin/activate + '[' -z /tmp/tmp.BiXrR0U6FV/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.BiXrR0U6FV/bin/activate ++ deactivate nondestructive ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin ']' ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin ++ export PATH ++ unset _OLD_VIRTUAL_PATH ++ '[' -n '' ']' ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/tmp/tmp.BiXrR0U6FV ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin ++ PATH=/tmp/tmp.BiXrR0U6FV/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.BiXrR0U6FV) ' ++ '[' 'x(tmp.BiXrR0U6FV) ' '!=' x ']' ++ PS1='(tmp.BiXrR0U6FV) (tmp.BiXrR0U6FV) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + export TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.QobNRmPIDi + cd /tmp/tmp.QobNRmPIDi + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-verify-api/.gitreview +++ GERRIT_BRANCH=master +++ echo GERRIT_BRANCH=master GERRIT_BRANCH=master +++ rm -rf /w/workspace/policy-api-master-project-csit-verify-api/models +++ mkdir /w/workspace/policy-api-master-project-csit-verify-api/models +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-verify-api/models Cloning into '/w/workspace/policy-api-master-project-csit-verify-api/models'... +++ export DATA=/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-master-project-csit-verify-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-verify-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-master-project-csit-verify-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.1.1-SNAPSHOT)... 3.1.1-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:bd33796bedd5ad2337f9468b0cd9d04db279a1f831716e1c03cebe5a20ced20b Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.1-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.0)... 3.1.0: Pulling from onap/policy-api Digest: sha256:5c4c03761af8683035bdfb23ad490044d6b151e5d5939a59b93a6064a761dbbd Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.0 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:a67e5e402ff5410b86ec48b39eab1a3c4df2a7e78a71bf025ec5e32e09090ad4 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:6b5b37eb35bbf30e7f64bd7f0fd41c0a5b7637f65d3bf93223b04a192b8bf3e2 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating mariadb ... done Creating policy-db-migrator ... Creating grafana ... done Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-master-project-csit-verify-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 14 seconds grafana Up 17 seconds mariadb Up 18 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 15 seconds policy-db-migrator Up 19 seconds grafana Up 22 seconds mariadb Up 23 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 20 seconds policy-db-migrator Up 24 seconds grafana Up 27 seconds mariadb Up 28 seconds prometheus Up 29 seconds NAMES STATUS policy-api Up 25 seconds policy-db-migrator Up 29 seconds grafana Up 32 seconds mariadb Up 33 seconds prometheus Up 34 seconds NAMES STATUS policy-api Up 30 seconds policy-db-migrator Up 34 seconds grafana Up 37 seconds mariadb Up 39 seconds prometheus Up 40 seconds NAMES STATUS policy-api Up 35 seconds policy-db-migrator Up 39 seconds grafana Up 42 seconds mariadb Up 44 seconds prometheus Up 45 seconds NAMES STATUS policy-api Up 40 seconds policy-db-migrator Up 44 seconds grafana Up 47 seconds mariadb Up 49 seconds prometheus Up 50 seconds NAMES STATUS policy-api Up 45 seconds policy-db-migrator Up 49 seconds grafana Up 52 seconds mariadb Up 54 seconds prometheus Up 55 seconds NAMES STATUS policy-api Up 50 seconds policy-db-migrator Up 54 seconds grafana Up 57 seconds mariadb Up 59 seconds prometheus Up About a minute NAMES STATUS policy-api Up 55 seconds grafana Up About a minute mariadb Up About a minute prometheus Up About a minute NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-master-project-csit-verify-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 19:16:47 up 6 min, 0 users, load average: 3.14, 1.74, 0.75 Tasks: 168 total, 1 running, 101 sleeping, 0 stopped, 0 zombie %Cpu(s): 6.6 us, 1.4 sy, 0.0 ni, 82.6 id, 9.4 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.4G 25G 1.0M 4.2G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 6bdca7533194 policy-api 1.58% 494.8MiB / 31.41GiB 1.54% 1MB / 714kB 0B / 8.19kB 55 93587fb94729 grafana 0.02% 52.61MiB / 31.41GiB 0.16% 18.8kB / 3.4kB 0B / 24MB 14 417e132a2b12 mariadb 0.02% 99.21MiB / 31.41GiB 0.31% 989kB / 1.19MB 10.8MB / 71.2MB 26 f75915f9dd68 prometheus 0.00% 19.11MiB / 31.41GiB 0.06% 1.73kB / 400B 28.7kB / 0B 13 + echo + cd /tmp/tmp.QobNRmPIDi + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 22 tests, 22 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 9 tests, 9 passed, 0 failed ============================================================================== api | PASS | 31 tests, 31 passed, 0 failed ============================================================================== Output: /tmp/tmp.QobNRmPIDi/output.xml Log: /tmp/tmp.QobNRmPIDi/log.html Report: /tmp/tmp.QobNRmPIDi/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-master-project-csit-verify-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 2 minutes grafana Up 2 minutes mariadb Up 2 minutes prometheus Up 2 minutes + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 19:17:59 up 7 min, 0 users, load average: 1.01, 1.41, 0.71 Tasks: 166 total, 1 running, 99 sleeping, 0 stopped, 0 zombie %Cpu(s): 6.2 us, 1.2 sy, 0.0 ni, 84.7 id, 7.9 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.2G 25G 1.0M 4.2G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 2 minutes grafana Up 2 minutes mariadb Up 2 minutes prometheus Up 2 minutes + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 6bdca7533194 policy-api 0.13% 1.225GiB / 31.41GiB 3.90% 7.01MB / 2.55MB 0B / 8.19kB 56 93587fb94729 grafana 0.13% 52.79MiB / 31.41GiB 0.16% 19.6kB / 4.35kB 0B / 24.1MB 14 417e132a2b12 mariadb 0.01% 100.2MiB / 31.41GiB 0.31% 2.4MB / 7.05MB 10.8MB / 71.5MB 19 f75915f9dd68 prometheus 0.00% 24.25MiB / 31.41GiB 0.08% 55.6kB / 6.74kB 28.7kB / 0B 13 + echo + source_safely /w/workspace/policy-api-master-project-csit-verify-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-verify-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-verify-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-verify-api/compose ++ cd /w/workspace/policy-api-master-project-csit-verify-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2024-01-14T19:15:34.604626126Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z grafana | logger=settings t=2024-01-14T19:15:34.604925768Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-01-14T19:15:34.60496672Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-01-14T19:15:34.604990756Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-01-14T19:15:34.605015251Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-01-14T19:15:34.605041856Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-14T19:15:34.605076419Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-14T19:15:34.605135588Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-01-14T19:15:34.60517689Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-01-14T19:15:34.605215502Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-01-14T19:15:34.605253535Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-14T19:15:34.605297577Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-14T19:15:34.60533496Z level=info msg=Target target=[all] grafana | logger=settings t=2024-01-14T19:15:34.605376052Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-01-14T19:15:34.60543439Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-01-14T19:15:34.605470793Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-01-14T19:15:34.605508866Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-01-14T19:15:34.605561206Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-01-14T19:15:34.60559203Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-01-14T19:15:34.605914998Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-01-14T19:15:34.605962139Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-01-14T19:15:34.606587909Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-01-14T19:15:34.607439415Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-01-14T19:15:34.608204228Z level=info msg="Migration successfully executed" id="create migration_log table" duration=764.283µs grafana | logger=migrator t=2024-01-14T19:15:34.839233416Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-01-14T19:15:34.839865744Z level=info msg="Migration successfully executed" id="create user table" duration=632.079µs grafana | logger=migrator t=2024-01-14T19:15:35.248823089Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-01-14T19:15:35.249783573Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=962.294µs grafana | logger=migrator t=2024-01-14T19:15:35.67399966Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-01-14T19:15:35.675749411Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.776656ms policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2024-01-14T19:16:33.569+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 60 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-01-14T19:16:33.570+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-01-14T19:16:35.663+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-01-14T19:16:35.772+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 98 ms. Found 6 JPA repository interfaces. policy-api | [2024-01-14T19:16:36.269+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 policy-api | [2024-01-14T19:16:36.269+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 policy-api | [2024-01-14T19:16:37.074+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-01-14T19:16:37.083+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-14T19:16:37.085+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-01-14T19:16:37.086+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.16] policy-api | [2024-01-14T19:16:37.191+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-01-14T19:16:37.192+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3533 ms policy-api | [2024-01-14T19:16:37.656+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-01-14T19:16:37.730+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-01-14T19:16:37.734+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-01-14T19:16:37.782+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-01-14T19:16:38.147+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-01-14T19:16:38.167+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-01-14T19:16:38.276+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-01-14T19:15:36.07721697Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-01-14T19:15:36.07805274Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=836.5µs grafana | logger=migrator t=2024-01-14T19:15:36.305756977Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-01-14T19:15:36.307371358Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.616651ms grafana | logger=migrator t=2024-01-14T19:15:37.028387214Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-01-14T19:15:37.032121974Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.737299ms grafana | logger=migrator t=2024-01-14T19:15:37.386946772Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-01-14T19:15:37.388542544Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.597741ms grafana | logger=migrator t=2024-01-14T19:15:37.625755981Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-01-14T19:15:37.627491216Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.737905ms grafana | logger=migrator t=2024-01-14T19:15:37.86679885Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-01-14T19:15:37.868036971Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.240201ms grafana | logger=migrator t=2024-01-14T19:15:38.261324436Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-01-14T19:15:38.262469858Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=1.148021ms grafana | logger=migrator t=2024-01-14T19:15:38.516078637Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-01-14T19:15:38.517709186Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=1.517431ms grafana | logger=migrator t=2024-01-14T19:15:38.770660071Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-01-14T19:15:38.773270893Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=2.660513ms grafana | logger=migrator t=2024-01-14T19:15:39.095205861Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-01-14T19:15:39.095296693Z level=info msg="Migration successfully executed" id="Update user table charset" duration=93.992µs grafana | logger=migrator t=2024-01-14T19:15:39.449704964Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-01-14T19:15:39.452315144Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=2.613089ms grafana | logger=migrator t=2024-01-14T19:15:40.138758242Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-01-14T19:15:40.139411518Z level=info msg="Migration successfully executed" id="Add missing user data" duration=656.546µs grafana | logger=migrator t=2024-01-14T19:15:40.312784849Z level=info msg="Executing migration" id="Add is_disabled column to user" prometheus | ts=2024-01-14T19:15:31.867Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-01-14T19:15:31.867Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" prometheus | ts=2024-01-14T19:15:31.867Z caller=main.go:588 level=info build_context="(go=go1.21.5, platform=linux/amd64, user=root@71f108ff5632, date=20231208-23:33:22, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-01-14T19:15:31.867Z caller=main.go:589 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))" prometheus | ts=2024-01-14T19:15:31.867Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-01-14T19:15:31.867Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-01-14T19:15:31.870Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-01-14T19:15:31.871Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2024-01-14T19:15:31.872Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-01-14T19:15:31.872Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-01-14T19:15:31.909Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-01-14T19:15:31.909Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.52µs prometheus | ts=2024-01-14T19:15:31.909Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-01-14T19:15:31.909Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-01-14T19:15:31.909Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=33.675µs wal_replay_duration=380.617µs wbl_replay_duration=170ns total_replay_duration=448.197µs prometheus | ts=2024-01-14T19:15:31.913Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-01-14T19:15:31.914Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2024-01-14T19:15:31.914Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-01-14T19:15:31.915Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.56619ms db_storage=1.5µs remote_storage=3.029µs web_handler=960ns query_engine=1.15µs scrape=424.47µs scrape_sd=165.287µs notify=35.255µs notify_sd=22.926µs rules=1.76µs tracing=5.499µs prometheus | ts=2024-01-14T19:15:31.915Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-01-14T19:15:31.915Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:40.315522999Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=2.769674ms grafana | logger=migrator t=2024-01-14T19:15:40.438450366Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-01-14T19:15:40.440410374Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.962187ms grafana | logger=migrator t=2024-01-14T19:15:40.870016777Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-01-14T19:15:40.871734701Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.721493ms grafana | logger=migrator t=2024-01-14T19:15:41.081745808Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-01-14T19:15:41.091670733Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.927594ms grafana | logger=migrator t=2024-01-14T19:15:41.364444563Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-01-14T19:15:41.366163627Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.723853ms grafana | logger=migrator t=2024-01-14T19:15:41.415204012Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-01-14T19:15:41.416260751Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.059009ms grafana | logger=migrator t=2024-01-14T19:15:41.531407761Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-01-14T19:15:41.533028393Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.617563ms grafana | logger=migrator t=2024-01-14T19:15:41.659973821Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-01-14T19:15:41.661616559Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.649567ms grafana | logger=migrator t=2024-01-14T19:15:41.818045148Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-01-14T19:15:41.81982419Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.784941ms grafana | logger=migrator t=2024-01-14T19:15:41.896294476Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-01-14T19:15:41.896364312Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=70.556µs grafana | logger=migrator t=2024-01-14T19:15:42.197214253Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-01-14T19:15:42.198860092Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.652018ms grafana | logger=migrator t=2024-01-14T19:15:42.354483832Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-01-14T19:15:42.356200627Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.721095ms grafana | logger=migrator t=2024-01-14T19:15:42.57001294Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-01-14T19:15:42.571716069Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.707447ms grafana | logger=migrator t=2024-01-14T19:15:42.712417379Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-01-14T19:15:42.713699016Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.285357ms grafana | logger=migrator t=2024-01-14T19:15:42.923301045Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-14T19:15:42.946901005Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=23.60153ms grafana | logger=migrator t=2024-01-14T19:15:43.17705485Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-01-14T19:15:43.177915478Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=864.577µs grafana | logger=migrator t=2024-01-14T19:15:43.571298228Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-01-14T19:15:43.572301748Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.0066ms grafana | logger=migrator t=2024-01-14T19:15:43.967698937Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-01-14T19:15:43.968660635Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=964.738µs grafana | logger=migrator t=2024-01-14T19:15:44.039733647Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-01-14T19:15:44.040952026Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.219038ms grafana | logger=migrator t=2024-01-14T19:15:44.311768438Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-01-14T19:15:44.320318844Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=8.563873ms grafana | logger=migrator t=2024-01-14T19:15:44.659772059Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-01-14T19:15:44.660538703Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=769.033µs grafana | logger=migrator t=2024-01-14T19:15:44.950248077Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-01-14T19:15:44.951248067Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=1.00265ms grafana | logger=migrator t=2024-01-14T19:15:45.399733889Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" policy-db-migrator | policy-api | [2024-01-14T19:16:38.278+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-01-14T19:16:38.306+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) mariadb | 2024-01-14 19:15:32+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:45.400240792Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=509.944µs policy-api | [2024-01-14T19:16:38.308+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead mariadb | 2024-01-14 19:15:32+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2024-01-14T19:15:45.834436801Z level=info msg="Executing migration" id="create star table" policy-api | [2024-01-14T19:16:40.417+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) mariadb | 2024-01-14 19:15:32+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:45.836600949Z level=info msg="Migration successfully executed" id="create star table" duration=2.166388ms policy-api | [2024-01-14T19:16:40.421+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' mariadb | 2024-01-14 19:15:33+00:00 [Note] [Entrypoint]: Initializing database files 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) grafana | logger=migrator t=2024-01-14T19:15:46.130962529Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" policy-api | [2024-01-14T19:16:42.233+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml mariadb | 2024-01-14 19:15:33 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:46.133160661Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=2.203781ms policy-api | [2024-01-14T19:16:43.874+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] mariadb | 2024-01-14 19:15:33 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:46.532771765Z level=info msg="Executing migration" id="create org table v1" policy-api | [2024-01-14T19:16:45.110+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 mariadb | 2024-01-14 19:15:35 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:46.534110641Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.342014ms policy-api | [2024-01-14T19:16:45.307+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@6149184e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6f3a8d5e, org.springframework.security.web.context.SecurityContextHolderFilter@39d666e0, org.springframework.security.web.header.HeaderWriterFilter@5f160f9c, org.springframework.security.web.authentication.logout.LogoutFilter@79462469, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@407bfc49, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@56bc8c45, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2f29400e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@680f7a5e, org.springframework.security.web.access.ExceptionTranslationFilter@9bc10bd, org.springframework.security.web.access.intercept.AuthorizationFilter@1e33203f] mariadb | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-01-14T19:15:46.991245345Z level=info msg="Executing migration" id="create index UQE_org_name - v1" policy-api | [2024-01-14T19:16:46.159+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:46.99279986Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.556024ms policy-api | [2024-01-14T19:16:46.233+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 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) grafana | logger=migrator t=2024-01-14T19:15:47.739038305Z level=info msg="Executing migration" id="create org_user table v1" policy-api | [2024-01-14T19:16:46.260+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' mariadb | To do so, start the server, then issue the following command: policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:47.74027564Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.239954ms policy-api | [2024-01-14T19:16:46.279+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 14.191 seconds (process running for 14.831) mariadb | policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:48.211954577Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" policy-api | [2024-01-14T19:16:50.479+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' mariadb | '/usr/bin/mysql_secure_installation' policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:48.213312339Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.360721ms policy-api | [2024-01-14T19:16:50.480+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' mariadb | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2024-01-14T19:15:48.684002613Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" policy-api | [2024-01-14T19:16:50.481+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms mariadb | which will also give you the option of removing the test policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:48.685525773Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.52556ms policy-api | [2024-01-14T19:16:53.771+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: mariadb | databases and anonymous user created by default. This is policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-14T19:15:49.143794516Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" policy-api | [] mariadb | strongly recommended for production servers. policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:49.145392442Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.601265ms policy-api | [2024-01-14T19:16:53.955+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes mariadb | policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:49.595286232Z level=info msg="Executing migration" id="Update org table charset" policy-api | [2024-01-14T19:16:54.251+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:49.595366507Z level=info msg="Migration successfully executed" id="Update org table charset" duration=82.765µs policy-api | [2024-01-14T19:16:55.664+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies mariadb | grafana | logger=migrator t=2024-01-14T19:15:49.768249477Z level=info msg="Executing migration" id="Update org_user table charset" policy-api | [2024-01-14T19:16:57.860+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql mariadb | Please report any problems at https://mariadb.org/jira grafana | logger=migrator t=2024-01-14T19:15:49.768303817Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=57.739µs policy-api | [2024-01-14T19:16:58.193+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-01-14T19:15:49.795994181Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" policy-api | [2024-01-14T19:16:58.444+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 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) mariadb | The latest information about MariaDB is available at https://mariadb.org/. grafana | logger=migrator t=2024-01-14T19:15:49.796571661Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=574.021µs policy-api | [2024-01-14T19:16:58.672+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-01-14T19:15:50.001505154Z level=info msg="Executing migration" id="create dashboard table" policy-api | [2024-01-14T19:16:58.915+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-db-migrator | mariadb | Consider joining MariaDB's strong and vibrant community: grafana | logger=migrator t=2024-01-14T19:15:50.002394995Z level=info msg="Migration successfully executed" id="create dashboard table" duration=893.04µs policy-api | [2024-01-14T19:16:59.139+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | mariadb | https://mariadb.org/get-involved/ grafana | logger=migrator t=2024-01-14T19:15:50.055839516Z level=info msg="Executing migration" id="add index dashboard.account_id" policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql mariadb | grafana | logger=migrator t=2024-01-14T19:15:50.057395849Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.557273ms policy-db-migrator | -------------- mariadb | 2024-01-14 19:15:53+00:00 [Note] [Entrypoint]: Database files initialized grafana | logger=migrator t=2024-01-14T19:15:50.200866236Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 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) mariadb | 2024-01-14 19:15:53+00:00 [Note] [Entrypoint]: Starting temporary server grafana | logger=migrator t=2024-01-14T19:15:50.202481838Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.633039ms policy-db-migrator | -------------- mariadb | 2024-01-14 19:15:53+00:00 [Note] [Entrypoint]: Waiting for server startup grafana | logger=migrator t=2024-01-14T19:15:50.445398336Z level=info msg="Executing migration" id="create dashboard_tag table" policy-db-migrator | mariadb | 2024-01-14 19:15:53 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... grafana | logger=migrator t=2024-01-14T19:15:50.446781642Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.385586ms policy-db-migrator | mariadb | 2024-01-14 19:15:53 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2024-01-14T19:15:50.499779038Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql mariadb | 2024-01-14 19:15:53 0 [Note] InnoDB: Number of transaction pools: 1 grafana | logger=migrator t=2024-01-14T19:15:50.501270943Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.489736ms policy-db-migrator | -------------- mariadb | 2024-01-14 19:15:53 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2024-01-14T19:15:50.707260311Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 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) mariadb | 2024-01-14 19:15:53 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=migrator t=2024-01-14T19:15:50.708958127Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.726741ms policy-db-migrator | -------------- mariadb | 2024-01-14 19:15:53 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=migrator t=2024-01-14T19:15:50.802048859Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" policy-db-migrator | mariadb | 2024-01-14 19:15:53 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2024-01-14T19:15:50.812597298Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=10.549839ms policy-db-migrator | mariadb | 2024-01-14 19:15:53 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2024-01-14T19:15:51.045219253Z level=info msg="Executing migration" id="create dashboard v2" policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql mariadb | 2024-01-14 19:15:53 0 [Note] InnoDB: Completed initialization of buffer pool grafana | logger=migrator t=2024-01-14T19:15:51.046681404Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=1.464561ms policy-db-migrator | -------------- mariadb | 2024-01-14 19:15:53 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2024-01-14T19:15:51.307149254Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 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) mariadb | 2024-01-14 19:15:53 0 [Note] InnoDB: 128 rollback segments are active. grafana | logger=migrator t=2024-01-14T19:15:51.308006911Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=858.186µs policy-db-migrator | -------------- mariadb | 2024-01-14 19:15:53 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... grafana | logger=migrator t=2024-01-14T19:15:51.451968747Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" policy-db-migrator | mariadb | 2024-01-14 19:15:53 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. grafana | logger=migrator t=2024-01-14T19:15:51.453304452Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.333716ms policy-db-migrator | mariadb | 2024-01-14 19:15:53 0 [Note] InnoDB: log sequence number 46456; transaction id 14 grafana | logger=migrator t=2024-01-14T19:15:51.559588606Z level=info msg="Executing migration" id="copy dashboard v1 to v2" policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql mariadb | 2024-01-14 19:15:53 0 [Note] Plugin 'FEEDBACK' is disabled. grafana | logger=migrator t=2024-01-14T19:15:51.560170945Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=583.339µs policy-db-migrator | -------------- mariadb | 2024-01-14 19:15:53 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. grafana | logger=migrator t=2024-01-14T19:15:51.710869456Z level=info msg="Executing migration" id="drop table dashboard_v1" 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) mariadb | 2024-01-14 19:15:53 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. grafana | logger=migrator t=2024-01-14T19:15:51.71236804Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.500754ms policy-db-migrator | -------------- mariadb | 2024-01-14 19:15:53 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. grafana | logger=migrator t=2024-01-14T19:15:51.749118949Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" policy-db-migrator | mariadb | 2024-01-14 19:15:53 0 [Note] mariadbd: ready for connections. grafana | logger=migrator t=2024-01-14T19:15:51.749401735Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=283.496µs policy-db-migrator | mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution grafana | logger=migrator t=2024-01-14T19:15:51.825199685Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql mariadb | 2024-01-14 19:15:54+00:00 [Note] [Entrypoint]: Temporary server started. grafana | logger=migrator t=2024-01-14T19:15:51.828260081Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.061346ms policy-db-migrator | -------------- mariadb | 2024-01-14 19:16:00+00:00 [Note] [Entrypoint]: Creating user policy_user grafana | logger=migrator t=2024-01-14T19:15:52.089861436Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" mariadb | 2024-01-14 19:16:00+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 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) grafana | logger=migrator t=2024-01-14T19:15:52.091427387Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.576149ms policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-01-14T19:15:52.259484607Z level=info msg="Executing migration" id="Add column gnetId in dashboard" policy-db-migrator | mariadb | grafana | logger=migrator t=2024-01-14T19:15:52.261485105Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.002478ms policy-db-migrator | mariadb | 2024-01-14 19:16:00+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf grafana | logger=migrator t=2024-01-14T19:15:52.318167385Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql mariadb | 2024-01-14 19:16:00+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh grafana | logger=migrator t=2024-01-14T19:15:52.319373724Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.2065ms policy-db-migrator | -------------- mariadb | #!/bin/bash -xv grafana | logger=migrator t=2024-01-14T19:15:52.326946019Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 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) mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved grafana | logger=migrator t=2024-01-14T19:15:52.330072622Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.126194ms policy-db-migrator | -------------- mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. grafana | logger=migrator t=2024-01-14T19:15:52.335085515Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-db-migrator | mariadb | # policy-db-migrator | mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); grafana | logger=migrator t=2024-01-14T19:15:52.336146582Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.063617ms policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql mariadb | # you may not use this file except in compliance with the License. grafana | logger=migrator t=2024-01-14T19:15:52.340096089Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" policy-db-migrator | -------------- mariadb | # You may obtain a copy of the License at grafana | logger=migrator t=2024-01-14T19:15:52.340994877Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=899.548µs 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) mariadb | # policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:52.347081125Z level=info msg="Executing migration" id="Update dashboard table charset" mariadb | # http://www.apache.org/licenses/LICENSE-2.0 grafana | logger=migrator t=2024-01-14T19:15:52.347138664Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=60.139µs policy-db-migrator | mariadb | # grafana | logger=migrator t=2024-01-14T19:15:52.350219986Z level=info msg="Executing migration" id="Update dashboard_tag table charset" policy-db-migrator | mariadb | # Unless required by applicable law or agreed to in writing, software grafana | logger=migrator t=2024-01-14T19:15:52.350270756Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=51.76µs policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql mariadb | # distributed under the License is distributed on an "AS IS" BASIS, grafana | logger=migrator t=2024-01-14T19:15:52.353567677Z level=info msg="Executing migration" id="Add column folder_id in dashboard" policy-db-migrator | -------------- mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. grafana | logger=migrator t=2024-01-14T19:15:52.356895982Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.322465ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) mariadb | # See the License for the specific language governing permissions and grafana | logger=migrator t=2024-01-14T19:15:52.36570718Z level=info msg="Executing migration" id="Add column isFolder in dashboard" policy-db-migrator | -------------- mariadb | # limitations under the License. grafana | logger=migrator t=2024-01-14T19:15:52.36785316Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.143341ms policy-db-migrator | mariadb | grafana | logger=migrator t=2024-01-14T19:15:52.3790131Z level=info msg="Executing migration" id="Add column has_acl in dashboard" policy-db-migrator | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-01-14T19:15:52.381199132Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.189432ms policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql mariadb | do policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:52.412561256Z level=info msg="Executing migration" id="Add column uid in dashboard" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 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) grafana | logger=migrator t=2024-01-14T19:15:52.416282515Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.711561ms policy-db-migrator | -------------- mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" grafana | logger=migrator t=2024-01-14T19:15:52.42243708Z level=info msg="Executing migration" id="Update uid column values in dashboard" policy-db-migrator | mariadb | done grafana | logger=migrator t=2024-01-14T19:15:52.422785754Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=263.9µs policy-db-migrator | mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-01-14T19:15:52.42993191Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-01-14T19:15:52.431474515Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.541096ms policy-db-migrator | -------------- mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-01-14T19:15:52.436124528Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 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) mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' grafana | logger=migrator t=2024-01-14T19:15:52.437640288Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.51625ms policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-01-14T19:15:52.474815072Z level=info msg="Executing migration" id="Update dashboard title length" policy-db-migrator | mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-01-14T19:15:52.474906315Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=73.766µs policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' grafana | logger=migrator t=2024-01-14T19:15:52.478787614Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-01-14T19:15:52.480001522Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.219018ms policy-db-migrator | -------------- mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-01-14T19:15:52.483839679Z level=info msg="Executing migration" id="create dashboard_provisioning" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' grafana | logger=migrator t=2024-01-14T19:15:52.484484816Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=644.557µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:52.488299218Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-01-14T19:15:52.495841278Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.541271ms policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-01-14T19:15:52.50258965Z level=info msg="Executing migration" id="create dashboard_provisioning v2" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:52.503232157Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=642.458µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' grafana | logger=migrator t=2024-01-14T19:15:52.506722091Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-01-14T19:15:52.507808794Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.085662ms policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:52.511882566Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-01-14T19:15:52.512662837Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=779.741µs policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-01-14T19:15:52.558949991Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 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) grafana | logger=migrator t=2024-01-14T19:15:52.559578032Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=622.582µs policy-db-migrator | -------------- mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" grafana | logger=migrator t=2024-01-14T19:15:52.564125344Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' policy-db-migrator | mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql grafana | logger=migrator t=2024-01-14T19:15:52.565045918Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=919.305µs policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp grafana | logger=migrator t=2024-01-14T19:15:52.575122984Z level=info msg="Executing migration" id="Add check_sum column" policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-01-14T19:15:52.577152027Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.028422ms 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) mariadb | 2024-01-14 19:16:04+00:00 [Note] [Entrypoint]: Stopping temporary server grafana | logger=migrator t=2024-01-14T19:15:52.583072637Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | -------------- mariadb | 2024-01-14 19:16:04 0 [Note] mariadbd (initiated by: unknown): Normal shutdown grafana | logger=migrator t=2024-01-14T19:15:52.583931393Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=865.785µs policy-db-migrator | mariadb | 2024-01-14 19:16:04 0 [Note] InnoDB: FTS optimize thread exiting. grafana | logger=migrator t=2024-01-14T19:15:52.588040938Z level=info msg="Executing migration" id="delete tags for deleted dashboards" policy-db-migrator | mariadb | 2024-01-14 19:16:04 0 [Note] InnoDB: Starting shutdown... grafana | logger=migrator t=2024-01-14T19:15:52.588533164Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=492.136µs policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql mariadb | 2024-01-14 19:16:04 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2024-01-14T19:15:52.592829874Z level=info msg="Executing migration" id="delete stars for deleted dashboards" policy-db-migrator | -------------- mariadb | 2024-01-14 19:16:04 0 [Note] InnoDB: Buffer pool(s) dump completed at 240114 19:16:04 grafana | logger=migrator t=2024-01-14T19:15:52.593236946Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=407.072µs 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) mariadb | 2024-01-14 19:16:04 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" grafana | logger=migrator t=2024-01-14T19:15:52.597788318Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | -------------- mariadb | 2024-01-14 19:16:04 0 [Note] InnoDB: Shutdown completed; log sequence number 346519; transaction id 298 grafana | logger=migrator t=2024-01-14T19:15:52.598590145Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=801.827µs policy-db-migrator | mariadb | 2024-01-14 19:16:04 0 [Note] mariadbd: Shutdown complete grafana | logger=migrator t=2024-01-14T19:15:52.602304545Z level=info msg="Executing migration" id="Add isPublic for dashboard" policy-db-migrator | mariadb | grafana | logger=migrator t=2024-01-14T19:15:52.604766785Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.46413ms policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql mariadb | 2024-01-14 19:16:04+00:00 [Note] [Entrypoint]: Temporary server stopped grafana | logger=migrator t=2024-01-14T19:15:52.617586468Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | -------------- mariadb | 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) mariadb | 2024-01-14 19:16:04+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. grafana | logger=migrator t=2024-01-14T19:15:52.618962416Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.374077ms policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-01-14T19:15:52.623973949Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | mariadb | 2024-01-14 19:16:04 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... grafana | logger=migrator t=2024-01-14T19:15:52.625467404Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.484176ms policy-db-migrator | mariadb | 2024-01-14 19:16:04 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2024-01-14T19:15:52.629073066Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql mariadb | 2024-01-14 19:16:04 0 [Note] InnoDB: Number of transaction pools: 1 grafana | logger=migrator t=2024-01-14T19:15:52.630803865Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.73004ms policy-db-migrator | -------------- mariadb | 2024-01-14 19:16:04 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2024-01-14T19:15:52.636190817Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 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) mariadb | 2024-01-14 19:16:04 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=migrator t=2024-01-14T19:15:52.63701312Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=822.313µs policy-db-migrator | -------------- mariadb | 2024-01-14 19:16:04 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=migrator t=2024-01-14T19:15:52.643802714Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | mariadb | 2024-01-14 19:16:04 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2024-01-14T19:15:52.644983768Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.180945ms policy-db-migrator | mariadb | 2024-01-14 19:16:04 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2024-01-14T19:15:52.650331438Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql mariadb | 2024-01-14 19:16:04 0 [Note] InnoDB: Completed initialization of buffer pool grafana | logger=migrator t=2024-01-14T19:15:52.661222029Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.891791ms policy-db-migrator | -------------- mariadb | 2024-01-14 19:16:04 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2024-01-14T19:15:52.66592951Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) mariadb | 2024-01-14 19:16:05 0 [Note] InnoDB: 128 rollback segments are active. grafana | logger=migrator t=2024-01-14T19:15:52.666601692Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=672.362µs policy-db-migrator | -------------- mariadb | 2024-01-14 19:16:05 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... grafana | logger=migrator t=2024-01-14T19:15:52.672477Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | mariadb | 2024-01-14 19:16:05 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. grafana | logger=migrator t=2024-01-14T19:15:52.673553685Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.077124ms policy-db-migrator | mariadb | 2024-01-14 19:16:05 0 [Note] InnoDB: log sequence number 346519; transaction id 299 grafana | logger=migrator t=2024-01-14T19:15:52.679573116Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql mariadb | 2024-01-14 19:16:05 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2024-01-14T19:15:52.681005612Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.441845ms policy-db-migrator | -------------- mariadb | 2024-01-14 19:16:05 0 [Note] Plugin 'FEEDBACK' is disabled. grafana | logger=migrator t=2024-01-14T19:15:52.686742027Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 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) mariadb | 2024-01-14 19:16:05 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. grafana | logger=migrator t=2024-01-14T19:15:52.687759913Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=1.017756ms policy-db-migrator | -------------- mariadb | 2024-01-14 19:16:05 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. grafana | logger=migrator t=2024-01-14T19:15:52.692722556Z level=info msg="Executing migration" id="Add column with_credentials" policy-db-migrator | mariadb | 2024-01-14 19:16:05 0 [Note] Server socket created on IP: '0.0.0.0'. grafana | logger=migrator t=2024-01-14T19:15:52.695243264Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.522569ms policy-db-migrator | mariadb | 2024-01-14 19:16:05 0 [Note] Server socket created on IP: '::'. grafana | logger=migrator t=2024-01-14T19:15:52.699881659Z level=info msg="Executing migration" id="Add secure json data column" policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql mariadb | 2024-01-14 19:16:05 0 [Note] mariadbd: ready for connections. grafana | logger=migrator t=2024-01-14T19:15:52.702318174Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.435376ms policy-db-migrator | -------------- mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution grafana | logger=migrator t=2024-01-14T19:15:52.708219347Z level=info msg="Executing migration" id="Update data_source table charset" 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) mariadb | 2024-01-14 19:16:05 0 [Note] InnoDB: Buffer pool(s) load completed at 240114 19:16:05 grafana | logger=migrator t=2024-01-14T19:15:52.70825603Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=34.033µs policy-db-migrator | -------------- mariadb | 2024-01-14 19:16:05 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) grafana | logger=migrator t=2024-01-14T19:15:52.712818759Z level=info msg="Executing migration" id="Update initial version to 1" policy-db-migrator | mariadb | 2024-01-14 19:16:05 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2024-01-14T19:15:52.713209035Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=389.306µs policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:52.716884773Z level=info msg="Executing migration" id="Add read_only data column" policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-01-14T19:15:52.720596955Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.712201ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:52.728769954Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 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) grafana | logger=migrator t=2024-01-14T19:15:52.728959568Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=189.754µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:52.733963893Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:52.734205567Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=241.503µs policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:52.740409063Z level=info msg="Executing migration" id="Add uid column" policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-01-14T19:15:52.744451511Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.042769ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:52.748442819Z level=info msg="Executing migration" id="Update uid value" 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)) grafana | logger=migrator t=2024-01-14T19:15:52.748615036Z level=info msg="Migration successfully executed" id="Update uid value" duration=172.328µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:52.754056457Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:52.75482664Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=764.494µs policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:52.758505198Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-01-14T19:15:52.759779375Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.273697ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:52.76472773Z level=info msg="Executing migration" id="create api_key table" 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)) grafana | logger=migrator t=2024-01-14T19:15:52.765824641Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.10233ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:52.770109443Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:52.771414604Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.304711ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:52.776332775Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-01-14T19:15:52.777131073Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=798.158µs grafana | logger=migrator t=2024-01-14T19:15:52.782205964Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-01-14T19:15:52.783454036Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.247532ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:52.790261066Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 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)) grafana | logger=migrator t=2024-01-14T19:15:52.791661679Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.400343ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:52.79595081Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:52.797816714Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.865544ms policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:52.80412612Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-01-14T19:15:52.805138896Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.010937ms grafana | logger=migrator t=2024-01-14T19:15:52.846498181Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-01-14T19:15:52.85776842Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.269219ms grafana | logger=migrator t=2024-01-14T19:15:52.861726604Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-01-14T19:15:52.862349865Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=623.211µs grafana | logger=migrator t=2024-01-14T19:15:52.868854544Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-01-14T19:15:52.869575096Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=753.296µs grafana | logger=migrator t=2024-01-14T19:15:52.876083034Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-01-14T19:15:52.877267698Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.175766ms grafana | logger=migrator t=2024-01-14T19:15:52.884705408Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-01-14T19:15:52.886194144Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.487026ms grafana | logger=migrator t=2024-01-14T19:15:52.8908243Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-01-14T19:15:52.891323205Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=491.946µs grafana | logger=migrator t=2024-01-14T19:15:52.895245516Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-01-14T19:15:52.89606184Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=816.335µs grafana | logger=migrator t=2024-01-14T19:15:52.900337534Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-01-14T19:15:52.900371947Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=35.814µs grafana | logger=migrator t=2024-01-14T19:15:52.904974699Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-01-14T19:15:52.907757267Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.782289ms grafana | logger=migrator t=2024-01-14T19:15:52.91230105Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-01-14T19:15:52.915149676Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.848287ms grafana | logger=migrator t=2024-01-14T19:15:52.920144903Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-01-14T19:15:52.920331587Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=185.975µs grafana | logger=migrator t=2024-01-14T19:15:52.924857613Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-01-14T19:15:52.927432982Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.574728ms grafana | logger=migrator t=2024-01-14T19:15:52.933328916Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-01-14T19:15:52.936168664Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.839318ms grafana | logger=migrator t=2024-01-14T19:15:52.941349545Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-01-14T19:15:52.946649023Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=5.295939ms grafana | logger=migrator t=2024-01-14T19:15:52.954582419Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-01-14T19:15:52.957649424Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=3.009295ms grafana | logger=migrator t=2024-01-14T19:15:52.962555687Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-01-14T19:15:52.963619334Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.065406ms grafana | logger=migrator t=2024-01-14T19:15:52.969344611Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-01-14T19:15:52.970492392Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.147811ms grafana | logger=migrator t=2024-01-14T19:15:52.974347866Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-01-14T19:15:52.975518802Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.170227ms grafana | logger=migrator t=2024-01-14T19:15:52.978898547Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-01-14T19:15:52.979926841Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.027454ms grafana | logger=migrator t=2024-01-14T19:15:52.98637394Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-01-14T19:15:52.986454925Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=81.564µs 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:52.990294462Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-01-14T19:15:52.990317597Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=23.996µs grafana | logger=migrator t=2024-01-14T19:15:52.993946245Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-01-14T19:15:52.996436979Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.490085ms grafana | logger=migrator t=2024-01-14T19:15:53.056743174Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-01-14T19:15:53.062655864Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=5.918029ms grafana | logger=migrator t=2024-01-14T19:15:53.068508546Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-01-14T19:15:53.068572923Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=64.888µs grafana | logger=migrator t=2024-01-14T19:15:53.071412421Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-01-14T19:15:53.072330625Z level=info msg="Migration successfully executed" id="create quota table v1" duration=916.555µs grafana | logger=migrator t=2024-01-14T19:15:53.075333321Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-01-14T19:15:53.07648963Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.156409ms grafana | logger=migrator t=2024-01-14T19:15:53.081823221Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-01-14T19:15:53.081849636Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=26.115µs grafana | logger=migrator t=2024-01-14T19:15:53.084695622Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-01-14T19:15:53.085250956Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=555.484µs grafana | logger=migrator t=2024-01-14T19:15:53.091078392Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-01-14T19:15:53.092800453Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.72287ms grafana | logger=migrator t=2024-01-14T19:15:53.0993531Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-01-14T19:15:53.103636542Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.285571ms grafana | logger=migrator t=2024-01-14T19:15:53.10652139Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-01-14T19:15:53.106549385Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=28.114µs grafana | logger=migrator t=2024-01-14T19:15:53.109980179Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-01-14T19:15:53.110889805Z level=info msg="Migration successfully executed" id="create session table" duration=904.657µs grafana | logger=migrator t=2024-01-14T19:15:53.116506662Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-01-14T19:15:53.11662291Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=116.718µs grafana | logger=migrator t=2024-01-14T19:15:53.121512005Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-01-14T19:15:53.12159201Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=80.774µs grafana | logger=migrator t=2024-01-14T19:15:53.125156369Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-01-14T19:15:53.126028832Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=871.134µs grafana | logger=migrator t=2024-01-14T19:15:53.130079688Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-01-14T19:15:53.130785523Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=705.695µs grafana | logger=migrator t=2024-01-14T19:15:53.136388912Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-01-14T19:15:53.136412217Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=22.086µs grafana | logger=migrator t=2024-01-14T19:15:53.13843655Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-01-14T19:15:53.138455967Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=20.046µs grafana | logger=migrator t=2024-01-14T19:15:53.142665632Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-01-14T19:15:53.145793104Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.127292ms grafana | logger=migrator t=2024-01-14T19:15:53.151013717Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-01-14T19:15:53.155310995Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.296899ms grafana | logger=migrator t=2024-01-14T19:15:53.160335985Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-01-14T19:15:53.160417759Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=82.195µs grafana | logger=migrator t=2024-01-14T19:15:53.165460195Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-01-14T19:15:53.165579063Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=119.617µs grafana | logger=migrator t=2024-01-14T19:15:53.170131972Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-01-14T19:15:53.171198669Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.066716ms grafana | logger=migrator t=2024-01-14T19:15:53.178299571Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-01-14T19:15:53.178374677Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=72.266µs grafana | logger=migrator t=2024-01-14T19:15:53.181322534Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-01-14T19:15:53.185408073Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.086119ms grafana | logger=migrator t=2024-01-14T19:15:53.187773651Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-01-14T19:15:53.187918523Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=145.132µs grafana | logger=migrator t=2024-01-14T19:15:53.192613616Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-01-14T19:15:53.19594108Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.327314ms grafana | logger=migrator t=2024-01-14T19:15:53.200208504Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-01-14T19:15:53.203496636Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.287422ms grafana | logger=migrator t=2024-01-14T19:15:53.205904765Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-01-14T19:15:53.205973672Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=67.937µs grafana | logger=migrator t=2024-01-14T19:15:53.209010032Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-01-14T19:15:53.209732684Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=722.432µs grafana | logger=migrator t=2024-01-14T19:15:53.215916342Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-01-14T19:15:53.216834956Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=918.385µs grafana | logger=migrator t=2024-01-14T19:15:53.221239614Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:53.222410221Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.170336ms grafana | logger=migrator t=2024-01-14T19:15:53.225959132Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-01-14T19:15:53.2272243Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.265108ms grafana | logger=migrator t=2024-01-14T19:15:53.332139888Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-01-14T19:15:53.33422296Z level=info msg="Migration successfully executed" id="add index alert state" duration=2.083712ms grafana | logger=migrator t=2024-01-14T19:15:53.339168965Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-01-14T19:15:53.340111764Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=945.739µs grafana | logger=migrator t=2024-01-14T19:15:53.347569869Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-01-14T19:15:53.348342801Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=769.103µs grafana | logger=migrator t=2024-01-14T19:15:53.351686692Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-01-14T19:15:53.352677173Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=990.63µs grafana | logger=migrator t=2024-01-14T19:15:53.357402Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-01-14T19:15:53.358677186Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.272787ms grafana | logger=migrator t=2024-01-14T19:15:53.364049369Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-01-14T19:15:53.377722276Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.669857ms grafana | logger=migrator t=2024-01-14T19:15:53.38162693Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-01-14T19:15:53.382553723Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=926.363µs grafana | logger=migrator t=2024-01-14T19:15:53.417235694Z 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" grafana | logger=migrator t=2024-01-14T19:15:53.419124593Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.888519ms grafana | logger=migrator t=2024-01-14T19:15:53.422616935Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-01-14T19:15:53.423141405Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=525.81µs grafana | logger=migrator t=2024-01-14T19:15:53.426076814Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-01-14T19:15:53.42667387Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=596.656µs grafana | logger=migrator t=2024-01-14T19:15:53.438473585Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-01-14T19:15:53.439871687Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.397623ms grafana | logger=migrator t=2024-01-14T19:15:53.449386049Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-01-14T19:15:53.454475946Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.091627ms grafana | logger=migrator t=2024-01-14T19:15:53.457964409Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-01-14T19:15:53.461669941Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.703602ms grafana | logger=migrator t=2024-01-14T19:15:53.464830427Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-01-14T19:15:53.468756177Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.925529ms grafana | logger=migrator t=2024-01-14T19:15:53.474805611Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-01-14T19:15:53.47836608Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.55881ms grafana | logger=migrator t=2024-01-14T19:15:53.514798497Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-01-14T19:15:53.51656075Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.759863ms grafana | logger=migrator t=2024-01-14T19:15:53.51954506Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-01-14T19:15:53.519578563Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=34.903µs grafana | logger=migrator t=2024-01-14T19:15:53.566020637Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-01-14T19:15:53.566068857Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=44.022µs grafana | logger=migrator t=2024-01-14T19:15:53.570163075Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-01-14T19:15:53.571940855Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.783829ms grafana | logger=migrator t=2024-01-14T19:15:53.57547491Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-14T19:15:53.577129863Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.654884ms grafana | logger=migrator t=2024-01-14T19:15:53.582780983Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-01-14T19:15:53.583629211Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=848.068µs grafana | logger=migrator t=2024-01-14T19:15:53.586711372Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-01-14T19:15:53.587467068Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=750.996µs grafana | logger=migrator t=2024-01-14T19:15:53.590627384Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-14T19:15:53.591630072Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=994.91µs grafana | logger=migrator t=2024-01-14T19:15:53.597173812Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-01-14T19:15:53.601194684Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.019772ms grafana | logger=migrator t=2024-01-14T19:15:53.604262827Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-01-14T19:15:53.60791002Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.646643ms grafana | logger=migrator t=2024-01-14T19:15:53.610977014Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-01-14T19:15:53.611191933Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=214.199µs grafana | logger=migrator t=2024-01-14T19:15:53.617220081Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-01-14T19:15:53.618857618Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.636357ms grafana | logger=migrator t=2024-01-14T19:15:53.628620032Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-01-14T19:15:53.629529028Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=904.857µs grafana | logger=migrator t=2024-01-14T19:15:53.638147861Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-01-14T19:15:53.644636541Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=6.4876ms grafana | logger=migrator t=2024-01-14T19:15:53.653650408Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-01-14T19:15:53.653868736Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=217.698µs grafana | logger=migrator t=2024-01-14T19:15:53.6621171Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-01-14T19:15:53.663614474Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.497224ms grafana | logger=migrator t=2024-01-14T19:15:53.671672474Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-01-14T19:15:53.672678261Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.005588ms grafana | logger=migrator t=2024-01-14T19:15:53.682128375Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-01-14T19:15:53.682397204Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=268.199µs grafana | logger=migrator t=2024-01-14T19:15:53.722668867Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-01-14T19:15:53.724071559Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.401622ms grafana | logger=migrator t=2024-01-14T19:15:53.731448889Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-01-14T19:15:53.73238478Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=936.261µs grafana | logger=migrator t=2024-01-14T19:15:53.737450102Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-01-14T19:15:53.739227702Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.772671ms grafana | logger=migrator t=2024-01-14T19:15:53.743710505Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-01-14T19:15:53.745499073Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.786238ms grafana | logger=migrator t=2024-01-14T19:15:53.750087066Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-01-14T19:15:53.751026007Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=938.93µs grafana | logger=migrator t=2024-01-14T19:15:53.755955835Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-01-14T19:15:53.757406007Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.450193ms grafana | logger=migrator t=2024-01-14T19:15:53.761495876Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-01-14T19:15:53.761534088Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=39.903µs grafana | logger=migrator t=2024-01-14T19:15:53.799659741Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-01-14T19:15:53.805478089Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=5.821357ms grafana | logger=migrator t=2024-01-14T19:15:53.81070621Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-01-14T19:15:53.811566436Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=859.575µs grafana | logger=migrator t=2024-01-14T19:15:53.815669941Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-01-14T19:15:53.819611048Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.935518ms grafana | logger=migrator t=2024-01-14T19:15:53.822702197Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-01-14T19:15:53.823308352Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=604.804µs grafana | logger=migrator t=2024-01-14T19:15:53.827955593Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-01-14T19:15:53.828867229Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=910.556µs grafana | logger=migrator t=2024-01-14T19:15:53.83168558Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-01-14T19:15:53.832514762Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=829.061µs grafana | logger=migrator t=2024-01-14T19:15:53.835014114Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-01-14T19:15:53.851897707Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=16.882883ms grafana | logger=migrator t=2024-01-14T19:15:53.85795502Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-01-14T19:15:53.858445536Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=490.726µs grafana | logger=migrator t=2024-01-14T19:15:53.863059294Z 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" grafana | logger=migrator t=2024-01-14T19:15:53.864534392Z 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=1.474568ms grafana | logger=migrator t=2024-01-14T19:15:53.868827202Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-01-14T19:15:53.869276456Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=449.404µs grafana | logger=migrator t=2024-01-14T19:15:53.876470371Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-01-14T19:15:53.877510052Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=1.042371ms grafana | logger=migrator t=2024-01-14T19:15:53.882538341Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-01-14T19:15:53.882773986Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=235.525µs grafana | logger=migrator t=2024-01-14T19:15:53.951496081Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-01-14T19:15:53.956088963Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.597581ms grafana | logger=migrator t=2024-01-14T19:15:54.02102332Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-01-14T19:15:54.02850241Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=7.482279ms grafana | logger=migrator t=2024-01-14T19:15:54.032183236Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-01-14T19:15:54.032799638Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=618.271µs grafana | logger=migrator t=2024-01-14T19:15:54.035751923Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-01-14T19:15:54.036350749Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=598.125µs grafana | logger=migrator t=2024-01-14T19:15:54.040724652Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-01-14T19:15:54.041074905Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=350.283µs grafana | logger=migrator t=2024-01-14T19:15:54.044617148Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-01-14T19:15:54.050144791Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.525564ms grafana | logger=migrator t=2024-01-14T19:15:54.053133629Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-01-14T19:15:54.053991865Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=856.057µs grafana | logger=migrator t=2024-01-14T19:15:54.058072905Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-01-14T19:15:54.058230604Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=157.28µs grafana | logger=migrator t=2024-01-14T19:15:54.061198737Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-01-14T19:15:54.061531103Z level=info msg="Migration successfully executed" id="Move region to single row" duration=332.147µs grafana | logger=migrator t=2024-01-14T19:15:54.064558854Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-01-14T19:15:54.065876162Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.313309ms grafana | logger=migrator t=2024-01-14T19:15:54.069718757Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-01-14T19:15:54.070987225Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.270117ms grafana | logger=migrator t=2024-01-14T19:15:54.074956626Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-01-14T19:15:54.075897866Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=940.18µs grafana | logger=migrator t=2024-01-14T19:15:54.079331229Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-14T19:15:54.080187255Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=855.737µs grafana | logger=migrator t=2024-01-14T19:15:54.083955155Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-01-14T19:15:54.085175831Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.221027ms grafana | logger=migrator t=2024-01-14T19:15:54.088415042Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-01-14T19:15:54.089265889Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=850.227µs grafana | logger=migrator t=2024-01-14T19:15:54.092245179Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-01-14T19:15:54.092306627Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=62.128µs grafana | logger=migrator t=2024-01-14T19:15:54.096223708Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-01-14T19:15:54.09741453Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.191002ms grafana | logger=migrator t=2024-01-14T19:15:54.101013942Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-01-14T19:15:54.102314593Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.296942ms grafana | logger=migrator t=2024-01-14T19:15:54.107701213Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-01-14T19:15:54.108532464Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=830.881µs grafana | logger=migrator t=2024-01-14T19:15:54.11226446Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-01-14T19:15:54.113165098Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=900.628µs grafana | logger=migrator t=2024-01-14T19:15:54.115852804Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-01-14T19:15:54.116062004Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=210.41µs grafana | logger=migrator t=2024-01-14T19:15:54.118152814Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-01-14T19:15:54.118495959Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=342.604µs grafana | logger=migrator t=2024-01-14T19:15:54.121131325Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-01-14T19:15:54.121191813Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=61.449µs grafana | logger=migrator t=2024-01-14T19:15:54.124837736Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-01-14T19:15:54.125500059Z level=info msg="Migration successfully executed" id="create team table" duration=662.544µs grafana | logger=migrator t=2024-01-14T19:15:54.128383458Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-01-14T19:15:54.129504523Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.121905ms grafana | logger=migrator t=2024-01-14T19:15:54.132774258Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-01-14T19:15:54.133736764Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=960.896µs grafana | logger=migrator t=2024-01-14T19:15:54.137841339Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-01-14T19:15:54.142208754Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.366745ms grafana | logger=migrator t=2024-01-14T19:15:54.145591627Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-01-14T19:15:54.145760094Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=168.528µs grafana | logger=migrator t=2024-01-14T19:15:54.148722488Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-01-14T19:15:54.149617397Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=894.599µs grafana | logger=migrator t=2024-01-14T19:15:54.153842139Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-01-14T19:15:54.154703174Z level=info msg="Migration successfully executed" id="create team member table" duration=858.826µs grafana | logger=migrator t=2024-01-14T19:15:54.157779436Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-01-14T19:15:54.159306514Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.527618ms grafana | logger=migrator t=2024-01-14T19:15:54.162785808Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-01-14T19:15:54.164042418Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.25681ms grafana | logger=migrator t=2024-01-14T19:15:54.167264902Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-01-14T19:15:54.168130326Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=865.165µs grafana | logger=migrator t=2024-01-14T19:15:54.171738586Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-01-14T19:15:54.176225598Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.486572ms grafana | logger=migrator t=2024-01-14T19:15:54.179422837Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-01-14T19:15:54.183912888Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.489091ms grafana | logger=migrator t=2024-01-14T19:15:54.187104437Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-01-14T19:15:54.191625133Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.520105ms grafana | logger=migrator t=2024-01-14T19:15:54.195516139Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-01-14T19:15:54.196304248Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=786.57µs grafana | logger=migrator t=2024-01-14T19:15:54.199461774Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-01-14T19:15:54.200314611Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=852.257µs grafana | logger=migrator t=2024-01-14T19:15:54.203609961Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-01-14T19:15:54.20460674Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=996.1µs grafana | logger=migrator t=2024-01-14T19:15:54.212771099Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-01-14T19:15:54.214284589Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.51477ms grafana | logger=migrator t=2024-01-14T19:15:54.277813999Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-01-14T19:15:54.279460205Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.647215ms grafana | logger=migrator t=2024-01-14T19:15:54.28476596Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-01-14T19:15:54.286154824Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.389284ms grafana | logger=migrator t=2024-01-14T19:15:54.289428368Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-01-14T19:15:54.290327186Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=898.148µs grafana | logger=migrator t=2024-01-14T19:15:54.293211065Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-01-14T19:15:54.294111553Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=900.038µs grafana | logger=migrator t=2024-01-14T19:15:54.297473869Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-01-14T19:15:54.297985012Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=508.443µs grafana | logger=migrator t=2024-01-14T19:15:54.301622456Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-01-14T19:15:54.301836795Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=211.81µs grafana | logger=migrator t=2024-01-14T19:15:54.304921945Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-01-14T19:15:54.305983942Z level=info msg="Migration successfully executed" id="create tag table" duration=1.061477ms grafana | logger=migrator t=2024-01-14T19:15:54.310676834Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-01-14T19:15:54.312186496Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.509411ms grafana | logger=migrator t=2024-01-14T19:15:54.315949846Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-01-14T19:15:54.316597412Z level=info msg="Migration successfully executed" id="create login attempt table" duration=647.367µs grafana | logger=migrator t=2024-01-14T19:15:54.319621984Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-01-14T19:15:54.320481449Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=859.076µs grafana | logger=migrator t=2024-01-14T19:15:54.324699713Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-01-14T19:15:54.325553889Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=854.717µs grafana | logger=migrator t=2024-01-14T19:15:54.328692459Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-14T19:15:54.347366168Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.675198ms grafana | logger=migrator t=2024-01-14T19:15:54.350248736Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-01-14T19:15:54.350730154Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=481.608µs grafana | logger=migrator t=2024-01-14T19:15:54.354321118Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-01-14T19:15:54.355216766Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=894.919µs grafana | logger=migrator t=2024-01-14T19:15:54.358156524Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-01-14T19:15:54.358428812Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=270.599µs grafana | logger=migrator t=2024-01-14T19:15:54.361452514Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-01-14T19:15:54.362446924Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=992.99µs grafana | logger=migrator t=2024-01-14T19:15:54.366837284Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-01-14T19:15:54.368023437Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.185494ms grafana | logger=migrator t=2024-01-14T19:15:54.371332854Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-01-14T19:15:54.372217625Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=884.761µs grafana | logger=migrator t=2024-01-14T19:15:54.375778314Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-01-14T19:15:54.375882104Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=104.959µs grafana | logger=migrator t=2024-01-14T19:15:54.380771249Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-01-14T19:15:54.388718279Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.94779ms grafana | logger=migrator t=2024-01-14T19:15:54.392385508Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-01-14T19:15:54.397307147Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.923128ms grafana | logger=migrator t=2024-01-14T19:15:54.400516683Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-01-14T19:15:54.405461057Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.942955ms grafana | logger=migrator t=2024-01-14T19:15:54.409871344Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-01-14T19:15:54.414864419Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.992765ms grafana | logger=migrator t=2024-01-14T19:15:54.418121125Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-01-14T19:15:54.418990749Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=868.824µs grafana | logger=migrator t=2024-01-14T19:15:54.422458955Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-01-14T19:15:54.429943204Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.482659ms grafana | logger=migrator t=2024-01-14T19:15:54.43462005Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-01-14T19:15:54.435280873Z level=info msg="Migration successfully executed" id="create server_lock table" duration=659.674µs grafana | logger=migrator t=2024-01-14T19:15:54.466377666Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-01-14T19:15:54.467858623Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.481266ms grafana | logger=migrator t=2024-01-14T19:15:54.473039382Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-01-14T19:15:54.474434785Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.394603ms grafana | logger=migrator t=2024-01-14T19:15:54.516636114Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-01-14T19:15:54.518087696Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.451282ms grafana | logger=migrator t=2024-01-14T19:15:54.524602041Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-01-14T19:15:54.525507477Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=905.257µs grafana | logger=migrator t=2024-01-14T19:15:54.528929203Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-01-14T19:15:54.529943109Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.011757ms grafana | logger=migrator t=2024-01-14T19:15:54.534555367Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-01-14T19:15:54.539894436Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.338639ms grafana | logger=migrator t=2024-01-14T19:15:54.543959459Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-01-14T19:15:54.545825792Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.874391ms grafana | logger=migrator t=2024-01-14T19:15:54.549706409Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-01-14T19:15:54.551045963Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.341373ms grafana | logger=migrator t=2024-01-14T19:15:54.555588365Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-01-14T19:15:54.556585084Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=997.519µs grafana | logger=migrator t=2024-01-14T19:15:54.560196423Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:54.561653025Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.456061ms grafana | logger=migrator t=2024-01-14T19:15:54.565330611Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-01-14T19:15:54.567072308Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.741547ms grafana | logger=migrator t=2024-01-14T19:15:54.571908663Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-01-14T19:15:54.571973951Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=65.147µs grafana | logger=migrator t=2024-01-14T19:15:54.575571973Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-01-14T19:15:54.575655847Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=84.164µs grafana | logger=migrator t=2024-01-14T19:15:54.578490744Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-01-14T19:15:54.579331004Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=836.54µs grafana | logger=migrator t=2024-01-14T19:15:54.58300951Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-14T19:15:54.584496516Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.487136ms grafana | logger=migrator t=2024-01-14T19:15:54.588833376Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-14T19:15:54.589778226Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=944.329µs grafana | logger=migrator t=2024-01-14T19:15:54.592919945Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-14T19:15:54.592984373Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=64.858µs grafana | logger=migrator t=2024-01-14T19:15:54.595992737Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-14T19:15:54.597460467Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.466269ms grafana | logger=migrator t=2024-01-14T19:15:54.601664563Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-14T19:15:54.60313954Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.474518ms grafana | logger=migrator t=2024-01-14T19:15:54.607087425Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-14T19:15:54.608036554Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=948.488µs grafana | logger=migrator t=2024-01-14T19:15:54.612370215Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-14T19:15:54.613333701Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=962.446µs grafana | logger=migrator t=2024-01-14T19:15:54.702081428Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-01-14T19:15:54.711579591Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=9.498593ms grafana | logger=migrator t=2024-01-14T19:15:54.773007843Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-01-14T19:15:54.774580803Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.573199ms grafana | logger=migrator t=2024-01-14T19:15:55.067992611Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-01-14T19:15:55.068620551Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=631.489µs grafana | logger=migrator t=2024-01-14T19:15:55.099099968Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-01-14T19:15:55.10076193Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.661842ms grafana | logger=migrator t=2024-01-14T19:15:55.158955204Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-01-14T19:15:55.160586522Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.632368ms grafana | logger=migrator t=2024-01-14T19:15:55.238297431Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-01-14T19:15:55.24065416Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=2.357828ms grafana | logger=migrator t=2024-01-14T19:15:55.247731965Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-14T19:15:55.247815829Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=84.593µs grafana | logger=migrator t=2024-01-14T19:15:55.252399942Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-01-14T19:15:55.253330184Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=927.093µs grafana | logger=migrator t=2024-01-14T19:15:55.257809087Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-01-14T19:15:55.25946425Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.653824ms grafana | logger=migrator t=2024-01-14T19:15:55.263028678Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2024-01-14T19:15:55.265077906Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=2.048408ms grafana | logger=migrator t=2024-01-14T19:15:55.269207465Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-01-14T19:15:55.270370543Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.164407ms grafana | logger=migrator t=2024-01-14T19:15:55.27362497Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-01-14T19:15:55.280301012Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.676602ms grafana | logger=migrator t=2024-01-14T19:15:55.283842625Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-14T19:15:55.284726416Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=883.501µs grafana | logger=migrator t=2024-01-14T19:15:55.289063725Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-14T19:15:55.290129192Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.064896ms grafana | logger=migrator t=2024-01-14T19:15:55.293658066Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-01-14T19:15:55.333058746Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=39.4015ms grafana | logger=migrator t=2024-01-14T19:15:55.338023456Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-01-14T19:15:55.379724456Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=41.701459ms grafana | logger=migrator t=2024-01-14T19:15:55.410516963Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-14T19:15:55.411555345Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.042041ms grafana | logger=migrator t=2024-01-14T19:15:55.606792013Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-14T19:15:55.608609445Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.819742ms grafana | logger=migrator t=2024-01-14T19:15:55.666598628Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-01-14T19:15:55.672506637Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.90427ms grafana | logger=migrator t=2024-01-14T19:15:55.711769713Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-01-14T19:15:55.71325087Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.479757ms grafana | logger=migrator t=2024-01-14T19:15:55.825982457Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-01-14T19:15:55.828121287Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=2.14322ms grafana | logger=migrator t=2024-01-14T19:15:55.886271319Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-01-14T19:15:55.888270557Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.999078ms grafana | logger=migrator t=2024-01-14T19:15:55.976224815Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-01-14T19:15:55.977966752Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.739917ms grafana | logger=migrator t=2024-01-14T19:15:56.075360685Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-14T19:15:56.075487151Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=130.035µs grafana | logger=migrator t=2024-01-14T19:15:56.13215413Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-01-14T19:15:56.141040028Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=8.891827ms grafana | logger=migrator t=2024-01-14T19:15:56.601466693Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-01-14T19:15:56.608099843Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.644648ms grafana | logger=migrator t=2024-01-14T19:15:56.738347132Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-01-14T19:15:56.748337759Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=9.986907ms grafana | logger=migrator t=2024-01-14T19:15:56.982579885Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-01-14T19:15:56.984506456Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.932629ms grafana | logger=migrator t=2024-01-14T19:15:57.431578396Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-01-14T19:15:57.433337629Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.760713ms grafana | logger=migrator t=2024-01-14T19:15:57.935571708Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-01-14T19:15:57.943400968Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.833029ms grafana | logger=migrator t=2024-01-14T19:15:58.074581413Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-01-14T19:15:58.082542587Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=7.962764ms grafana | logger=migrator t=2024-01-14T19:15:58.214166641Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-01-14T19:15:58.216480448Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=2.314627ms grafana | logger=migrator t=2024-01-14T19:15:58.245264109Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-01-14T19:15:58.255332069Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=10.06716ms grafana | logger=migrator t=2024-01-14T19:15:58.453557594Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-01-14T19:15:58.463625704Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=10.07048ms grafana | logger=migrator t=2024-01-14T19:15:58.84288334Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-01-14T19:15:58.843034421Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=155.81µs grafana | logger=migrator t=2024-01-14T19:15:59.086739617Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-01-14T19:15:59.088553539Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.816711ms policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:59.264749337Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 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 grafana | logger=migrator t=2024-01-14T19:15:59.26614011Z 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.391363ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:59.351501264Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:59.353549461Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=2.049867ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:59.560241709Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-01-14T19:15:59.560400418Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=162.519µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:15:59.865316292Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:15:59.874224813Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.918129ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:00.120429257Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-01-14T19:16:00.132089689Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=11.661212ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:00.34196865Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-01-14T19:16:00.351089149Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=9.126289ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:00.605832578Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:00.615132062Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=9.305934ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:00.800553448Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-14T19:16:00.809204917Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=8.658388ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:00.938290438Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-01-14T19:16:00.938520603Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=233.445µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:01.033874445Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:01.035706173Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.837407ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:01.334490812Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-14T19:16:01.34027916Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=5.793788ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:01.440894843Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-01-14T19:16:01.441075249Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=186.174µs policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-01-14T19:16:01.471645147Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-01-14T19:16:01.477802014Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.158907ms policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-01-14T19:16:01.547746859Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:01.550260716Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=2.511148ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:01.718230771Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:01.72703486Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.810837ms policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-14T19:16:01.961354591Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:01.96334039Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.990508ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-01-14T19:16:01.975444345Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:01.978203155Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=2.740154ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:02.044630771Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:02.054958016Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=10.328994ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-01-14T19:16:02.096784837Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:02.098656067Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.87141ms 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)) grafana | logger=migrator t=2024-01-14T19:16:02.132620629Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:02.134741651Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=2.123372ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:02.294972504Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:02.296480815Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.50834ms policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-01-14T19:16:02.534440878Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:02.535790059Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.355849ms policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-01-14T19:16:02.56455526Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:02.564719708Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=171.227µs policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:02.612286616Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:02.613858544Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.577827ms policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- 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)) grafana | logger=migrator t=2024-01-14T19:16:02.798521941Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:02.800509789Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.992467ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:02.891089529Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:02.891978039Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-01-14T19:16:02.949713302Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:02.950876638Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=1.162097ms policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-01-14T19:16:03.071724123Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.073637985Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.931309ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.171482127Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.181040729Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.560602ms policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-01-14T19:16:03.271276175Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.272736844Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.463909ms 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) grafana | logger=migrator t=2024-01-14T19:16:03.306567967Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.309354172Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=2.785764ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.3885014Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.389744171Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.243281ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-01-14T19:16:03.419323572Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.421095741Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.771329ms 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) grafana | logger=migrator t=2024-01-14T19:16:03.43066916Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.431638004Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=965.185µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.438360381Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-01-14T19:16:03.438420959Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=62.128µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.445088447Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-01-14T19:16:03.445219122Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=131.285µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.45042863Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.451002Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=572.21µs policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.493560265Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-01-14T19:16:03.495124774Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.566419ms policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-01-14T19:16:03.503914203Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.504779047Z level=info msg="Migration successfully executed" id="create secrets table" duration=864.634µs policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-01-14T19:16:03.514960379Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.56710876Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=52.15113ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.573506099Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.580891919Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.38569ms policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-01-14T19:16:03.586121443Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.586330913Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=209.24µs policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-01-14T19:16:03.598902385Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.647224292Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=48.319537ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.655435043Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.744146902Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=88.70481ms policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-01-14T19:16:03.757584967Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.759823147Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=2.23611ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-01-14T19:16:03.775742435Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.778272888Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=2.530643ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.785514886Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.785885654Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=374.248µs policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-01-14T19:16:03.794932504Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.797251558Z level=info msg="Migration successfully executed" id="create permission table" duration=2.321443ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.809157799Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.810540373Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.383564ms policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.816055912Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.817484767Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.428286ms policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-01-14T19:16:03.820528702Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.821195643Z level=info msg="Migration successfully executed" id="create role table" duration=666.552µs policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.830640467Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.840857872Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.220624ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.846520913Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-14T19:16:03.854182069Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.660237ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.862638333Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.864445775Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.799814ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.875538562Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-01-14T19:16:03.876667965Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.131282ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.887753483Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-01-14T19:16:03.889574053Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.81706ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.895170516Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.89655709Z level=info msg="Migration successfully executed" id="create team role table" duration=1.387953ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.902099754Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-14T19:16:03.903195223Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.09579ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.91189663Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.913388423Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.490074ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.931141268Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-01-14T19:16:03.932806288Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.66631ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.937670813Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-01-14T19:16:03.939006816Z level=info msg="Migration successfully executed" id="create user role table" duration=1.336503ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.952196509Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.954006991Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.810112ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.96373382Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-01-14T19:16:03.965698632Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.961912ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.971649108Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-01-14T19:16:03.972872073Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.223434ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:03.978723707Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.979551388Z level=info msg="Migration successfully executed" id="create builtin role table" duration=827.211µs policy-db-migrator | msg grafana | logger=migrator t=2024-01-14T19:16:03.984071899Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-01-14T19:16:03.98515686Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.082592ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:03.992307695Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-01-14T19:16:03.993381558Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.073794ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.033122512Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-01-14T19:16:04.04285123Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.727129ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.048714252Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:04.049578485Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=864.684µs policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-14T19:16:04.079995812Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.082120743Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=2.123822ms policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-01-14T19:16:04.205407277Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.207537248Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=2.12994ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:04.213427624Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.214964158Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.540234ms policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-01-14T19:16:04.220967623Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.221912661Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=944.089µs policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:04.231699898Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:04.233541963Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.841856ms policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-01-14T19:16:04.238165663Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.247437979Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.266707ms 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)) grafana | logger=migrator t=2024-01-14T19:16:04.251708927Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.257488015Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.778688ms policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-01-14T19:16:04.262955253Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.27201114Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.873623ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:04.280085796Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:04.290291692Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=10.210005ms policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-01-14T19:16:04.293609544Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.294759392Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.152928ms 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)) grafana | logger=migrator t=2024-01-14T19:16:04.298520839Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.299580365Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.059726ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:04.305359633Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.307228763Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.868351ms policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-01-14T19:16:04.31036351Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.310578588Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=211.819µs policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:04.313520352Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.313559724Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=39.752µs policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-01-14T19:16:04.318305891Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.318755045Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=449.273µs policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:04.32169018Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:04.322223057Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=533.258µs policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-01-14T19:16:04.35868885Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.359358661Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=670.051µs policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-01-14T19:16:04.362189906Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.362421092Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=231.875µs policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:04.367476099Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.367811274Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=334.886µs policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-01-14T19:16:04.370253614Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.371569511Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.315737ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:04.374922136Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:04.376791376Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.868491ms policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-14T19:16:04.38103326Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.389642823Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.609383ms policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-01-14T19:16:04.393162626Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.393213256Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=47.691µs policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:04.396528458Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:04.397728087Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.19746ms policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-01-14T19:16:04.445038223Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.447608988Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.570686ms policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-01-14T19:16:04.452812926Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-14T19:16:04.454194191Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.381494ms policy-db-migrator | grafana | logger=migrator t=2024-01-14T19:16:04.457572601Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-01-14T19:16:04.468847921Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.255914ms policy-db-migrator | name version grafana | logger=migrator t=2024-01-14T19:16:04.473197184Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-01-14T19:16:04.474434216Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.236592ms policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-01-14T19:16:04.477765095Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:05 grafana | logger=migrator t=2024-01-14T19:16:04.478907555Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.139371ms policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:05 grafana | logger=migrator t=2024-01-14T19:16:04.482916813Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.514846109Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.923756ms policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.525548599Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.526536909Z level=info msg="Migration successfully executed" id="create correlation v2" duration=987.51µs policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.53910671Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.541268964Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=2.162974ms policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.552458051Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.554190287Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.734986ms policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.593528667Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.595275661Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.744914ms policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.600485328Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.600793909Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=305.771µs policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.607407456Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.608244875Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=837.189µs policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.61253011Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.621516141Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.983361ms policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.625859015Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.626710771Z level=info msg="Migration successfully executed" id="create entity_events table" duration=852.096µs policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:06 grafana | logger=migrator t=2024-01-14T19:16:04.630785747Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.631796243Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.013295ms policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.67260068Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.67364338Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.679596884Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.68018886Z 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" policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.684112885Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.685255955Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.14516ms policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.689519864Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.690764795Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.24453ms policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.694238776Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.695914544Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.674018ms grafana | logger=migrator t=2024-01-14T19:16:04.699893768Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-14T19:16:04.701253586Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.360438ms policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.704385924Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.705417875Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.031931ms policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.709152176Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.710149334Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=996.988µs policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.715096912Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.715816164Z level=info msg="Migration successfully executed" id="Drop public config table" duration=719.281µs policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.720517689Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.721742553Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.227014ms policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:07 grafana | logger=migrator t=2024-01-14T19:16:04.726060752Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.727195484Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.135422ms policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.730640581Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.73199489Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.355849ms policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.73745149Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.738769757Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.319336ms policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.770334312Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.805508294Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=35.161694ms policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.819872499Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.831391233Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=11.514554ms policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.837498507Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.845986094Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.486676ms policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.851850295Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.852112805Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=262.619µs policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.855732298Z level=info msg="Executing migration" id="add share column" policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.864063805Z level=info msg="Migration successfully executed" id="add share column" duration=8.330946ms policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.927107893Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.927534271Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=426.527µs policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:08 grafana | logger=migrator t=2024-01-14T19:16:04.932967515Z level=info msg="Executing migration" id="create file table" policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:04.933942158Z level=info msg="Migration successfully executed" id="create file table" duration=974.592µs policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:04.937689097Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:04.938959442Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.270175ms policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:04.971023992Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:04.973286116Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=2.256746ms policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:05.048964558Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:05.050020915Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.055747ms policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:05.057248183Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:05.059752841Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.506138ms policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:05.068344796Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:05.068401275Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=53.789µs policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:05.074377085Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:05.074474096Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=98.072µs policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:05.080198174Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:05.080786061Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=587.627µs policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:05.0840101Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:05.084228718Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=218.738µs policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:05.08738654Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:09 grafana | logger=migrator t=2024-01-14T19:16:05.088742109Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.35461ms policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:10 grafana | logger=migrator t=2024-01-14T19:16:05.092219159Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:10 grafana | logger=migrator t=2024-01-14T19:16:05.101167516Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.953606ms policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:10 grafana | logger=migrator t=2024-01-14T19:16:05.105473517Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:10 grafana | logger=migrator t=2024-01-14T19:16:05.105609231Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=133.554µs policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:10 grafana | logger=migrator t=2024-01-14T19:16:05.108617801Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:10 grafana | logger=migrator t=2024-01-14T19:16:05.110571335Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.953694ms policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:10 grafana | logger=migrator t=2024-01-14T19:16:05.114049895Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:10 grafana | logger=migrator t=2024-01-14T19:16:05.114725675Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=677.02µs policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:10 grafana | logger=migrator t=2024-01-14T19:16:05.118162254Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:11 grafana | logger=migrator t=2024-01-14T19:16:05.118381321Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=218.878µs policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:11 grafana | logger=migrator t=2024-01-14T19:16:05.159237333Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:12 grafana | logger=migrator t=2024-01-14T19:16:05.160016393Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=777.6µs policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:13 grafana | logger=migrator t=2024-01-14T19:16:05.163973791Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:13 grafana | logger=migrator t=2024-01-14T19:16:05.176452528Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.479717ms policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:14 grafana | logger=migrator t=2024-01-14T19:16:05.180918068Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:14 grafana | logger=migrator t=2024-01-14T19:16:05.191117104Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=10.201806ms policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1401241916050800u 1 2024-01-14 19:16:15 grafana | logger=migrator t=2024-01-14T19:16:05.195830917Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1401241916050900u 1 2024-01-14 19:16:16 grafana | logger=migrator t=2024-01-14T19:16:05.196616185Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=785.129µs policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1401241916050900u 1 2024-01-14 19:16:16 grafana | logger=migrator t=2024-01-14T19:16:05.201917545Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1401241916050900u 1 2024-01-14 19:16:17 grafana | logger=migrator t=2024-01-14T19:16:05.306657986Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=104.739741ms policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1401241916050900u 1 2024-01-14 19:16:18 grafana | logger=migrator t=2024-01-14T19:16:05.310438868Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1401241916050900u 1 2024-01-14 19:16:19 grafana | logger=migrator t=2024-01-14T19:16:05.311244353Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=805.185µs policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1401241916050900u 1 2024-01-14 19:16:20 grafana | logger=migrator t=2024-01-14T19:16:05.31561803Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1401241916050900u 1 2024-01-14 19:16:21 grafana | logger=migrator t=2024-01-14T19:16:05.316426705Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=808.354µs policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1401241916050900u 1 2024-01-14 19:16:21 grafana | logger=migrator t=2024-01-14T19:16:05.319995647Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1401241916050900u 1 2024-01-14 19:16:21 grafana | logger=migrator t=2024-01-14T19:16:05.350144522Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=30.141906ms policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1401241916050900u 1 2024-01-14 19:16:22 grafana | logger=migrator t=2024-01-14T19:16:05.367789654Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1401241916050900u 1 2024-01-14 19:16:22 grafana | logger=migrator t=2024-01-14T19:16:05.3682288Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=438.056µs policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1401241916050900u 1 2024-01-14 19:16:22 grafana | logger=migrator t=2024-01-14T19:16:05.374579807Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-01-14T19:16:05.374894956Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=316.999µs grafana | logger=migrator t=2024-01-14T19:16:05.378435614Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1401241916050900u 1 2024-01-14 19:16:22 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1401241916051000u 1 2024-01-14 19:16:23 grafana | logger=migrator t=2024-01-14T19:16:05.378681707Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=246.012µs policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1401241916051000u 1 2024-01-14 19:16:23 grafana | logger=migrator t=2024-01-14T19:16:05.385394624Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1401241916051000u 1 2024-01-14 19:16:23 grafana | logger=migrator t=2024-01-14T19:16:05.386593833Z level=info msg="Migration successfully executed" id="create folder table" duration=1.19534ms policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1401241916051000u 1 2024-01-14 19:16:24 grafana | logger=migrator t=2024-01-14T19:16:05.391429892Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1401241916051000u 1 2024-01-14 19:16:24 grafana | logger=migrator t=2024-01-14T19:16:05.392449886Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.021873ms policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1401241916051000u 1 2024-01-14 19:16:24 grafana | logger=migrator t=2024-01-14T19:16:05.396155852Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1401241916051000u 1 2024-01-14 19:16:25 grafana | logger=migrator t=2024-01-14T19:16:05.3974128Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.255909ms policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1401241916051000u 1 2024-01-14 19:16:26 grafana | logger=migrator t=2024-01-14T19:16:05.402212006Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1401241916051000u 1 2024-01-14 19:16:26 grafana | logger=migrator t=2024-01-14T19:16:05.402235481Z level=info msg="Migration successfully executed" id="Update folder title length" duration=24.166µs policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1401241916051100u 1 2024-01-14 19:16:26 grafana | logger=migrator t=2024-01-14T19:16:05.408430228Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1401241916051200u 1 2024-01-14 19:16:27 grafana | logger=migrator t=2024-01-14T19:16:05.410412637Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.981718ms policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1401241916051200u 1 2024-01-14 19:16:27 grafana | logger=migrator t=2024-01-14T19:16:05.414102306Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1401241916051200u 1 2024-01-14 19:16:28 grafana | logger=migrator t=2024-01-14T19:16:05.415355175Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.253509ms policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1401241916051200u 1 2024-01-14 19:16:28 grafana | logger=migrator t=2024-01-14T19:16:05.419354345Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1401241916051300u 1 2024-01-14 19:16:29 grafana | logger=migrator t=2024-01-14T19:16:05.420481658Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.126943ms policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1401241916051300u 1 2024-01-14 19:16:30 grafana | logger=migrator t=2024-01-14T19:16:05.426141798Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1401241916051300u 1 2024-01-14 19:16:30 grafana | logger=migrator t=2024-01-14T19:16:05.427018939Z level=info msg="Migration successfully executed" id="create anon_device table" duration=876.971µs policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-01-14T19:16:05.430085739Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-01-14T19:16:05.431365982Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.279964ms grafana | logger=migrator t=2024-01-14T19:16:05.435524671Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-01-14T19:16:05.436641216Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.116745ms grafana | logger=migrator t=2024-01-14T19:16:05.440132504Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-01-14T19:16:05.441257727Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.122974ms grafana | logger=migrator t=2024-01-14T19:16:05.445107406Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-01-14T19:16:05.447375419Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=2.267453ms grafana | logger=migrator t=2024-01-14T19:16:05.538343712Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-01-14T19:16:05.540231319Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.889206ms grafana | logger=migrator t=2024-01-14T19:16:05.546446612Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-01-14T19:16:05.546935278Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=489.795µs grafana | logger=migrator t=2024-01-14T19:16:05.551950992Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-01-14T19:16:05.563629543Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=11.68395ms grafana | logger=migrator t=2024-01-14T19:16:05.597226684Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-01-14T19:16:05.598349188Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=1.129353ms grafana | logger=migrator t=2024-01-14T19:16:05.602116552Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-01-14T19:16:05.603403324Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.286182ms grafana | logger=migrator t=2024-01-14T19:16:05.607658275Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-01-14T19:16:05.608728109Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.067124ms grafana | logger=migrator t=2024-01-14T19:16:05.615080366Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-01-14T19:16:05.616571549Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.493843ms grafana | logger=migrator t=2024-01-14T19:16:05.621090069Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-01-14T19:16:05.621444141Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=357.151µs grafana | logger=migrator t=2024-01-14T19:16:05.624722949Z level=info msg="migrations completed" performed=523 skipped=0 duration=31.01730715s grafana | logger=sqlstore t=2024-01-14T19:16:05.635762223Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-01-14T19:16:05.635949187Z level=info msg="Created default organization" grafana | logger=secrets t=2024-01-14T19:16:05.641684123Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-01-14T19:16:05.667839997Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-01-14T19:16:05.709132125Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-01-14T19:16:05.709191214Z level=info msg="Plugins loaded" count=55 duration=41.353537ms grafana | logger=query_data t=2024-01-14T19:16:05.714430635Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-01-14T19:16:05.722484414Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-01-14T19:16:05.739013911Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-01-14T19:16:05.74068301Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-01-14T19:16:05.741533596Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2024-01-14T19:16:05.742383492Z level=warn msg="No available receivers" grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-14T19:16:05.746096417Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-01-14T19:16:05.778918777Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-01-14T19:16:05.782469473Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-01-14T19:16:05.824712069Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-01-14T19:16:05.824929087Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-01-14T19:16:05.825238428Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2024-01-14T19:16:05.825600138Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-01-14T19:16:05.826033675Z level=info msg="State cache has been initialized" states=0 duration=793.468µs grafana | logger=ngalert.multiorg.alertmanager t=2024-01-14T19:16:05.825321022Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.scheduler t=2024-01-14T19:16:05.826081995Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-01-14T19:16:05.826194764Z level=info msg=starting first_tick=2024-01-14T19:16:10Z grafana | logger=http.server t=2024-01-14T19:16:05.829751229Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=sqlstore.transactions t=2024-01-14T19:16:05.860763667Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2024-01-14T19:16:05.864497618Z level=info msg="Update check succeeded" duration=37.994004ms grafana | logger=sqlstore.transactions t=2024-01-14T19:16:05.879996254Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=plugins.update.checker t=2024-01-14T19:16:05.904520641Z level=info msg="Update check succeeded" duration=78.373408ms grafana | logger=sqlstore.transactions t=2024-01-14T19:16:05.926503218Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-01-14T19:16:05.937387952Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=sqlstore.transactions t=2024-01-14T19:16:05.95692457Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=infra.usagestats t=2024-01-14T19:16:46.835615694Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing prometheus ... done Removing policy-db-migrator ... done Removing grafana ... done Removing policy-api ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-project-csit-verify-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.QobNRmPIDi ]] + rsync -av /tmp/tmp.QobNRmPIDi/ /w/workspace/policy-api-master-project-csit-verify-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,344,961 bytes received 95 bytes 2,690,112.00 bytes/sec total size is 1,344,312 speedup is 1.00 + rm -rf /w/workspace/policy-api-master-project-csit-verify-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2222 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins16430273829767447396.sh ---> sysstat.sh [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins2473052993288934841.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-master-project-csit-verify-api + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-master-project-csit-verify-api ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-master-project-csit-verify-api ']' + mkdir -p /w/workspace/policy-api-master-project-csit-verify-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-verify-api/archives/ [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins7236568928452802957.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-verify-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-db3a from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-db3a/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins5444661484204838580.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-verify-api@tmp/config16272051539324703750tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins499367814465996608.sh ---> create-netrc.sh [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins16753177852304663092.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-verify-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-db3a from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-db3a/bin to PATH [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins1099433078851192423.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins13347708560409363582.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-verify-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-db3a from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 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. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-db3a/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-master-project-csit-verify-api] $ /bin/bash -l /tmp/jenkins6079218640694083468.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-verify-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-db3a from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools 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. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-db3a/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-verify-api/500 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-8c-8g-12271 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 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 ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 886 27058 0 4222 30824 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:f0:69:03 brd ff:ff:ff:ff:ff:ff inet 10.30.107.222/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 85893sec preferred_lft 85893sec inet6 fe80::f816:3eff:fef0:6903/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:2f:98:cb:61 brd ff:ff:ff:ff:ff:ff inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-12271) 01/14/24 _x86_64_ (8 CPU) 19:10:39 LINUX RESTART (8 CPU) 19:11:01 tps rtps wtps bread/s bwrtn/s 19:12:01 202.42 71.40 131.01 5121.15 61108.22 19:13:01 94.92 14.25 80.67 993.43 40768.54 19:14:01 125.63 19.58 106.05 2276.69 43854.29 19:15:01 102.30 3.55 98.75 486.05 53694.52 19:16:01 180.62 5.80 174.83 491.14 58575.87 19:17:01 143.34 6.43 136.91 290.52 12990.78 19:18:01 1.90 0.00 1.90 0.00 55.67 19:19:01 51.34 2.38 48.96 129.58 3686.60 Average: 112.81 15.42 97.39 1223.55 34342.32 19:11:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:12:01 30354100 31687992 2585120 7.85 46448 1610472 1437916 4.23 847720 1471952 40312 19:13:01 30003892 31631316 2935328 8.91 70900 1865076 1472776 4.33 940616 1697076 192220 19:14:01 29752084 31710584 3187136 9.68 89428 2162088 1511424 4.45 886516 1970960 141560 19:15:01 27787368 31631684 5151852 15.64 115368 3951880 1450532 4.27 1028888 3687896 1027152 19:16:01 27607128 31479848 5332092 16.19 123208 3967580 3171504 9.33 1221536 3654924 1272 19:17:01 26250148 30137872 6689072 20.31 129688 3971792 4668560 13.74 2608988 3614184 356 19:18:01 26281492 30170128 6657728 20.21 129768 3972488 4731832 13.92 2578908 3613916 188 19:19:01 27767052 31623732 5172168 15.70 134800 3944580 1431740 4.21 1163536 3569588 50352 Average: 28225408 31259144 4713812 14.31 104951 3180744 2484536 7.31 1409588 2910062 181676 19:11:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:12:01 lo 1.27 1.27 0.12 0.12 0.00 0.00 0.00 0.00 19:12:01 ens3 283.94 206.32 894.81 56.40 0.00 0.00 0.00 0.00 19:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:01 lo 1.33 1.33 0.14 0.14 0.00 0.00 0.00 0.00 19:13:01 ens3 56.72 40.09 882.43 8.55 0.00 0.00 0.00 0.00 19:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:14:01 lo 1.33 1.33 0.13 0.13 0.00 0.00 0.00 0.00 19:14:01 ens3 57.41 41.59 780.95 7.42 0.00 0.00 0.00 0.00 19:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:15:01 br-a3dd923724a7 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:15:01 lo 7.80 7.80 0.71 0.71 0.00 0.00 0.00 0.00 19:15:01 ens3 361.56 250.34 10436.37 18.29 0.00 0.00 0.00 0.00 19:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:16:01 veth66e0714 0.08 0.33 0.00 0.02 0.00 0.00 0.00 0.00 19:16:01 vethb8bed49 0.83 1.07 0.04 0.07 0.00 0.00 0.00 0.00 19:16:01 veth1b42e22 0.50 0.63 0.03 0.04 0.00 0.00 0.00 0.00 19:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:17:01 veth66e0714 0.05 0.10 0.00 0.00 0.00 0.00 0.00 0.00 19:17:01 vethb8bed49 133.33 159.72 114.75 38.95 0.00 0.00 0.00 0.01 19:17:01 veth1b42e22 125.08 105.62 40.65 113.92 0.00 0.00 0.00 0.01 19:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:18:01 veth66e0714 0.73 1.00 0.10 0.88 0.00 0.00 0.00 0.00 19:18:01 vethb8bed49 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 19:18:01 veth1b42e22 1.07 1.17 0.82 0.08 0.00 0.00 0.00 0.00 19:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:19:01 lo 35.43 35.43 10.73 10.73 0.00 0.00 0.00 0.00 19:19:01 ens3 855.41 619.98 13128.80 143.07 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 4.05 4.05 1.31 1.31 0.00 0.00 0.00 0.00 Average: ens3 105.61 76.61 1640.30 17.76 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-12271) 01/14/24 _x86_64_ (8 CPU) 19:10:39 LINUX RESTART (8 CPU) 19:11:01 CPU %user %nice %system %iowait %steal %idle 19:12:01 all 5.64 0.00 1.05 11.69 0.05 81.57 19:12:01 0 3.94 0.00 1.25 5.10 0.08 89.62 19:12:01 1 8.48 0.00 1.17 6.47 0.03 83.84 19:12:01 2 9.10 0.00 0.74 5.92 0.10 84.15 19:12:01 3 6.59 0.00 1.99 34.36 0.03 57.03 19:12:01 4 2.61 0.00 0.67 2.54 0.05 94.13 19:12:01 5 6.36 0.00 0.95 3.41 0.03 89.24 19:12:01 6 3.96 0.00 0.79 4.45 0.03 90.77 19:12:01 7 4.12 0.00 0.85 31.48 0.05 63.49 19:13:01 all 8.55 0.00 0.61 4.65 0.03 86.16 19:13:01 0 1.62 0.00 0.28 5.52 0.00 92.57 19:13:01 1 16.12 0.00 0.62 1.79 0.03 81.44 19:13:01 2 8.16 0.00 0.80 1.27 0.05 89.72 19:13:01 3 1.15 0.00 0.37 7.38 0.03 91.07 19:13:01 4 0.59 0.00 0.03 4.83 0.07 94.48 19:13:01 5 7.85 0.00 0.65 0.97 0.03 90.49 19:13:01 6 13.93 0.00 0.85 0.64 0.03 84.55 19:13:01 7 18.97 0.00 1.29 14.75 0.05 64.94 19:14:01 all 7.82 0.00 0.64 6.44 0.03 85.07 19:14:01 0 5.55 0.00 0.95 20.56 0.05 72.88 19:14:01 1 6.07 0.00 0.58 0.57 0.00 92.78 19:14:01 2 2.82 0.00 0.45 0.62 0.02 96.10 19:14:01 3 7.80 0.00 0.55 2.56 0.05 89.04 19:14:01 4 0.40 0.00 0.15 4.34 0.02 95.10 19:14:01 5 1.93 0.00 0.22 0.27 0.00 97.58 19:14:01 6 12.88 0.00 0.99 17.55 0.08 68.50 19:14:01 7 25.14 0.00 1.27 5.10 0.03 68.45 19:15:01 all 6.58 0.00 2.61 11.00 0.06 79.75 19:15:01 0 6.36 0.00 2.49 5.89 0.05 85.20 19:15:01 1 8.35 0.00 2.54 1.53 0.05 87.53 19:15:01 2 6.52 0.00 2.97 2.33 0.03 88.15 19:15:01 3 5.62 0.00 2.05 30.13 0.03 62.16 19:15:01 4 7.15 0.00 2.66 44.99 0.08 45.11 19:15:01 5 6.90 0.00 2.80 1.21 0.08 89.01 19:15:01 6 6.05 0.00 2.23 1.67 0.05 90.00 19:15:01 7 5.70 0.00 3.07 0.24 0.07 90.94 19:16:01 all 1.15 0.00 0.67 15.83 0.05 82.30 19:16:01 0 0.55 0.00 0.80 47.71 0.08 50.85 19:16:01 1 0.60 0.00 0.52 2.53 0.05 96.30 19:16:01 2 2.37 0.00 0.70 7.46 0.03 89.43 19:16:01 3 0.89 0.00 0.59 15.55 0.05 82.93 19:16:01 4 2.00 0.00 1.33 48.76 0.10 47.82 19:16:01 5 1.12 0.00 0.32 3.20 0.02 95.35 19:16:01 6 1.08 0.00 0.78 1.19 0.03 96.91 19:16:01 7 0.60 0.00 0.42 0.40 0.02 98.56 19:17:01 all 15.34 0.00 2.14 6.45 0.06 76.01 19:17:01 0 16.62 0.00 2.46 23.43 0.07 57.42 19:17:01 1 16.04 0.00 2.08 6.45 0.05 75.38 19:17:01 2 19.26 0.00 2.60 2.73 0.07 75.34 19:17:01 3 15.75 0.00 2.18 2.35 0.08 79.65 19:17:01 4 14.52 0.00 2.13 6.06 0.05 77.24 19:17:01 5 13.52 0.00 1.97 2.86 0.05 81.59 19:17:01 6 10.06 0.00 1.37 3.71 0.05 84.81 19:17:01 7 17.02 0.00 2.30 3.97 0.07 76.65 19:18:01 all 0.33 0.00 0.05 0.01 0.02 99.59 19:18:01 0 0.15 0.00 0.08 0.00 0.02 99.75 19:18:01 1 0.63 0.00 0.05 0.00 0.03 99.28 19:18:01 2 0.05 0.00 0.03 0.00 0.00 99.92 19:18:01 3 0.05 0.00 0.03 0.00 0.02 99.90 19:18:01 4 0.15 0.00 0.03 0.03 0.02 99.77 19:18:01 5 0.12 0.00 0.10 0.00 0.03 99.75 19:18:01 6 1.40 0.00 0.05 0.00 0.02 98.53 19:18:01 7 0.08 0.00 0.03 0.03 0.02 99.83 19:19:01 all 8.78 0.00 0.75 0.49 0.03 89.96 19:19:01 0 5.32 0.00 0.78 0.40 0.03 93.46 19:19:01 1 12.97 0.00 0.57 0.17 0.03 86.27 19:19:01 2 7.14 0.00 0.68 0.42 0.02 91.74 19:19:01 3 16.38 0.00 1.02 0.15 0.03 82.41 19:19:01 4 0.60 0.00 0.42 1.60 0.02 97.36 19:19:01 5 10.80 0.00 1.14 0.90 0.03 87.12 19:19:01 6 15.07 0.00 0.75 0.13 0.03 84.01 19:19:01 7 1.92 0.00 0.62 0.12 0.05 97.29 Average: all 6.77 0.00 1.06 7.06 0.04 85.07 Average: 0 5.01 0.00 1.14 13.57 0.05 80.23 Average: 1 8.65 0.00 1.01 2.43 0.04 87.86 Average: 2 6.92 0.00 1.12 2.59 0.04 89.33 Average: 3 6.78 0.00 1.09 11.51 0.04 80.58 Average: 4 3.49 0.00 0.92 14.09 0.05 81.44 Average: 5 6.07 0.00 1.02 1.60 0.04 91.28 Average: 6 8.05 0.00 0.97 3.67 0.04 87.27 Average: 7 9.19 0.00 1.23 7.01 0.04 82.53