Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-19078 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-london-project-csit-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-vTCLT0lU9Irc/agent.2114 SSH_AGENT_PID=2116 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_2913757428848220694.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_2913757428848220694.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-london-project-csit-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 Avoid second fetch > git rev-parse refs/remotes/origin/london^{commit} # timeout=10 Checking out Revision e830ea142a4b760cf152d9db92c451d74b2da1f2 (refs/remotes/origin/london) > git config core.sparsecheckout # timeout=10 > git checkout -f e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=30 Commit message: "Make update to allow local image to be used in Nordix" > git rev-list --no-walk e830ea142a4b760cf152d9db92c451d74b2da1f2 # 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-london-project-csit-api] $ /bin/bash /tmp/jenkins4044941499549372452.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-MH5H 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-MH5H/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-MH5H/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.3 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.73 botocore==1.34.73 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.3 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.35 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.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.1.1 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.3.0 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.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.34.0 requests==2.31.0 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.10.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 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-london-project-csit-api] $ /bin/sh /tmp/jenkins16485274619363689405.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-london-project-csit-api] $ /bin/sh -xe /tmp/jenkins4093766029101138949.sh + /w/workspace/policy-api-london-project-csit-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-london-project-csit-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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-london-project-csit-api + rm -rf /w/workspace/policy-api-london-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-london-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.yXFZqlxjYK ++ echo ROBOT_VENV=/tmp/tmp.yXFZqlxjYK +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.yXFZqlxjYK ++ source /tmp/tmp.yXFZqlxjYK/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.yXFZqlxjYK +++ 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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.yXFZqlxjYK/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.yXFZqlxjYK) ' '!=' x ']' +++ PS1='(tmp.yXFZqlxjYK) ' +++ 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-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 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.1 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.2 python-dateutil==2.9.0.post0 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.yXFZqlxjYK/src/onap ++ rm -rf /tmp/tmp.yXFZqlxjYK/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 '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.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 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==1.0.0 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.1 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.2 python-dateutil==2.9.0.post0 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.yXFZqlxjYK/bin/activate + '[' -z /tmp/tmp.yXFZqlxjYK/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.yXFZqlxjYK/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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-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.yXFZqlxjYK ++ 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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.yXFZqlxjYK/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.yXFZqlxjYK) ' ++ '[' 'x(tmp.yXFZqlxjYK) ' '!=' x ']' ++ PS1='(tmp.yXFZqlxjYK) (tmp.yXFZqlxjYK) ' ++ 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-london-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.vatOR5OlEV + cd /tmp/tmp.vatOR5OlEV + 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-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview +++ GERRIT_BRANCH=london +++ echo GERRIT_BRANCH=london GERRIT_BRANCH=london +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models +++ mkdir /w/workspace/policy-api-london-project-csit-api/models +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-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-london-project-csit-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:2.6.2)... 2.6.2: Pulling from onap/policy-db-migrator Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 2.8.2: Pulling from onap/policy-api Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:dec2018ae55885fed717f25c289b8c9cff0bf5fbb9e619fb49b6161ac493c016 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:753bbb971071480d6630d3aa0d55345188c02f39456664f67c1ea443593638d0 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... 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-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS grafana Up 10 seconds policy-api Up 11 seconds policy-db-migrator Up 12 seconds mariadb Up 12 seconds prometheus Up 10 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 16 seconds mariadb Up 17 seconds prometheus Up 16 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 21 seconds mariadb Up 22 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 26 seconds mariadb Up 28 seconds prometheus Up 26 seconds ++ 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-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + 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-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:35:40 up 3 min, 0 users, load average: 3.38, 1.11, 0.41 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 12.2 us, 2.4 sy, 0.0 ni, 82.7 id, 2.5 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 26 seconds mariadb Up 28 seconds prometheus Up 26 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 49f23d53d8bc grafana 0.04% 54.52MiB / 31.41GiB 0.17% 18.1kB / 3.18kB 0B / 24.6MB 18 fb72ddad999e policy-api 0.15% 906.3MiB / 31.41GiB 2.82% 1.04MB / 755kB 0B / 0B 50 a77e728bef73 mariadb 0.02% 100.3MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 67.7MB 28 0e3b1db70db2 prometheus 0.00% 18.95MiB / 31.41GiB 0.06% 16.2kB / 802B 0B / 0B 13 + echo + cd /tmp/tmp.vatOR5OlEV + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... + 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-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | 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 | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | 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 | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.vatOR5OlEV/output.xml Log: /tmp/tmp.vatOR5OlEV/log.html Report: /tmp/tmp.vatOR5OlEV/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-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:36:51 up 4 min, 0 users, load average: 1.26, 0.96, 0.40 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.1 us, 1.9 sy, 0.0 ni, 85.8 id, 2.1 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.9G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api 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 49f23d53d8bc grafana 0.05% 55.85MiB / 31.41GiB 0.17% 19kB / 4.33kB 0B / 24.6MB 18 fb72ddad999e policy-api 0.10% 938MiB / 31.41GiB 2.92% 7.32MB / 2.89MB 0B / 0B 52 a77e728bef73 mariadb 0.02% 101.1MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 11MB / 67.8MB 18 0e3b1db70db2 prometheus 0.00% 25.11MiB / 31.41GiB 0.08% 52.9kB / 7.71kB 0B / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-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 grafana, policy-api, policy-db-migrator, mariadb, prometheus mariadb | 2024-03-29 11:35:12+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-29 11:35:12+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-03-29 11:35:12+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-29 11:35:12+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-03-29 11:35:12 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-29 11:35:12 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-29 11:35:13 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-03-29 11:35:14+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-03-29 11:35:14+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-03-29 11:35:14+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-03-29 11:35:14 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 100 ... mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-29 11:35:14 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-29 11:35:14 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-29 11:35:14 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-03-29 11:35:14 0 [Note] Plugin 'FEEDBACK' is disabled. grafana | logger=settings t=2024-03-29T11:35:15.553963113Z level=info msg="Starting Grafana" version=10.4.1 commit=d94d597d847c05085542c29dfad6b3f469cc77e1 branch=v10.4.x compiled=2024-03-29T11:35:15Z mariadb | 2024-03-29 11:35:14 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. grafana | logger=settings t=2024-03-29T11:35:15.554287389Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini mariadb | 2024-03-29 11:35:14 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. policy-api | Waiting for mariadb port 3306... grafana | logger=settings t=2024-03-29T11:35:15.554305039Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini prometheus | ts=2024-03-29T11:35:14.589Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d mariadb | 2024-03-29 11:35:14 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. policy-db-migrator | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open grafana | logger=settings t=2024-03-29T11:35:15.554308859Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" prometheus | ts=2024-03-29T11:35:14.590Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.1, branch=HEAD, revision=855b5ac4b80956874eb1790a04c92327f2f99e38)" mariadb | 2024-03-29 11:35:14 0 [Note] mariadbd: ready for connections. policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | Waiting for policy-db-migrator port 6824... grafana | logger=settings t=2024-03-29T11:35:15.554312119Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" prometheus | ts=2024-03-29T11:35:14.590Z caller=main.go:622 level=info build_context="(go=go1.22.1, platform=linux/amd64, user=root@d3785d7783f2, date=20240328-09:27:30, tags=netgo,builtinassets,stringlabels)" mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | policy-db-migrator (172.17.0.4:6824) open grafana | logger=settings t=2024-03-29T11:35:15.554315139Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" prometheus | ts=2024-03-29T11:35:14.590Z caller=main.go:623 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" mariadb | 2024-03-29 11:35:15+00:00 [Note] [Entrypoint]: Temporary server started. policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml grafana | logger=settings t=2024-03-29T11:35:15.55431884Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" prometheus | ts=2024-03-29T11:35:14.590Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" mariadb | 2024-03-29 11:35:16+00:00 [Note] [Entrypoint]: Creating user policy_user policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | grafana | logger=settings t=2024-03-29T11:35:15.55432198Z level=info msg="Config overridden from command line" arg="default.log.mode=console" prometheus | ts=2024-03-29T11:35:14.590Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" mariadb | 2024-03-29 11:35:16+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | . ____ _ __ _ _ grafana | logger=settings t=2024-03-29T11:35:15.55432644Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" prometheus | ts=2024-03-29T11:35:14.592Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 mariadb | policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ grafana | logger=settings t=2024-03-29T11:35:15.55433107Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" prometheus | ts=2024-03-29T11:35:14.592Z caller=main.go:1129 level=info msg="Starting TSDB ..." mariadb | 2024-03-29 11:35:16+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! grafana | logger=settings t=2024-03-29T11:35:15.55433387Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" prometheus | ts=2024-03-29T11:35:14.598Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 mariadb | policy-db-migrator | 314 blocks policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ grafana | logger=settings t=2024-03-29T11:35:15.55433733Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" prometheus | ts=2024-03-29T11:35:14.598Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 mariadb | 2024-03-29 11:35:16+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh policy-db-migrator | Preparing upgrade release version: 0800 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) grafana | logger=settings t=2024-03-29T11:35:15.55434095Z level=info msg=Target target=[all] prometheus | ts=2024-03-29T11:35:14.600Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" mariadb | #!/bin/bash -xv policy-db-migrator | Preparing upgrade release version: 0900 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / grafana | logger=settings t=2024-03-29T11:35:15.55435544Z level=info msg="Path Home" path=/usr/share/grafana prometheus | ts=2024-03-29T11:35:14.601Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=4.12µs policy-db-migrator | Preparing upgrade release version: 1000 grafana | logger=settings t=2024-03-29T11:35:15.55435998Z level=info msg="Path Data" path=/var/lib/grafana prometheus | ts=2024-03-29T11:35:14.601Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved policy-api | =========|_|==============|___/=/_/_/_/ policy-db-migrator | Preparing upgrade release version: 1100 prometheus | ts=2024-03-29T11:35:14.601Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. policy-api | :: Spring Boot :: (v2.7.8) grafana | logger=settings t=2024-03-29T11:35:15.55436349Z level=info msg="Path Logs" path=/var/log/grafana policy-api | grafana | logger=settings t=2024-03-29T11:35:15.55436759Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins policy-db-migrator | Preparing upgrade release version: 1200 prometheus | ts=2024-03-29T11:35:14.601Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=49.181µs wal_replay_duration=478.491µs wbl_replay_duration=350ns total_replay_duration=578.133µs mariadb | # policy-api | [2024-03-29T11:35:26.832+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) grafana | logger=settings t=2024-03-29T11:35:15.554371291Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning policy-db-migrator | Done prometheus | ts=2024-03-29T11:35:14.605Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); policy-db-migrator | name version grafana | logger=settings t=2024-03-29T11:35:15.554397961Z level=info msg="App mode production" policy-api | [2024-03-29T11:35:26.835+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" prometheus | ts=2024-03-29T11:35:14.605Z caller=main.go:1153 level=info msg="TSDB started" mariadb | # you may not use this file except in compliance with the License. policy-db-migrator | policyadmin 0 grafana | logger=sqlstore t=2024-03-29T11:35:15.554809679Z level=info msg="Connecting to DB" dbtype=sqlite3 policy-api | [2024-03-29T11:35:28.215+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. prometheus | ts=2024-03-29T11:35:14.605Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml mariadb | # You may obtain a copy of the License at policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 grafana | logger=sqlstore t=2024-03-29T11:35:15.55483791Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db policy-api | [2024-03-29T11:35:28.305+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 79 ms. Found 6 JPA repository interfaces. prometheus | ts=2024-03-29T11:35:14.607Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=2.132032ms db_storage=2.62µs remote_storage=3.74µs web_handler=480ns query_engine=1.57µs scrape=413.16µs scrape_sd=724.557µs notify=60.671µs notify_sd=57.901µs rules=3.34µs tracing=10.061µs policy-db-migrator | upgrade: 0 -> 1200 policy-api | [2024-03-29T11:35:29.384+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) prometheus | ts=2024-03-29T11:35:14.608Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." mariadb | # grafana | logger=migrator t=2024-03-29T11:35:15.555529813Z level=info msg="Starting DB migrations" policy-db-migrator | prometheus | ts=2024-03-29T11:35:14.608Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." mariadb | # http://www.apache.org/licenses/LICENSE-2.0 grafana | logger=migrator t=2024-03-29T11:35:15.556624646Z level=info msg="Executing migration" id="create migration_log table" policy-api | [2024-03-29T11:35:29.396+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] mariadb | # grafana | logger=migrator t=2024-03-29T11:35:15.557515873Z level=info msg="Migration successfully executed" id="create migration_log table" duration=890.657µs policy-api | [2024-03-29T11:35:29.397+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql mariadb | # Unless required by applicable law or agreed to in writing, software grafana | logger=migrator t=2024-03-29T11:35:15.564164345Z level=info msg="Executing migration" id="create user table" policy-api | [2024-03-29T11:35:29.397+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-db-migrator | -------------- mariadb | # distributed under the License is distributed on an "AS IS" BASIS, policy-api | [2024-03-29T11:35:29.481+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 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) grafana | logger=migrator t=2024-03-29T11:35:15.565028343Z level=info msg="Migration successfully executed" id="create user table" duration=863.558µs mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. policy-api | [2024-03-29T11:35:29.481+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2570 ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.569165145Z level=info msg="Executing migration" id="add unique index user.login" mariadb | # See the License for the specific language governing permissions and policy-api | [2024-03-29T11:35:29.955+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.57037956Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.214094ms mariadb | # limitations under the License. policy-api | [2024-03-29T11:35:30.095+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.574576283Z level=info msg="Executing migration" id="add unique index user.email" mariadb | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-api | [2024-03-29T11:35:30.323+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} grafana | logger=migrator t=2024-03-29T11:35:15.575806488Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.229714ms policy-db-migrator | -------------- policy-api | [2024-03-29T11:35:30.486+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... grafana | logger=migrator t=2024-03-29T11:35:15.582705934Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" mariadb | do 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) grafana | logger=migrator t=2024-03-29T11:35:15.583433239Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=725.305µs mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" policy-api | [2024-03-29T11:35:30.602+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. grafana | logger=migrator t=2024-03-29T11:35:15.586958649Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" policy-api | [2024-03-29T11:35:30.622+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.588059971Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.101092ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.5920542Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" mariadb | done policy-api | [2024-03-29T11:35:32.085+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-api | [2024-03-29T11:35:32.097+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.595900767Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.844337ms mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql grafana | logger=migrator t=2024-03-29T11:35:15.602220953Z level=info msg="Executing migration" id="create user table v2" policy-api | [2024-03-29T11:35:33.262+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml grafana | logger=migrator t=2024-03-29T11:35:15.60307039Z level=info msg="Migration successfully executed" id="create user table v2" duration=851.087µs policy-api | [2024-03-29T11:35:33.926+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.606532498Z level=info msg="Executing migration" id="create index UQE_user_login - v2" policy-api | [2024-03-29T11:35:34.957+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@7c305624, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@7b4fbedb, org.springframework.security.web.context.SecurityContextPersistenceFilter@a6e0e5f, org.springframework.security.web.header.HeaderWriterFilter@bb0dcb6, org.springframework.security.web.authentication.logout.LogoutFilter@72bf63a, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@64c189d8, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3116e9d2, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7a65e842, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@73534675, org.springframework.security.web.session.SessionManagementFilter@fa200ab, org.springframework.security.web.access.ExceptionTranslationFilter@5f58ac11, org.springframework.security.web.access.intercept.AuthorizationFilter@428943a4] mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 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) grafana | logger=migrator t=2024-03-29T11:35:15.607738923Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.206095ms policy-api | [2024-03-29T11:35:35.100+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 | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.611521438Z level=info msg="Executing migration" id="create index UQE_user_email - v2" policy-api | [2024-03-29T11:35:38.523+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.612700412Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.179604ms policy-api | [2024-03-29T11:35:38.550+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.616383255Z level=info msg="Executing migration" id="copy data_source v1 to v2" policy-api | [2024-03-29T11:35:38.576+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-api | [2024-03-29T11:35:38.592+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.547 seconds (JVM running for 13.203) mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-03-29T11:35:15.616834104Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=452.959µs grafana | logger=migrator t=2024-03-29T11:35:15.622371224Z level=info msg="Executing migration" id="Drop old table user_v1" policy-db-migrator | -------------- policy-api | [2024-03-29T11:35:39.956+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-03-29T11:35:15.623260381Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=888.397µs 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-api | [2024-03-29T11:35:39.956+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Initializing Servlet 'dispatcherServlet' mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' grafana | logger=migrator t=2024-03-29T11:35:15.62716832Z level=info msg="Executing migration" id="Add column help_flags1 to user table" policy-api | [2024-03-29T11:35:39.958+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Completed initialization in 2 ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-03-29T11:35:15.628988775Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.819715ms policy-db-migrator | -------------- mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | policy-api | [2024-03-29T11:35:46.435+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-7] ***** OrderedServiceImpl implementers: grafana | logger=migrator t=2024-03-29T11:35:15.632497856Z level=info msg="Executing migration" id="Update user table charset" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' policy-db-migrator | policy-api | [] grafana | logger=migrator t=2024-03-29T11:35:15.632524956Z level=info msg="Migration successfully executed" id="Update user table charset" duration=27.88µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-api | [2024-03-29T11:35:46.573+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes grafana | logger=migrator t=2024-03-29T11:35:15.639448904Z level=info msg="Executing migration" id="Add last_seen_at column to user" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- policy-api | [2024-03-29T11:35:46.803+00:00|WARN|CommonRestController|http-nio-6969-exec-8] POST /policytypes grafana | logger=migrator t=2024-03-29T11:35:15.641290891Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.841367ms mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 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) grafana | logger=migrator t=2024-03-29T11:35:15.644859242Z level=info msg="Executing migration" id="Add missing user data" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-api | [2024-03-29T11:35:47.853+00:00|WARN|CommonRestController|http-nio-6969-exec-2] POST /policies policy-db-migrator | -------------- mariadb | policy-api | [2024-03-29T11:35:49.724+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 grafana | logger=migrator t=2024-03-29T11:35:15.64531198Z level=info msg="Migration successfully executed" id="Add missing user data" duration=452.098µs policy-api | [2024-03-29T11:35:50.098+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-db-migrator | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" grafana | logger=migrator t=2024-03-29T11:35:15.648859032Z level=info msg="Executing migration" id="Add is_disabled column to user" policy-api | [2024-03-29T11:35:50.321+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' grafana | logger=migrator t=2024-03-29T11:35:15.650032775Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.171063ms policy-api | [2024-03-29T11:35:50.563+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql policy-api | [2024-03-29T11:35:50.807+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 grafana | logger=migrator t=2024-03-29T11:35:15.653251029Z level=info msg="Executing migration" id="Add index user.login/user.email" policy-db-migrator | -------------- mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp policy-api | [2024-03-29T11:35:51.031+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-03-29T11:35:15.654015804Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=764.305µs 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) mariadb | grafana | logger=migrator t=2024-03-29T11:35:15.659981273Z level=info msg="Executing migration" id="Add is_service_account column to user" policy-db-migrator | -------------- mariadb | 2024-03-29 11:35:17+00:00 [Note] [Entrypoint]: Stopping temporary server grafana | logger=migrator t=2024-03-29T11:35:15.661231588Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.245345ms policy-db-migrator | mariadb | 2024-03-29 11:35:17 0 [Note] mariadbd (initiated by: unknown): Normal shutdown grafana | logger=migrator t=2024-03-29T11:35:15.664503933Z level=info msg="Executing migration" id="Update is_service_account column to nullable" policy-db-migrator | mariadb | 2024-03-29 11:35:17 0 [Note] InnoDB: FTS optimize thread exiting. grafana | logger=migrator t=2024-03-29T11:35:15.676637104Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=12.133431ms policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql mariadb | 2024-03-29 11:35:17 0 [Note] InnoDB: Starting shutdown... grafana | logger=migrator t=2024-03-29T11:35:15.680258307Z level=info msg="Executing migration" id="Add uid column to user" policy-db-migrator | -------------- mariadb | 2024-03-29 11:35:17 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2024-03-29T11:35:15.681154864Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=896.277µs 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) mariadb | 2024-03-29 11:35:17 0 [Note] InnoDB: Buffer pool(s) dump completed at 240329 11:35:17 grafana | logger=migrator t=2024-03-29T11:35:15.707204122Z level=info msg="Executing migration" id="Update uid column values for users" policy-db-migrator | -------------- mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" grafana | logger=migrator t=2024-03-29T11:35:15.707598991Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=394.759µs policy-db-migrator | mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Shutdown completed; log sequence number 324021; transaction id 298 grafana | logger=migrator t=2024-03-29T11:35:15.714031829Z level=info msg="Executing migration" id="Add unique index user_uid" policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2024-03-29T11:35:15.715221612Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.189513ms mariadb | 2024-03-29 11:35:18 0 [Note] mariadbd: Shutdown complete policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.719219532Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" mariadb | policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-03-29T11:35:15.719800464Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=580.302µs mariadb | 2024-03-29 11:35:18+00:00 [Note] [Entrypoint]: Temporary server stopped policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.723782843Z level=info msg="Executing migration" id="create temp user table v1-7" mariadb | policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.72513093Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.349858ms mariadb | 2024-03-29 11:35:18+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.731517077Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" mariadb | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2024-03-29T11:35:15.732290982Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=773.815µs mariadb | 2024-03-29 11:35:18 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.735894364Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-29T11:35:15.737062787Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.166223ms mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Number of transaction pools: 1 policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.741038516Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.742322192Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.283806ms mariadb | 2024-03-29 11:35:18 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.748163678Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" mariadb | 2024-03-29 11:35:18 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 | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2024-03-29T11:35:15.748940873Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=777.095µs mariadb | 2024-03-29 11:35:18 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.75278213Z level=info msg="Executing migration" id="Update temp_user table charset" mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 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-03-29T11:35:15.752811731Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=35.921µs mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.756101576Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.756681748Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=576.052µs mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.759942482Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-03-29T11:35:15.760481893Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=539.201µs mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.766715798Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: log sequence number 324021; transaction id 299 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-03-29T11:35:15.767977753Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.261684ms mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.771731467Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" mariadb | 2024-03-29 11:35:18 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.772685297Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=955.73µs mariadb | 2024-03-29 11:35:18 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-03-29T11:35:15.77838986Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" mariadb | 2024-03-29 11:35:18 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2024-03-29T11:35:15.781545043Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.155723ms mariadb | 2024-03-29 11:35:18 0 [Note] Server socket created on IP: '0.0.0.0'. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.785320288Z level=info msg="Executing migration" id="create temp_user v2" mariadb | 2024-03-29 11:35:18 0 [Note] Server socket created on IP: '::'. 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-03-29T11:35:15.786855549Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.534791ms mariadb | 2024-03-29 11:35:18 0 [Note] mariadbd: ready for connections. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.790545212Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.792183135Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.636023ms mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Buffer pool(s) load completed at 240329 11:35:18 policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.795776096Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" mariadb | 2024-03-29 11:35:19 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-03-29T11:35:15.797520771Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.744715ms mariadb | 2024-03-29 11:35:19 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.804348667Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 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) grafana | logger=migrator t=2024-03-29T11:35:15.805197153Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=850.066µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.809211634Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.810659452Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.446328ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.814413567Z level=info msg="Executing migration" id="copy temp_user v1 to v2" policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-03-29T11:35:15.815149772Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=735.625µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.821487118Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 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) grafana | logger=migrator t=2024-03-29T11:35:15.822083049Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=595.201µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.825708752Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.826418996Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=710.374µs policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-03-29T11:35:15.830257502Z level=info msg="Executing migration" id="create star table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.831355395Z level=info msg="Migration successfully executed" id="create star table" duration=1.097232ms 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) grafana | logger=migrator t=2024-03-29T11:35:15.834874654Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.835811163Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=935.979µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.841586938Z level=info msg="Executing migration" id="create org table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.842397124Z level=info msg="Migration successfully executed" id="create org table v1" duration=812.526µs policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2024-03-29T11:35:15.84622614Z level=info msg="Executing migration" id="create index UQE_org_name - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.847491935Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.265485ms 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) grafana | logger=migrator t=2024-03-29T11:35:15.851128988Z level=info msg="Executing migration" id="create org_user table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.851938644Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=808.926µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.855326401Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.856134748Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=807.327µs policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2024-03-29T11:35:15.861929093Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.863191748Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.262375ms 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) grafana | logger=migrator t=2024-03-29T11:35:15.866604076Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.867911322Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.306836ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.871379141Z level=info msg="Executing migration" id="Update org table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.871407402Z level=info msg="Migration successfully executed" id="Update org table charset" duration=29.141µs policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-03-29T11:35:15.874641786Z level=info msg="Executing migration" id="Update org_user table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.874665456Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=24.88µs 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-03-29T11:35:15.880543383Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.88091499Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=366.077µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.884548894Z level=info msg="Executing migration" id="create dashboard table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.88588505Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.335337ms policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-03-29T11:35:15.889724297Z level=info msg="Executing migration" id="add index dashboard.account_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.891037492Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.312575ms grafana | logger=migrator t=2024-03-29T11:35:15.894541772Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-03-29T11:35:15.89543465Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=892.308µs 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) grafana | logger=migrator t=2024-03-29T11:35:15.900670504Z level=info msg="Executing migration" id="create dashboard_tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.901395799Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=724.535µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.905086082Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.906387608Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.300726ms policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-03-29T11:35:15.90997349Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.910772515Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=798.145µ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) grafana | logger=migrator t=2024-03-29T11:35:15.916740184Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.924602401Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.860136ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.928429126Z level=info msg="Executing migration" id="create dashboard v2" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.929033529Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=603.833µs policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-03-29T11:35:15.932372745Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.932954977Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=582.192µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-03-29T11:35:15.937936216Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.939275952Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.339426ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.943023198Z level=info msg="Executing migration" id="copy dashboard v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.94364255Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=618.612µs policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-03-29T11:35:15.946924905Z level=info msg="Executing migration" id="drop table dashboard_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.948302872Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.377037ms 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-03-29T11:35:15.95324045Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.953342712Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=98.122µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.957036367Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.958900183Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.861306ms policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-03-29T11:35:15.963710299Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" policy-db-migrator | -------------- 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) grafana | logger=migrator t=2024-03-29T11:35:15.966848941Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=3.138002ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.970717988Z level=info msg="Executing migration" id="Add column gnetId in dashboard" policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-03-29T11:35:15.972552545Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.835917ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.975960503Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-03-29T11:35:15.976960493Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=998.49µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.98187049Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.984712757Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.842797ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.987984543Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-03-29T11:35:15.988913351Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=928.758µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.99241559Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:15.993231927Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=815.707µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.997549503Z level=info msg="Executing migration" id="Update dashboard table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:15.997574793Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=25.8µs policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-03-29T11:35:16.000878359Z level=info msg="Executing migration" id="Update dashboard_tag table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.000901199Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=24.04µs 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-03-29T11:35:16.005536296Z level=info msg="Executing migration" id="Add column folder_id in dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.008771865Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.234559ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.012410632Z level=info msg="Executing migration" id="Add column isFolder in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.01438337Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.971818ms policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-03-29T11:35:16.019292649Z level=info msg="Executing migration" id="Add column has_acl in dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.022479875Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.190867ms 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) grafana | logger=migrator t=2024-03-29T11:35:16.026697216Z level=info msg="Executing migration" id="Add column uid in dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.029007432Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.313086ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.034006893Z level=info msg="Executing migration" id="Update uid column values in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.034258209Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=250.095µs policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-03-29T11:35:16.038898231Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.03971191Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=813.429µ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) grafana | logger=migrator t=2024-03-29T11:35:16.043314436Z level=info msg="Executing migration" id="Remove unique index org_id_slug" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.044460885Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.144939ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.049022104Z level=info msg="Executing migration" id="Update dashboard title length" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.049062195Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=41.331µs policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-03-29T11:35:16.053303757Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.054842755Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.541318ms 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) grafana | logger=migrator t=2024-03-29T11:35:16.059826994Z level=info msg="Executing migration" id="create dashboard_provisioning" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.061130386Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.302712ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.075162474Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-29T11:35:16.082454789Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.292365ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.086168699Z level=info msg="Executing migration" id="create dashboard_provisioning v2" policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-03-29T11:35:16.086959848Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=790.269µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.091782924Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 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) grafana | logger=migrator t=2024-03-29T11:35:16.093330421Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.551057ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.097270846Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.098144757Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=874.761µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.101765704Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-03-29T11:35:16.102143133Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=374.259µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.107454751Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-03-29T11:35:16.108466706Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=1.010865ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.113455475Z level=info msg="Executing migration" id="Add check_sum column" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.116671394Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.216229ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.120145257Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-03-29T11:35:16.121019518Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=870.821µs policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-03-29T11:35:16.125620399Z level=info msg="Executing migration" id="delete tags for deleted dashboards" policy-db-migrator | -------------- 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) grafana | logger=migrator t=2024-03-29T11:35:16.125862935Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=242.126µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.12940881Z level=info msg="Executing migration" id="delete stars for deleted dashboards" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.129658286Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=246.106µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.133695793Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-03-29T11:35:16.135090777Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.394013ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.140679821Z level=info msg="Executing migration" id="Add isPublic for dashboard" 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) grafana | logger=migrator t=2024-03-29T11:35:16.144432961Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.75291ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.148432668Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.149450692Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.016754ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.15305868Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-03-29T11:35:16.15389604Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=836.93µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.158672995Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 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-03-29T11:35:16.15974757Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.073515ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.164629218Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.165450378Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=820.67µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.169111456Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-03-29T11:35:16.170364886Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.253291ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.175153991Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 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-03-29T11:35:16.183304947Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.151366ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.187085309Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.188120964Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.035154ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.191768371Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-03-29T11:35:16.192631003Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=862.191µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.197458598Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 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-03-29T11:35:16.198810501Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.350553ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.202638423Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.203569746Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=930.603µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.207704135Z level=info msg="Executing migration" id="Add column with_credentials" policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-03-29T11:35:16.210028671Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.326006ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.214883088Z level=info msg="Executing migration" id="Add secure json data column" 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-03-29T11:35:16.217265795Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.381887ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.221036616Z level=info msg="Executing migration" id="Update data_source table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.221065707Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=28.871µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.224623602Z level=info msg="Executing migration" id="Update initial version to 1" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-03-29T11:35:16.224897709Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=273.827µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.229633593Z level=info msg="Executing migration" id="Add read_only data column" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.232018621Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.384378ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.235859663Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.236130579Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=270.016µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.239571132Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-03-29T11:35:16.239821319Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=249.227µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.244763917Z level=info msg="Executing migration" id="Add uid column" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.247443712Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.679065ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.252364781Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.252648877Z level=info msg="Migration successfully executed" id="Update uid value" duration=285.957µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.256322635Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-03-29T11:35:16.257604217Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.280472ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.261343677Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-03-29T11:35:16.262626688Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.282662ms grafana | logger=migrator t=2024-03-29T11:35:16.267468364Z level=info msg="Executing migration" id="create api_key table" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.268348296Z level=info msg="Migration successfully executed" id="create api_key table" duration=877.882µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.27349608Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.274860432Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.365142ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.280555999Z level=info msg="Executing migration" id="add index api_key.key" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.281953453Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.398084ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.287142998Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.28806279Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=919.843µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.292331073Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-03-29T11:35:16.293590343Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.25488ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.297885906Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.299099076Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.21281ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.305399758Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.306190616Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=790.848µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.309941717Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-03-29T11:35:16.320322307Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.37932ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.325039641Z level=info msg="Executing migration" id="create api_key table v2" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.325685766Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=647.286µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.329395626Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.330771098Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.375922ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.334637781Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-03-29T11:35:16.336178739Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.540518ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.341148059Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.34203212Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=883.151µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.346162979Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.346818085Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=653.706µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.350670048Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-03-29T11:35:16.35198191Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=1.308972ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.356517378Z level=info msg="Executing migration" id="Update api_key table charset" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.356545989Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=29.171µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.360628928Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.363147299Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.51827ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.368565498Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-03-29T11:35:16.371042168Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.47767ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.374938222Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.375195478Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=256.576µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.379462951Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.383019617Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.554587ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.387238788Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-03-29T11:35:16.39025215Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=3.013732ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.394183266Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.395013155Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=829.379µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.399720309Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.400319653Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=599.044µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.404035012Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-03-29T11:35:16.404895283Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=859.551µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.40850245Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.409830382Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.327112ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.414655678Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.416100533Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.433734ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.428582864Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-03-29T11:35:16.429921516Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.338611ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.434098537Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.434202909Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=107.473µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.439088307Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.439129128Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=42.021µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.443250697Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.447636353Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.384556ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.451360382Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.454220591Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.859179ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.458935905Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-03-29T11:35:16.459012907Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=76.102µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.462459839Z level=info msg="Executing migration" id="create quota table v1" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.463271539Z level=info msg="Migration successfully executed" id="create quota table v1" duration=811.34µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.466731023Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.467577763Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=846.33µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.471953648Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-03-29T11:35:16.471980418Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=30.11µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.587221784Z level=info msg="Executing migration" id="create plugin_setting table" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.588879003Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.659829ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.595068742Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.596115868Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.050176ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.601672772Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-03-29T11:35:16.606380805Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.706842ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.610221918Z level=info msg="Executing migration" id="Update plugin_setting table charset" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.610248978Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=27.74µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.613510277Z level=info msg="Executing migration" id="create session table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.614409898Z level=info msg="Migration successfully executed" id="create session table" duration=898.711µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.619800948Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-03-29T11:35:16.620021093Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=219.425µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.623431305Z level=info msg="Executing migration" id="Drop old table playlist_item table" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.623673832Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=241.077µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.627184916Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.627970095Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=784.509µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.633543089Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-03-29T11:35:16.634383079Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=838.63µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.638218262Z level=info msg="Executing migration" id="Update playlist table charset" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.638265843Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=46.061µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.641599533Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.641638054Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=40.731µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.645183719Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-03-29T11:35:16.648200892Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.015952ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.653858708Z level=info msg="Executing migration" id="Add playlist column updated_at" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.656886721Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.026993ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.66097766Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.661096912Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=116.382µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.66430232Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-03-29T11:35:16.664420062Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=114.553µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.667940207Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-03-29T11:35:16.668811929Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=868.391µs grafana | logger=migrator t=2024-03-29T11:35:16.674522696Z level=info msg="Executing migration" id="Update preferences table charset" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.674549657Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=27.181µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.67801433Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.682722203Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.705743ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.686787351Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-03-29T11:35:16.687118929Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=330.978µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.693200145Z level=info msg="Executing migration" id="Add column week_start in preferences" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.696353442Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.152456ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.699853416Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.702978351Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.123825ms policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-03-29T11:35:16.706647189Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.706711961Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=64.982µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.710352028Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.711375223Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.024475ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.718442153Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-03-29T11:35:16.720100713Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.66306ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.724207272Z level=info msg="Executing migration" id="create alert table v1" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.726057867Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.850285ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.731812315Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.732773229Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=960.693µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.737662726Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-03-29T11:35:16.739115801Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.455165ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.76899936Z level=info msg="Executing migration" id="add index alert dashboard_id" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.769877472Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=878.372µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.784390481Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.785564929Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.174058ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.789509135Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-03-29T11:35:16.790972759Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.462804ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.794637568Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.796102303Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.464175ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.802752433Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.816156996Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.404753ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.820270835Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-03-29T11:35:16.821052184Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=783.769µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.825502252Z 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" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.826378272Z 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=876.011µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.871882898Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.872459041Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=575.763µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.877968174Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-03-29T11:35:16.878851276Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=882.672µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.883926887Z level=info msg="Executing migration" id="create alert_notification table v1" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.885232809Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.305052ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.890883246Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.89441193Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.527875ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.898796116Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-03-29T11:35:16.902684879Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.888353ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.907035025Z level=info msg="Executing migration" id="Add column send_reminder" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.91060347Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.567845ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.915929019Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.919433483Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.503664ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.925638312Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-03-29T11:35:16.926511654Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=874.882µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.933140213Z level=info msg="Executing migration" id="Update alert table charset" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.933184934Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=44.691µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.944017795Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.944057146Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=40.961µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.948580475Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-03-29T11:35:16.949840065Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.25928ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.955685896Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 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)) grafana | logger=migrator t=2024-03-29T11:35:16.957473649Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.787173ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.961007434Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.961771912Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=763.838µs policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-03-29T11:35:16.967555821Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.968897424Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.341353ms 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)) grafana | logger=migrator t=2024-03-29T11:35:16.972969522Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.974490109Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.520237ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.980847542Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.984575161Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.725279ms policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-03-29T11:35:16.987705667Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.991340895Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.634347ms 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)) grafana | logger=migrator t=2024-03-29T11:35:16.995224348Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:16.995485134Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=260.266µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.998410584Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:16.999384608Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=974.864µs policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-03-29T11:35:17.005312661Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.006715395Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.402984ms 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)) grafana | logger=migrator t=2024-03-29T11:35:17.010222661Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.01478249Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.560309ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.017850844Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.017970967Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=119.793µs policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-03-29T11:35:17.022950778Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.023922681Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=971.283µs 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)) grafana | logger=migrator t=2024-03-29T11:35:17.028596575Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.02967819Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.081075ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.035664976Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.03584124Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=175.524µs policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-03-29T11:35:17.039724934Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.041240481Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.514257ms 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)) grafana | logger=migrator t=2024-03-29T11:35:17.045696628Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.047198145Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.501077ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.051615001Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.052578725Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=963.504µs policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-03-29T11:35:17.060261661Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.061785188Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.523427ms grafana | logger=migrator t=2024-03-29T11:35:17.066004279Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-03-29T11:35:17.067698341Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.693462ms 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)) grafana | logger=migrator t=2024-03-29T11:35:17.072005086Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.073309077Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.302962ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.079797333Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.079827104Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=30.321µs policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-29T11:35:17.083564025Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.087610613Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.047308ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-03-29T11:35:17.091407365Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.092355868Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=948.413µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.097855871Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.104107692Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.251061ms policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-03-29T11:35:17.107936374Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.108475688Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=538.824µs policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-03-29T11:35:17.114123975Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.115275142Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.149777ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.119119855Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.12057087Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.451085ms policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-03-29T11:35:17.148978818Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-03-29T11:35:17.163086009Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=14.104611ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.172957768Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.173738387Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=779.969µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.178536303Z 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" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-03-29T11:35:17.180111901Z 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.576108ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.184512018Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-03-29T11:35:17.185094952Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=582.354µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.189464188Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.19039838Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=936.992µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.197356078Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-03-29T11:35:17.197604054Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=247.716µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.200786552Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-03-29T11:35:17.207155606Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.367154ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.213147661Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.21600744Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=2.859349ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.222563038Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-03-29T11:35:17.223546232Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=983.034µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.231507645Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-03-29T11:35:17.233062432Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.554687ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.24080555Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.241310682Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=504.372µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.246679442Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-03-29T11:35:17.253049246Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.370774ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.257799231Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-03-29T11:35:17.258700273Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=900.552µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.265141669Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.265370985Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=228.756µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.273414388Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-03-29T11:35:17.274061475Z level=info msg="Migration successfully executed" id="Move region to single row" duration=646.997µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.282500169Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-03-29T11:35:17.284132208Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.631899ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.291609919Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.292981572Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.375323ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.298965428Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-03-29T11:35:17.300443713Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.477725ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.306337105Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-03-29T11:35:17.307799441Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.461596ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.313660143Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.315068997Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.409383ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.323437509Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-03-29T11:35:17.324885005Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.440895ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.329724532Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-03-29T11:35:17.329932657Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=207.455µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.334900476Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.336341282Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.439586ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.344569321Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-03-29T11:35:17.345463652Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=894.251µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.353792534Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-03-29T11:35:17.355167778Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.374743ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.361638044Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.363087559Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.446125ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.370713043Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-03-29T11:35:17.37101492Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=301.257µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.377484528Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-03-29T11:35:17.378058701Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=573.963µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.386734141Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.386833823Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=100.952µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.392387488Z level=info msg="Executing migration" id="create team table" policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-29T11:35:17.393891694Z level=info msg="Migration successfully executed" id="create team table" duration=1.503606ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.400071074Z level=info msg="Executing migration" id="add index team.org_id" 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 grafana | logger=migrator t=2024-03-29T11:35:17.401817746Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.745912ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.407902103Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.408735204Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=827.31µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.416349328Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-03-29T11:35:17.42432085Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.968762ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.432297823Z level=info msg="Executing migration" id="Update uid column values in team" 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 grafana | logger=migrator t=2024-03-29T11:35:17.43258716Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=291.837µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.445043002Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.447002349Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.953477ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.455437143Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-03-29T11:35:17.456252324Z level=info msg="Migration successfully executed" id="create team member table" duration=813.91µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.461306826Z level=info msg="Executing migration" id="add index team_member.org_id" 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 grafana | logger=migrator t=2024-03-29T11:35:17.462655388Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.345132ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.473202424Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.474423653Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.220199ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.483284677Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-03-29T11:35:17.484657741Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.373144ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.491565647Z level=info msg="Executing migration" id="Add column email to team table" 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 grafana | logger=migrator t=2024-03-29T11:35:17.498098896Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.534069ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.523808608Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.53130264Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=7.494322ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.536950316Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-03-29T11:35:17.541453625Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.505359ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.546320973Z level=info msg="Executing migration" id="create dashboard acl table" 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 grafana | logger=migrator t=2024-03-29T11:35:17.547203334Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=882.381µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.555854143Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.556754656Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=900.833µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.564167134Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-03-29T11:35:17.565727813Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.560138ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.570836796Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 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 grafana | logger=migrator t=2024-03-29T11:35:17.572278351Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.441225ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.578789689Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.580248954Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.459446ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.585629994Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-03-29T11:35:17.586503835Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=873.141µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.595016291Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 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 grafana | logger=migrator t=2024-03-29T11:35:17.596441486Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.425385ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.609509261Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.6110828Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.572629ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.618489049Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-03-29T11:35:17.619276408Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=783.959µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.625252113Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 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 | grafana | logger=migrator t=2024-03-29T11:35:17.625602261Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=350.228µs grafana | logger=migrator t=2024-03-29T11:35:17.632306874Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.633043741Z level=info msg="Migration successfully executed" id="create tag table" duration=736.867µs policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-03-29T11:35:17.641106457Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.64249969Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.393293ms 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 grafana | logger=migrator t=2024-03-29T11:35:17.651413045Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.652697907Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.282712ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.660702891Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.662121895Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.416514ms policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-03-29T11:35:17.666173913Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.667015883Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=841.72µs 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 grafana | logger=migrator t=2024-03-29T11:35:17.674792932Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.691706211Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=16.914619ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.695793069Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.696401644Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=609.945µs policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-03-29T11:35:17.702911912Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.704311826Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.399883ms grafana | logger=migrator t=2024-03-29T11:35:17.712392851Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 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 grafana | logger=migrator t=2024-03-29T11:35:17.712844772Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=451.991µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.721229275Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.722203519Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=972.784µs policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-03-29T11:35:17.728284456Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.729842553Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.554777ms policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-03-29T11:35:17.738790651Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.740238165Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.447094ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.74744065Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.747542002Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=102.942µs policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-03-29T11:35:17.75530442Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.762406682Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.102942ms policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-03-29T11:35:17.767405403Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.772322952Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.917169ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.776429711Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.781674838Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.245177ms policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-29T11:35:17.785777747Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.790776088Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.998541ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-03-29T11:35:17.796530347Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.797481311Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=952.904µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.806440807Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.813825626Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.387078ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-03-29T11:35:17.819150564Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.819986395Z level=info msg="Migration successfully executed" id="create server_lock table" duration=837.301µs 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 grafana | logger=migrator t=2024-03-29T11:35:17.828104741Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-03-29T11:35:17.829077685Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=971.914µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.834544577Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.835985582Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.442495ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.843067364Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-29T11:35:17.844517648Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.449924ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.853498996Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 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-03-29T11:35:17.854937871Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.430484ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.861186982Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.862719929Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.530697ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.867778862Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.876222146Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.442684ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.884450325Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-03-29T11:35:17.885939911Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.486746ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.905766251Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-03-29T11:35:17.909027469Z level=info msg="Migration successfully executed" id="create cache_data table" duration=3.259849ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.914953514Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.915877516Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=924.224µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.921040641Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-29T11:35:17.921888601Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=847.62µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.930759705Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-03-29T11:35:17.932298973Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.535958ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.938239627Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.938338179Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=99.782µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.943515995Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-29T11:35:17.943698679Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=183.295µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.947830598Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-03-29T11:35:17.949229303Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.398165ms policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-03-29T11:35:17.953862654Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-03-29T11:35:17.954857779Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=994.445µs policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-03-29T11:35:17.95865258Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.959610233Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=957.453µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.964465871Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.964530833Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=67.171µs policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-29T11:35:17.967986466Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.968868438Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=881.932µs policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-03-29T11:35:17.972507066Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.97391771Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.410464ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.97887529Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.980422057Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.545718ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-03-29T11:35:17.984351482Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.98590266Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.550298ms 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-03-29T11:35:17.9904663Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:17.996127387Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.659657ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:17.999601842Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.000639936Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.038204ms policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-03-29T11:35:18.004048069Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.004128921Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=81.122µs policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-03-29T11:35:18.008862515Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.010301751Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.438696ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.014352678Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.015903816Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.550468ms policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-03-29T11:35:18.019958784Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.021520132Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.559828ms 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-03-29T11:35:18.026227135Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.026290657Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=63.972µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.030017238Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.030875478Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=856.72µs policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-03-29T11:35:18.035718906Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.037287943Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.564847ms 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-03-29T11:35:18.041099276Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.042643993Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.543677ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.046759543Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.0483289Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.572477ms policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-03-29T11:35:18.05324465Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.062258247Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=9.014218ms 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-03-29T11:35:18.067116085Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.06813321Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.016954ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.072612528Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.073638133Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.025915ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-03-29T11:35:18.078616403Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.104987621Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=26.371848ms 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-03-29T11:35:18.108761673Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.132647141Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=23.885178ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.136233587Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.137303664Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.069207ms policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-03-29T11:35:18.147917121Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.149613861Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.69614ms policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-03-29T11:35:18.160646768Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.168047378Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=7.40015ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.178056039Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.183931362Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.875663ms policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-03-29T11:35:18.204748976Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.2065479Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.798673ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-03-29T11:35:18.219166494Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.220881056Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.713932ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.286081164Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.288173595Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=2.094831ms policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-03-29T11:35:18.295082101Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.297115581Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=2.0271ms policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-03-29T11:35:18.302956532Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-29T11:35:18.303148507Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=191.945µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.308447505Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.316130331Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.683536ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.322644568Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-03-29T11:35:18.332719323Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=10.076275ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.337505928Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-03-29T11:35:18.341854963Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=4.348085ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.345890061Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.348013292Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=2.125662ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.351845665Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-03-29T11:35:18.353676809Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.832204ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.359130461Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.36570949Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.575059ms grafana | logger=migrator t=2024-03-29T11:35:18.369445281Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-03-29T11:35:18.376134983Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.687112ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.380252103Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.382523627Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=2.276264ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.388134223Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-03-29T11:35:18.398581226Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=10.447743ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.406786814Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-03-29T11:35:18.413073676Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.282942ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.416886539Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.416978791Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=92.852µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.425125799Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-03-29T11:35:18.426983053Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.853304ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.432618699Z 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 | grafana | logger=migrator t=2024-03-29T11:35:18.434228889Z 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.60981ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.43924147Z 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 | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-03-29T11:35:18.440572392Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.331162ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.448470703Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-03-29T11:35:18.448543275Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=72.912µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.453327221Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.461125839Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=7.799008ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.464997353Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-03-29T11:35:18.471437949Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.440206ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.477530996Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.484094626Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.558909ms policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.488117653Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-03-29T11:35:18.494615479Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.498567ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.498303359Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-03-29T11:35:18.504762875Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.458986ms policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-03-29T11:35:18.510860183Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.510928024Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=68.231µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.515096906Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.515913035Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=813.969µs policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-03-29T11:35:18.519586854Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.52930832Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.721565ms policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-03-29T11:35:18.537440726Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.537489388Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=51.812µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.549256032Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | msg grafana | logger=migrator t=2024-03-29T11:35:18.558808413Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.552911ms policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-03-29T11:35:18.562419371Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.563418815Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=999.034µs policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-03-29T11:35:18.566805007Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.573336765Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.530959ms policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-03-29T11:35:18.579030973Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.579895854Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=863.641µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.583589853Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.584625348Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.035075ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-03-29T11:35:18.587931038Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.59462609Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.694172ms policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-03-29T11:35:18.600693106Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.601508377Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=815.101µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.606501277Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-03-29T11:35:18.607534343Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.032676ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.611033127Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.611869517Z level=info msg="Migration successfully executed" id="create alert_image table" duration=836µs policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.618025886Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-03-29T11:35:18.619221215Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.194159ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.622810822Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 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-03-29T11:35:18.622928285Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=117.152µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.634611867Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.636214546Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.601789ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.64298223Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 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-03-29T11:35:18.644499647Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.517887ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.648057953Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.648489643Z 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 | grafana | logger=migrator t=2024-03-29T11:35:18.651478545Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-03-29T11:35:18.652029389Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=550.594µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.659738855Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 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-03-29T11:35:18.661379085Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.63489ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.665259719Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.674873772Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.614403ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.678323995Z level=info msg="Executing migration" id="create library_element table v1" 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-03-29T11:35:18.679519814Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.195179ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-29T11:35:18.685756675Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | grafana | logger=migrator t=2024-03-29T11:35:18.686958224Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.202959ms policy-db-migrator | policyadmin: OK: upgrade (1200) grafana | logger=migrator t=2024-03-29T11:35:18.690582142Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | name version grafana | logger=migrator t=2024-03-29T11:35:18.691987286Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.404115ms policy-db-migrator | policyadmin 1200 grafana | logger=migrator t=2024-03-29T11:35:18.695587073Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-03-29T11:35:18.697296985Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.709432ms policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:19 grafana | logger=migrator t=2024-03-29T11:35:18.703283499Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:19 grafana | logger=migrator t=2024-03-29T11:35:18.704531669Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.2478ms policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:19 grafana | logger=migrator t=2024-03-29T11:35:18.707781869Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:19 grafana | logger=migrator t=2024-03-29T11:35:18.707807409Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=26.8µs policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:19 grafana | logger=migrator t=2024-03-29T11:35:18.711463897Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.711773735Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=308.898µs policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.715540866Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.716040717Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=499.551µs policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.721547751Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.72312956Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.576458ms policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.726989323Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.72851119Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.521128ms policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.732196499Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.764989012Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=32.791563ms policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.770557777Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.777151436Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.592509ms policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.781610335Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.781864011Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=253.206µs policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.785429127Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.819880921Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=34.451914ms policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.823344195Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.85210607Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=28.751695ms policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.858006353Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.858776421Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=769.928µs policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.862698077Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.864545731Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.847074ms policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.870471365Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.870883425Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=412.12µs policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.876734097Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.877773151Z level=info msg="Migration successfully executed" id="create permission table" duration=1.038534ms policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.881623735Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 grafana | logger=migrator t=2024-03-29T11:35:18.883286055Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.66276ms policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.886885862Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.888268796Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.383364ms policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.893974954Z level=info msg="Executing migration" id="create role table" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.894848204Z level=info msg="Migration successfully executed" id="create role table" duration=872.9µs policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.898383911Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.906097277Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.712966ms policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.909534781Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.917298558Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.759157ms policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.923536739Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.924671797Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.134967ms policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.928231952Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.92934657Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.114418ms policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.932631619Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.933760536Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.128407ms policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.939907975Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-03-29T11:35:18.941249388Z level=info msg="Migration successfully executed" id="create team role table" duration=1.340803ms grafana | logger=migrator t=2024-03-29T11:35:18.944742492Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.946429523Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.686551ms policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.955908512Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.957400529Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.490307ms policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.962292156Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.963034475Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=741.789µs policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.965535006Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.966175281Z level=info msg="Migration successfully executed" id="create user role table" duration=639.755µs policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.968781624Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.969525092Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=742.798µs policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.974186775Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 grafana | logger=migrator t=2024-03-29T11:35:18.974937483Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=750.648µs policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:18.986721158Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:18.98887602Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=2.153952ms policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:18.993915322Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:18.995449169Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.533597ms policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:18.999457587Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.000656415Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.201449ms policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.003658858Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.004809006Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.149738ms policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.009448288Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.017848291Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.399773ms policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.021286284Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.022409052Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.122058ms policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.026128121Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.027225059Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.098057ms policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.032406743Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.033553961Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.150628ms policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.036848841Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.038023049Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.173878ms policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.04096116Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.041854582Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=894.762µs policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.046573156Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.047743395Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.168899ms policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 grafana | logger=migrator t=2024-03-29T11:35:19.0508793Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.059204002Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.324732ms policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.062088172Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.067856141Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.767169ms policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.072469153Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.080447536Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.977893ms policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.083673134Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.091424391Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.747967ms policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.094556168Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.095756746Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.200598ms policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.100554413Z level=info msg="Executing migration" id="add permission action scope role_id index" policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.101731831Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.177018ms policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.104983579Z level=info msg="Executing migration" id="remove permission role_id action scope index" policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.106567678Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.584219ms policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.109891318Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.111336134Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.444246ms policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.116381785Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.117554654Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.172489ms policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:23 grafana | logger=migrator t=2024-03-29T11:35:19.120847964Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.120913495Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=66.781µs policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.123948459Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.12400405Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=56.942µs policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.12895206Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.129699518Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=747.198µs policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.1331325Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.133723086Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=591.186µs policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.136845431Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.137558418Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=710.547µs policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.140699424Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.141027212Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=327.538µs policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.14590927Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.146478074Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=568.504µs policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.150354847Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.151746851Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.390834ms policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.155462731Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.157036269Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.573918ms policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2903241135191100u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.16121764Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2903241135191200u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.169204333Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.986233ms policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2903241135191200u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.172606316Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2903241135191200u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.172684807Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=76.551µs policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2903241135191200u 1 2024-03-29 11:35:24 grafana | logger=migrator t=2024-03-29T11:35:19.17605875Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-03-29T11:35:19.177222798Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.163268ms policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=migrator t=2024-03-29T11:35:19.183302985Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-03-29T11:35:19.184460153Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.158418ms grafana | logger=migrator t=2024-03-29T11:35:19.188033819Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-03-29T11:35:19.189221348Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.186949ms grafana | logger=migrator t=2024-03-29T11:35:19.192539579Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-03-29T11:35:19.20083407Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.294421ms grafana | logger=migrator t=2024-03-29T11:35:19.205505052Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-03-29T11:35:19.206577019Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.071556ms grafana | logger=migrator t=2024-03-29T11:35:19.210040982Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-03-29T11:35:19.211116838Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.075156ms grafana | logger=migrator t=2024-03-29T11:35:19.214644373Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-29T11:35:19.236538483Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=21.89261ms grafana | logger=migrator t=2024-03-29T11:35:19.241504053Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-03-29T11:35:19.242370124Z level=info msg="Migration successfully executed" id="create correlation v2" duration=866.871µs grafana | logger=migrator t=2024-03-29T11:35:19.246002692Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-03-29T11:35:19.247074018Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.071316ms grafana | logger=migrator t=2024-03-29T11:35:19.250914471Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-03-29T11:35:19.252135111Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.22017ms grafana | logger=migrator t=2024-03-29T11:35:19.259082258Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-03-29T11:35:19.260221086Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.139038ms grafana | logger=migrator t=2024-03-29T11:35:19.264056459Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-03-29T11:35:19.264472109Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=418.75µs grafana | logger=migrator t=2024-03-29T11:35:19.268023695Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-03-29T11:35:19.269226004Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.201559ms grafana | logger=migrator t=2024-03-29T11:35:19.274532513Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-03-29T11:35:19.282606658Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.073725ms grafana | logger=migrator t=2024-03-29T11:35:19.285830926Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-03-29T11:35:19.286689737Z level=info msg="Migration successfully executed" id="create entity_events table" duration=859.52µs grafana | logger=migrator t=2024-03-29T11:35:19.290669553Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-03-29T11:35:19.291677597Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.007014ms grafana | logger=migrator t=2024-03-29T11:35:19.295255854Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-03-29T11:35:19.295733575Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-03-29T11:35:19.299121938Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-03-29T11:35:19.299828535Z 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" grafana | logger=migrator t=2024-03-29T11:35:19.303739959Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-03-29T11:35:19.304790515Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.051206ms grafana | logger=migrator t=2024-03-29T11:35:19.308758041Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-03-29T11:35:19.309772855Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.013964ms grafana | logger=migrator t=2024-03-29T11:35:19.313188788Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-03-29T11:35:19.314273924Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.084456ms grafana | logger=migrator t=2024-03-29T11:35:19.318671741Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-03-29T11:35:19.319798208Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.126017ms grafana | logger=migrator t=2024-03-29T11:35:19.323264431Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-03-29T11:35:19.324282807Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.018146ms grafana | logger=migrator t=2024-03-29T11:35:19.327478634Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-03-29T11:35:19.328500538Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.021174ms grafana | logger=migrator t=2024-03-29T11:35:19.340539559Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-03-29T11:35:19.341758699Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.21744ms grafana | logger=migrator t=2024-03-29T11:35:19.345858828Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-03-29T11:35:19.347576Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.716442ms grafana | logger=migrator t=2024-03-29T11:35:19.352154611Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-03-29T11:35:19.353251507Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.100156ms grafana | logger=migrator t=2024-03-29T11:35:19.35666368Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-03-29T11:35:19.357812528Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.147958ms grafana | logger=migrator t=2024-03-29T11:35:19.361357484Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-03-29T11:35:19.362433599Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.074875ms grafana | logger=migrator t=2024-03-29T11:35:19.367630125Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-03-29T11:35:19.39135209Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=23.721685ms grafana | logger=migrator t=2024-03-29T11:35:19.394313061Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-03-29T11:35:19.40215593Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.841959ms grafana | logger=migrator t=2024-03-29T11:35:19.405374869Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-03-29T11:35:19.411279632Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=5.904323ms grafana | logger=migrator t=2024-03-29T11:35:19.415558585Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-03-29T11:35:19.415816721Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=258.386µs grafana | logger=migrator t=2024-03-29T11:35:19.419378398Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-03-29T11:35:19.427696439Z level=info msg="Migration successfully executed" id="add share column" duration=8.31625ms grafana | logger=migrator t=2024-03-29T11:35:19.43102256Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-03-29T11:35:19.431231465Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=210.066µs grafana | logger=migrator t=2024-03-29T11:35:19.434450632Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-03-29T11:35:19.435378674Z level=info msg="Migration successfully executed" id="create file table" duration=927.572µs grafana | logger=migrator t=2024-03-29T11:35:19.439601487Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-03-29T11:35:19.440814406Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.211169ms grafana | logger=migrator t=2024-03-29T11:35:19.444272189Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-03-29T11:35:19.445995282Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.722832ms grafana | logger=migrator t=2024-03-29T11:35:19.449871525Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-03-29T11:35:19.450655705Z level=info msg="Migration successfully executed" id="create file_meta table" duration=781.61µs grafana | logger=migrator t=2024-03-29T11:35:19.45582788Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-03-29T11:35:19.456910106Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.081826ms grafana | logger=migrator t=2024-03-29T11:35:19.462261865Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-03-29T11:35:19.462326307Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=65.002µs grafana | logger=migrator t=2024-03-29T11:35:19.465476593Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-03-29T11:35:19.465539935Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=63.261µs grafana | logger=migrator t=2024-03-29T11:35:19.468858695Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-03-29T11:35:19.469731786Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=872.821µs grafana | logger=migrator t=2024-03-29T11:35:19.47401682Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-03-29T11:35:19.474329777Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=313.257µs grafana | logger=migrator t=2024-03-29T11:35:19.477591006Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-03-29T11:35:19.478846457Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.254951ms grafana | logger=migrator t=2024-03-29T11:35:19.48227812Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-03-29T11:35:19.49097883Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.69915ms grafana | logger=migrator t=2024-03-29T11:35:19.495441498Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-03-29T11:35:19.495554571Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=113.113µs grafana | logger=migrator t=2024-03-29T11:35:19.498612255Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-03-29T11:35:19.499476266Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=863.271µs grafana | logger=migrator t=2024-03-29T11:35:19.50418772Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-03-29T11:35:19.504765134Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=578.244µs grafana | logger=migrator t=2024-03-29T11:35:19.509752165Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-03-29T11:35:19.510067212Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=315.417µs grafana | logger=migrator t=2024-03-29T11:35:19.516777964Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-03-29T11:35:19.517785989Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=1.012405ms grafana | logger=migrator t=2024-03-29T11:35:19.524064131Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-03-29T11:35:19.53520224Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.134689ms grafana | logger=migrator t=2024-03-29T11:35:19.53850278Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-03-29T11:35:19.545083529Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.580489ms grafana | logger=migrator t=2024-03-29T11:35:19.548129443Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-03-29T11:35:19.548953043Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=823.36µs grafana | logger=migrator t=2024-03-29T11:35:19.554840336Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-03-29T11:35:19.629492872Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=74.656397ms grafana | logger=migrator t=2024-03-29T11:35:19.632449114Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-03-29T11:35:19.633298324Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=847.71µs grafana | logger=migrator t=2024-03-29T11:35:19.636511462Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-03-29T11:35:19.637347632Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=832.57µs grafana | logger=migrator t=2024-03-29T11:35:19.642313952Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-03-29T11:35:19.672298668Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=29.985806ms grafana | logger=migrator t=2024-03-29T11:35:19.675961806Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-03-29T11:35:19.682260628Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=6.298282ms grafana | logger=migrator t=2024-03-29T11:35:19.69552054Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-03-29T11:35:19.696062872Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=544.203µs grafana | logger=migrator t=2024-03-29T11:35:19.701982886Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-03-29T11:35:19.702231133Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=247.825µs grafana | logger=migrator t=2024-03-29T11:35:19.706029994Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-03-29T11:35:19.706355102Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=325.288µs grafana | logger=migrator t=2024-03-29T11:35:19.70999075Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-03-29T11:35:19.710189484Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=198.665µs grafana | logger=migrator t=2024-03-29T11:35:19.713583597Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-03-29T11:35:19.713812253Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=227.446µs grafana | logger=migrator t=2024-03-29T11:35:19.719266565Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-03-29T11:35:19.72072978Z level=info msg="Migration successfully executed" id="create folder table" duration=1.463084ms grafana | logger=migrator t=2024-03-29T11:35:19.724791098Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-03-29T11:35:19.726797576Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.005758ms grafana | logger=migrator t=2024-03-29T11:35:19.730530667Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-03-29T11:35:19.731710765Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.177748ms grafana | logger=migrator t=2024-03-29T11:35:19.737555897Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-03-29T11:35:19.737607048Z level=info msg="Migration successfully executed" id="Update folder title length" duration=52.331µs grafana | logger=migrator t=2024-03-29T11:35:19.741454782Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-03-29T11:35:19.743253455Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.795732ms grafana | logger=migrator t=2024-03-29T11:35:19.746703748Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-03-29T11:35:19.749056505Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=2.350737ms grafana | logger=migrator t=2024-03-29T11:35:19.75297415Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-03-29T11:35:19.755231274Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=2.260794ms grafana | logger=migrator t=2024-03-29T11:35:19.759772604Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-03-29T11:35:19.76085881Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=1.089716ms grafana | logger=migrator t=2024-03-29T11:35:19.765559804Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-03-29T11:35:19.766175609Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=615.415µs grafana | logger=migrator t=2024-03-29T11:35:19.769804638Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-03-29T11:35:19.771056847Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.252459ms grafana | logger=migrator t=2024-03-29T11:35:19.774216704Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-03-29T11:35:19.775744481Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.524817ms grafana | logger=migrator t=2024-03-29T11:35:19.784485983Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-03-29T11:35:19.786311457Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.824254ms grafana | logger=migrator t=2024-03-29T11:35:19.791074432Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-03-29T11:35:19.793118811Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=2.043939ms grafana | logger=migrator t=2024-03-29T11:35:19.798724937Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-03-29T11:35:19.799910645Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.186268ms grafana | logger=migrator t=2024-03-29T11:35:19.805269055Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-03-29T11:35:19.807148811Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.881356ms grafana | logger=migrator t=2024-03-29T11:35:19.810629255Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-03-29T11:35:19.812304366Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.675651ms grafana | logger=migrator t=2024-03-29T11:35:19.818525896Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-03-29T11:35:19.820715869Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=2.189883ms grafana | logger=migrator t=2024-03-29T11:35:19.828813355Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-03-29T11:35:19.829895661Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.082096ms grafana | logger=migrator t=2024-03-29T11:35:19.836914262Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-03-29T11:35:19.838703694Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.789593ms grafana | logger=migrator t=2024-03-29T11:35:19.842495517Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-03-29T11:35:19.843726506Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.230979ms grafana | logger=migrator t=2024-03-29T11:35:19.852068348Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-03-29T11:35:19.85256256Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=496.142µs grafana | logger=migrator t=2024-03-29T11:35:19.856158706Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-03-29T11:35:19.867657936Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=11.482229ms grafana | logger=migrator t=2024-03-29T11:35:19.87201087Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-03-29T11:35:19.872551603Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=541.103µs grafana | logger=migrator t=2024-03-29T11:35:19.880864584Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-03-29T11:35:19.882767361Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.900957ms grafana | logger=migrator t=2024-03-29T11:35:19.886538242Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-03-29T11:35:19.887593398Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.055806ms grafana | logger=migrator t=2024-03-29T11:35:19.891757408Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-03-29T11:35:19.892838075Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.078227ms grafana | logger=migrator t=2024-03-29T11:35:19.898644795Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-03-29T11:35:19.899867864Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.222319ms grafana | logger=migrator t=2024-03-29T11:35:19.90298622Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-03-29T11:35:19.904826215Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.838485ms grafana | logger=migrator t=2024-03-29T11:35:19.910053921Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-03-29T11:35:19.91124846Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.195259ms grafana | logger=migrator t=2024-03-29T11:35:19.918381303Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-03-29T11:35:19.919451028Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.068305ms grafana | logger=migrator t=2024-03-29T11:35:19.923311421Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-03-29T11:35:19.923783564Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=472.753µs grafana | logger=migrator t=2024-03-29T11:35:19.927425141Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-03-29T11:35:19.927525884Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=101.053µs grafana | logger=migrator t=2024-03-29T11:35:19.932982386Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-03-29T11:35:19.941954513Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=8.970227ms grafana | logger=migrator t=2024-03-29T11:35:19.9451416Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-03-29T11:35:19.954782514Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.640294ms grafana | logger=migrator t=2024-03-29T11:35:19.958038932Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-03-29T11:35:19.958269768Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=230.716µs grafana | logger=migrator t=2024-03-29T11:35:19.96415909Z level=info msg="migrations completed" performed=548 skipped=0 duration=4.407561935s grafana | logger=sqlstore t=2024-03-29T11:35:19.977404851Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-03-29T11:35:19.977685928Z level=info msg="Created default organization" grafana | logger=secrets t=2024-03-29T11:35:19.984531063Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-03-29T11:35:20.004482276Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-03-29T11:35:20.045755895Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-03-29T11:35:20.045787675Z level=info msg="Plugins loaded" count=55 duration=41.306519ms grafana | logger=query_data t=2024-03-29T11:35:20.053587054Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-03-29T11:35:20.059879906Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-03-29T11:35:20.064096719Z level=info msg=Starting grafana | logger=ngalert.migration t=2024-03-29T11:35:20.064526129Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false grafana | logger=ngalert.migration orgID=1 t=2024-03-29T11:35:20.06498315Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-03-29T11:35:20.065629595Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration t=2024-03-29T11:35:20.067392608Z level=info msg="Completed alerting migration" grafana | logger=ngalert.state.manager t=2024-03-29T11:35:20.10551386Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-03-29T11:35:20.107617611Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-03-29T11:35:20.109530598Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-03-29T11:35:20.123464495Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-03-29T11:35:20.123486786Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-03-29T11:35:20.124777237Z level=info msg="Storage starting" grafana | logger=http.server t=2024-03-29T11:35:20.128419155Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.state.manager t=2024-03-29T11:35:20.128674722Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-03-29T11:35:20.136371227Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=sqlstore.transactions t=2024-03-29T11:35:20.136442209Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=provisioning.dashboard t=2024-03-29T11:35:20.176072709Z level=info msg="starting to provision dashboards" grafana | logger=plugins.update.checker t=2024-03-29T11:35:20.215425951Z level=info msg="Update check succeeded" duration=91.662429ms grafana | logger=grafana.update.checker t=2024-03-29T11:35:20.216993548Z level=info msg="Update check succeeded" duration=91.701778ms grafana | logger=ngalert.state.manager t=2024-03-29T11:35:20.248505851Z level=info msg="State cache has been initialized" states=0 duration=119.825449ms grafana | logger=ngalert.scheduler t=2024-03-29T11:35:20.248695666Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-03-29T11:35:20.24884933Z level=info msg=starting first_tick=2024-03-29T11:35:30Z grafana | logger=sqlstore.transactions t=2024-03-29T11:35:20.250341925Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-03-29T11:35:20.365606034Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=provisioning.dashboard t=2024-03-29T11:35:20.52037976Z level=info msg="finished to provision dashboards" grafana | logger=grafana-apiserver t=2024-03-29T11:35:20.642833063Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-03-29T11:35:20.643545621Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=infra.usagestats t=2024-03-29T11:36:00.134356039Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-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.vatOR5OlEV ]] + rsync -av /tmp/tmp.vatOR5OlEV/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,347,854 bytes received 95 bytes 2,695,898.00 bytes/sec total size is 1,347,204 speedup is 1.00 + rm -rf /w/workspace/policy-api-london-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2116 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -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-london-project-csit-api] $ /bin/bash /tmp/jenkins12289516328991066242.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13195075718650501337.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-london-project-csit-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-london-project-csit-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-london-project-csit-api ']' + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5540371391527155973.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MH5H from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-MH5H/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4864285641478948711.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config15255479869746263648tmp 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-london-project-csit-api] $ /bin/bash /tmp/jenkins8365481181878555229.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8248393979446419.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MH5H from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-MH5H/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins6644004071821222306.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins10172755877643433204.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MH5H from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-MH5H/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-london-project-csit-api] $ /bin/bash -l /tmp/jenkins6868237072409202487.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MH5H from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-MH5H/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/315 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-19078 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: 2799.998 BogoMIPS: 5599.99 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 822 27454 0 3890 30888 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:c3:6c:ac brd ff:ff:ff:ff:ff:ff inet 10.30.106.221/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86073sec preferred_lft 86073sec inet6 fe80::f816:3eff:fec3:6cac/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:79:c5:cb:b7 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-19078) 03/29/24 _x86_64_ (8 CPU) 11:32:27 LINUX RESTART (8 CPU) 11:33:01 tps rtps wtps bread/s bwrtn/s 11:34:01 115.77 37.79 77.98 1739.24 28772.82 11:35:01 159.16 23.18 135.98 2794.47 36690.95 11:36:01 353.89 12.86 341.03 800.80 79117.70 11:37:01 38.08 0.00 38.08 0.00 22894.57 Average: 166.72 18.46 148.26 1333.68 41867.37 11:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30118688 31714124 2820532 8.56 70624 1835360 1392852 4.10 861080 1670300 173124 11:35:01 28302704 31659368 4636516 14.08 109064 3499544 1548476 4.56 999000 3237320 1426656 11:36:01 26947008 30529460 5992212 18.19 127156 3659296 4603708 13.55 2215508 3328216 84 11:37:01 27098960 30703412 5840260 17.73 127572 3686084 3043176 8.95 2066056 3339636 76 Average: 28116840 31151591 4822380 14.64 108604 3170071 2647053 7.79 1535411 2893868 399985 11:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 ens3 107.61 72.17 1012.78 15.27 0.00 0.00 0.00 0.00 11:34:01 lo 1.67 1.67 0.18 0.18 0.00 0.00 0.00 0.00 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 320.60 200.27 9270.74 18.84 0.00 0.00 0.00 0.00 11:35:01 lo 9.40 9.40 0.87 0.87 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 br-a577055d3e51 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 ens3 7.87 7.17 1.96 2.52 0.00 0.00 0.00 0.00 11:36:01 vethf65eec0 0.13 0.32 0.01 0.27 0.00 0.00 0.00 0.00 11:36:01 veth2f7c8b9 119.70 149.31 119.69 44.71 0.00 0.00 0.00 0.01 11:36:01 lo 7.35 7.35 8.14 8.14 0.00 0.00 0.00 0.00 11:37:01 ens3 13.98 14.86 7.84 7.88 0.00 0.00 0.00 0.00 11:37:01 lo 11.06 11.06 0.84 0.84 0.00 0.00 0.00 0.00 11:37:01 veth6b2bed8 116.40 96.53 47.02 119.19 0.00 0.00 0.00 0.01 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 112.51 73.62 2573.14 11.13 0.00 0.00 0.00 0.00 Average: lo 7.37 7.37 2.51 2.51 0.00 0.00 0.00 0.00 Average: veth6b2bed8 29.10 24.13 11.75 29.79 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 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-19078) 03/29/24 _x86_64_ (8 CPU) 11:32:27 LINUX RESTART (8 CPU) 11:33:01 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 10.87 0.00 0.88 1.50 0.03 86.72 11:34:01 0 3.37 0.00 0.92 5.52 0.02 90.17 11:34:01 1 6.74 0.00 0.40 4.09 0.02 88.76 11:34:01 2 32.53 0.00 1.98 1.10 0.05 64.34 11:34:01 3 22.57 0.00 1.24 0.68 0.07 75.44 11:34:01 4 13.54 0.00 1.00 0.20 0.05 85.21 11:34:01 5 2.29 0.00 0.43 0.02 0.02 97.24 11:34:01 6 4.95 0.00 0.63 0.35 0.03 94.03 11:34:01 7 0.95 0.00 0.40 0.03 0.03 98.58 11:35:01 all 12.34 0.00 2.89 1.46 0.06 83.25 11:35:01 0 5.86 0.00 2.97 2.40 0.07 88.70 11:35:01 1 4.51 0.00 1.61 5.60 0.03 88.25 11:35:01 2 10.09 0.00 3.59 0.12 0.03 86.17 11:35:01 3 40.55 0.00 3.63 2.14 0.10 53.58 11:35:01 4 12.68 0.00 3.24 0.37 0.08 83.62 11:35:01 5 7.26 0.00 2.33 0.15 0.03 90.23 11:35:01 6 8.09 0.00 2.96 0.17 0.07 88.72 11:35:01 7 9.74 0.00 2.81 0.72 0.07 86.66 11:36:01 all 18.58 0.00 2.66 3.34 0.06 75.35 11:36:01 0 22.13 0.00 3.07 1.42 0.07 73.32 11:36:01 1 12.70 0.00 3.08 16.33 0.08 67.80 11:36:01 2 18.26 0.00 2.06 2.35 0.07 77.26 11:36:01 3 22.28 0.00 3.20 0.99 0.07 73.47 11:36:01 4 21.55 0.00 2.91 4.09 0.07 71.39 11:36:01 5 13.30 0.00 1.81 0.28 0.07 84.55 11:36:01 6 12.78 0.00 2.11 0.50 0.05 84.55 11:36:01 7 25.65 0.00 3.05 0.80 0.07 70.43 11:37:01 all 0.98 0.00 0.28 1.09 0.03 97.63 11:37:01 0 0.63 0.00 0.30 0.08 0.00 98.98 11:37:01 1 0.25 0.00 0.20 7.18 0.03 92.34 11:37:01 2 1.70 0.00 0.28 0.05 0.02 97.95 11:37:01 3 0.78 0.00 0.37 0.38 0.03 98.43 11:37:01 4 0.63 0.00 0.28 0.10 0.05 98.93 11:37:01 5 2.43 0.00 0.26 0.62 0.03 96.64 11:37:01 6 0.53 0.00 0.30 0.27 0.03 98.87 11:37:01 7 0.83 0.00 0.20 0.03 0.00 98.93 Average: all 10.68 0.00 1.67 1.85 0.05 85.76 Average: 0 7.99 0.00 1.81 2.36 0.04 87.81 Average: 1 6.04 0.00 1.32 8.29 0.04 84.30 Average: 2 15.65 0.00 1.98 0.90 0.04 81.43 Average: 3 21.51 0.00 2.10 1.05 0.07 75.27 Average: 4 12.08 0.00 1.85 1.18 0.06 84.82 Average: 5 6.31 0.00 1.20 0.27 0.04 92.18 Average: 6 6.58 0.00 1.50 0.32 0.05 91.56 Average: 7 9.27 0.00 1.61 0.40 0.04 88.68