Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-11555 (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-Y8zwBji6tmyC/agent.2050 SSH_AGENT_PID=2052 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_7495778825135083740.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_7495778825135083740.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/jenkins15222659618850859688.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-ClAV 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-ClAV/bin to PATH Generating Requirements File ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.9 requires openstacksdk>=2.1.0, but you have openstacksdk 0.62.0 which is incompatible. Python 3.10.6 pip 24.0 from /tmp/venv-ClAV/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.57 botocore==1.34.57 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.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.1 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.9 lxml==5.1.0 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==0.62.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==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.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.5.0 python-openstackclient==6.0.1 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 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.0 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/jenkins5014305801733527585.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/jenkins3171515838919040484.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.u82uAeamac ++ echo ROBOT_VENV=/tmp/tmp.u82uAeamac +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.u82uAeamac ++ source /tmp/tmp.u82uAeamac/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.u82uAeamac +++ 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.u82uAeamac/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.u82uAeamac) ' '!=' x ']' +++ PS1='(tmp.u82uAeamac) ' +++ 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.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.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.u82uAeamac/src/onap ++ rm -rf /tmp/tmp.u82uAeamac/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.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.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.u82uAeamac/bin/activate + '[' -z /tmp/tmp.u82uAeamac/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.u82uAeamac/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.u82uAeamac ++ 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.u82uAeamac/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.u82uAeamac) ' ++ '[' 'x(tmp.u82uAeamac) ' '!=' x ']' ++ PS1='(tmp.u82uAeamac) (tmp.u82uAeamac) ' ++ 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.dKN9CmoazO + cd /tmp/tmp.dKN9CmoazO + 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:bc1794e85c9e00293351b967efa267ce6af1c824ac875a9d0c7ac84700a8b53e 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:f9811e4e687ffecf1a43adb9b64096c50bc0d7a782f8608530f478b6542de7d5 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-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 policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 12 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 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:36:09 up 3 min, 0 users, load average: 3.81, 1.37, 0.52 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.6 us, 2.0 sy, 0.0 ni, 82.5 id, 4.8 wa, 0.0 hi, 0.1 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS b0ce175ede74 policy-api 1.43% 1.033GiB / 31.41GiB 3.29% 1.04MB / 739kB 0B / 0B 50 5fe59d35bc5b grafana 0.04% 56.61MiB / 31.41GiB 0.18% 18.6kB / 3.12kB 0B / 24.6MB 14 c82192403d7a mariadb 0.02% 100.2MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.2MB / 67.7MB 26 b7630582bdd5 prometheus 0.00% 18.23MiB / 31.41GiB 0.06% 1.31kB / 0B 4.1kB / 0B 13 + echo + cd /tmp/tmp.dKN9CmoazO + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' api-slas.robot' + 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.dKN9CmoazO/output.xml Log: /tmp/tmp.dKN9CmoazO/log.html Report: /tmp/tmp.dKN9CmoazO/report.html + RESULT=0 + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + 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 policy-api Up About a minute grafana 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:37:20 up 5 min, 0 users, load average: 1.32, 1.15, 0.50 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.1 us, 1.6 sy, 0.0 ni, 85.2 id, 3.9 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS b0ce175ede74 policy-api 0.10% 1.045GiB / 31.41GiB 3.33% 7.32MB / 2.87MB 0B / 0B 52 5fe59d35bc5b grafana 0.04% 57.03MiB / 31.41GiB 0.18% 19.6kB / 4.3kB 0B / 24.6MB 14 c82192403d7a mariadb 0.02% 101.1MiB / 31.41GiB 0.31% 2.75MB / 7.36MB 11.2MB / 67.8MB 18 b7630582bdd5 prometheus 0.00% 24.48MiB / 31.41GiB 0.08% 38kB / 7.01kB 4.1kB / 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 policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2024-03-07T11:35:41.294564099Z level=info msg="Starting Grafana" version=10.4.0 commit=03f502a94d17f7dc4e6c34acdf8428aedd986e4c branch=HEAD compiled=2024-03-07T11:35:41Z grafana | logger=settings t=2024-03-07T11:35:41.294816354Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-03-07T11:35:41.294828524Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-03-07T11:35:41.294832374Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-03-07T11:35:41.294835544Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-03-07T11:35:41.294838574Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-07T11:35:41.294841774Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-07T11:35:41.294846884Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-03-07T11:35:41.294850134Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-03-07T11:35:41.294853864Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-03-07T11:35:41.294857014Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-07T11:35:41.294861194Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-07T11:35:41.294865685Z level=info msg=Target target=[all] grafana | logger=settings t=2024-03-07T11:35:41.294921016Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-03-07T11:35:41.294936336Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-03-07T11:35:41.294956266Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-03-07T11:35:41.295021027Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-03-07T11:35:41.295027917Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-03-07T11:35:41.295031018Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-03-07T11:35:41.295457205Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-03-07T11:35:41.295479016Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-03-07T11:35:41.296686518Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-03-07T11:35:41.297824968Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-03-07T11:35:41.298768415Z level=info msg="Migration successfully executed" id="create migration_log table" duration=948.377µs grafana | logger=migrator t=2024-03-07T11:35:41.302586684Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-03-07T11:35:41.303271287Z level=info msg="Migration successfully executed" id="create user table" duration=684.403µs grafana | logger=migrator t=2024-03-07T11:35:41.310221532Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-03-07T11:35:41.311044897Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=824.795µs grafana | logger=migrator t=2024-03-07T11:35:41.316853712Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-03-07T11:35:41.318174816Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.322814ms grafana | logger=migrator t=2024-03-07T11:35:41.322458244Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-03-07T11:35:41.32337749Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=919.977µs grafana | logger=migrator t=2024-03-07T11:35:41.330687852Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-03-07T11:35:41.331769582Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.07971ms grafana | logger=migrator t=2024-03-07T11:35:41.36044422Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-03-07T11:35:41.364382781Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.932991ms grafana | logger=migrator t=2024-03-07T11:35:41.369756298Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-03-07T11:35:41.370716305Z level=info msg="Migration successfully executed" id="create user table v2" duration=960.697µs grafana | logger=migrator t=2024-03-07T11:35:41.377385516Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-03-07T11:35:41.378198641Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=812.845µs grafana | logger=migrator t=2024-03-07T11:35:41.381887597Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-03-07T11:35:41.382695432Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=807.685µs grafana | logger=migrator t=2024-03-07T11:35:41.386297657Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-03-07T11:35:41.386800486Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=501.279µs grafana | logger=migrator t=2024-03-07T11:35:41.393400816Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-03-07T11:35:41.394336292Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=934.716µs grafana | logger=migrator t=2024-03-07T11:35:41.397937128Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-03-07T11:35:41.399852122Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.913694ms grafana | logger=migrator t=2024-03-07T11:35:41.403337255Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-03-07T11:35:41.403383056Z level=info msg="Migration successfully executed" id="Update user table charset" duration=45.801µs grafana | logger=migrator t=2024-03-07T11:35:41.4174163Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-03-07T11:35:41.419520548Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=2.103578ms grafana | logger=migrator t=2024-03-07T11:35:41.42516415Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-03-07T11:35:41.425508606Z level=info msg="Migration successfully executed" id="Add missing user data" duration=343.856µs grafana | logger=migrator t=2024-03-07T11:35:41.430581568Z level=info msg="Executing migration" id="Add is_disabled column to user" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2024-03-07T11:35:57.734+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 34 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-03-07T11:35:57.737+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-03-07T11:35:59.152+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-03-07T11:35:59.246+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 80 ms. Found 6 JPA repository interfaces. policy-api | [2024-03-07T11:36:00.363+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-03-07T11:36:00.376+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-03-07T11:36:00.377+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-03-07T11:36:00.377+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-03-07T11:36:00.466+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-03-07T11:36:00.467+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2666 ms policy-api | [2024-03-07T11:36:01.074+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-03-07T11:36:01.147+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-03-07T11:36:01.388+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-03-07T11:36:01.530+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-03-07T11:36:01.645+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-03-07T11:36:01.671+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-03-07T11:36:03.206+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-03-07T11:36:03.222+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-03-07T11:36:04.373+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-03-07T11:36:05.083+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-03-07T11:36:06.128+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@546ab02b, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@7bec83d5, org.springframework.security.web.context.SecurityContextPersistenceFilter@304d6881, org.springframework.security.web.header.HeaderWriterFilter@2b5854a7, org.springframework.security.web.authentication.logout.LogoutFilter@2763500e, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4734a551, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@33684b87, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@b1fccca, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4485ca30, org.springframework.security.web.session.SessionManagementFilter@e73787, org.springframework.security.web.access.ExceptionTranslationFilter@2acacdf, org.springframework.security.web.access.intercept.AuthorizationFilter@2dd25088] policy-api | [2024-03-07T11:36:06.279+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 policy-api | [2024-03-07T11:36:09.321+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-03-07T11:36:09.348+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-03-07T11:36:09.386+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-03-07T11:36:09.404+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.499 seconds (JVM running for 13.163) policy-api | [2024-03-07T11:36:12.718+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-03-07T11:36:12.718+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-03-07T11:36:12.719+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-03-07T11:36:15.229+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-03-07T11:36:15.336+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-03-07T11:36:15.591+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-03-07T11:36:16.737+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-03-07T11:36:18.742+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-03-07T11:36:19.138+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-03-07T11:36:19.355+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-03-07T11:36:19.587+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-03-07T11:36:19.843+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-03-07T11:36:20.124+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-03-07T11:35:41.431847681Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.261742ms grafana | logger=migrator t=2024-03-07T11:35:41.436338572Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-03-07T11:35:41.437844909Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.508078ms grafana | logger=migrator t=2024-03-07T11:35:41.442490083Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-03-07T11:35:41.443785366Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.293573ms grafana | logger=migrator t=2024-03-07T11:35:41.44953396Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-03-07T11:35:41.461183721Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=11.647641ms grafana | logger=migrator t=2024-03-07T11:35:41.464684764Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-03-07T11:35:41.465622261Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=994.758µs grafana | logger=migrator t=2024-03-07T11:35:41.469499481Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-03-07T11:35:41.469794946Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=294.925µs grafana | logger=migrator t=2024-03-07T11:35:41.473523554Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-03-07T11:35:41.474355389Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=831.735µs grafana | logger=migrator t=2024-03-07T11:35:41.481974367Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-03-07T11:35:41.483451663Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.478477ms grafana | logger=migrator t=2024-03-07T11:35:41.488520465Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-03-07T11:35:41.489792258Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.271623ms grafana | logger=migrator t=2024-03-07T11:35:41.493448654Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-03-07T11:35:41.494727597Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.278563ms grafana | logger=migrator t=2024-03-07T11:35:41.50045204Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-03-07T11:35:41.501286696Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=834.825µs grafana | logger=migrator t=2024-03-07T11:35:41.504798929Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-03-07T11:35:41.506183864Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.381615ms grafana | logger=migrator t=2024-03-07T11:35:41.510084065Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-03-07T11:35:41.510125425Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=42.201µs grafana | logger=migrator t=2024-03-07T11:35:41.515885359Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-03-07T11:35:41.516618543Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=733.114µs grafana | logger=migrator t=2024-03-07T11:35:41.520061655Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-03-07T11:35:41.521653634Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.597569ms grafana | logger=migrator t=2024-03-07T11:35:41.52585463Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-03-07T11:35:41.527646802Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.797912ms grafana | logger=migrator t=2024-03-07T11:35:41.533846294Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-03-07T11:35:41.53527316Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.422556ms grafana | logger=migrator t=2024-03-07T11:35:41.538484888Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-07T11:35:41.54190091Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.415751ms grafana | logger=migrator t=2024-03-07T11:35:41.544967855Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-03-07T11:35:41.546057955Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.09038ms grafana | logger=migrator t=2024-03-07T11:35:41.551193817Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-03-07T11:35:41.552603533Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.408536ms grafana | logger=migrator t=2024-03-07T11:35:41.55574665Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-03-07T11:35:41.557219567Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.473427ms grafana | logger=migrator t=2024-03-07T11:35:41.56129348Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-03-07T11:35:41.562120055Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=826.155µs grafana | logger=migrator t=2024-03-07T11:35:41.567749107Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-03-07T11:35:41.569008669Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.259532ms grafana | logger=migrator t=2024-03-07T11:35:41.573267116Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-03-07T11:35:41.573783446Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=516.74µs grafana | logger=migrator t=2024-03-07T11:35:41.576901882Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-03-07T11:35:41.577481693Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=579.201µs grafana | logger=migrator t=2024-03-07T11:35:41.580448296Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-03-07T11:35:41.580865264Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=413.068µs grafana | logger=migrator t=2024-03-07T11:35:41.585660941Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-03-07T11:35:41.586352383Z level=info msg="Migration successfully executed" id="create star table" duration=690.433µs grafana | logger=migrator t=2024-03-07T11:35:41.590214933Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-03-07T11:35:41.591427225Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.211482ms grafana | logger=migrator t=2024-03-07T11:35:41.597134188Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-03-07T11:35:41.598386691Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.252163ms grafana | logger=migrator t=2024-03-07T11:35:41.60388408Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-03-07T11:35:41.604646014Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=761.504µs grafana | logger=migrator t=2024-03-07T11:35:41.608409012Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-03-07T11:35:41.609467751Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.057649ms grafana | logger=migrator t=2024-03-07T11:35:41.613756278Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-03-07T11:35:41.615085112Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.328594ms grafana | logger=migrator t=2024-03-07T11:35:41.619062544Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-03-07T11:35:41.620362548Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.299794ms grafana | logger=migrator t=2024-03-07T11:35:41.624778357Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-03-07T11:35:41.626101161Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.322814ms grafana | logger=migrator t=2024-03-07T11:35:41.629840539Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-03-07T11:35:41.62988271Z level=info msg="Migration successfully executed" id="Update org table charset" duration=42.601µs grafana | logger=migrator t=2024-03-07T11:35:41.63323761Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-03-07T11:35:41.633278171Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=40.011µs grafana | logger=migrator t=2024-03-07T11:35:41.636882366Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-03-07T11:35:41.637173642Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=292.105µs grafana | logger=migrator t=2024-03-07T11:35:41.642116571Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-03-07T11:35:41.643357754Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.241922ms grafana | logger=migrator t=2024-03-07T11:35:41.64759999Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-03-07T11:35:41.648451025Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=850.735µs grafana | logger=migrator t=2024-03-07T11:35:41.652144372Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-03-07T11:35:41.653310823Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.162971ms grafana | logger=migrator t=2024-03-07T11:35:41.657378427Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-03-07T11:35:41.658452756Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.075149ms grafana | logger=migrator t=2024-03-07T11:35:41.663410066Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-03-07T11:35:41.66420921Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=798.034µs grafana | logger=migrator t=2024-03-07T11:35:41.667641872Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-03-07T11:35:41.668327435Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=682.882µs grafana | logger=migrator t=2024-03-07T11:35:41.672317027Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-03-07T11:35:41.680552266Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=8.234709ms grafana | logger=migrator t=2024-03-07T11:35:41.685194789Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-03-07T11:35:41.685929983Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=734.554µs grafana | logger=migrator t=2024-03-07T11:35:41.718333158Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-03-07T11:35:41.719560741Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.222442ms grafana | logger=migrator t=2024-03-07T11:35:41.723063734Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-03-07T11:35:41.724379648Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.315524ms grafana | logger=migrator t=2024-03-07T11:35:41.730667671Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-03-07T11:35:41.731031758Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=364.367µs grafana | logger=migrator t=2024-03-07T11:35:41.734189265Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-03-07T11:35:41.735440048Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.250093ms grafana | logger=migrator t=2024-03-07T11:35:41.738834409Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-03-07T11:35:41.738941461Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=107.752µs grafana | logger=migrator t=2024-03-07T11:35:41.743180758Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-03-07T11:35:41.7449966Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.815062ms grafana | logger=migrator t=2024-03-07T11:35:41.748961212Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-03-07T11:35:41.750710874Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.748951ms grafana | logger=migrator t=2024-03-07T11:35:41.754680465Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-03-07T11:35:41.756486548Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.807193ms policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:41.761096221Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-03-07T11:35:41.761852715Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=756.034µs grafana | logger=migrator t=2024-03-07T11:35:41.765085644Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-03-07T11:35:41.766891316Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.804233ms grafana | logger=migrator t=2024-03-07T11:35:41.771062071Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-03-07T11:35:41.771901677Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=842.945µs grafana | logger=migrator t=2024-03-07T11:35:41.776112113Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-03-07T11:35:41.77706825Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=954.787µs grafana | logger=migrator t=2024-03-07T11:35:41.781237055Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-03-07T11:35:41.781285226Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=48.881µs grafana | logger=migrator t=2024-03-07T11:35:41.784533685Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-03-07T11:35:41.784570726Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=38.441µs grafana | logger=migrator t=2024-03-07T11:35:41.789310591Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-03-07T11:35:41.791286657Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.975566ms grafana | logger=migrator t=2024-03-07T11:35:41.797628822Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-03-07T11:35:41.799580367Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.951895ms grafana | logger=migrator t=2024-03-07T11:35:41.802716363Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-03-07T11:35:41.804661679Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.944466ms grafana | logger=migrator t=2024-03-07T11:35:41.809045878Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-03-07T11:35:41.810967043Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.922815ms grafana | logger=migrator t=2024-03-07T11:35:41.816570954Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-03-07T11:35:41.816793488Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=222.644µs grafana | logger=migrator t=2024-03-07T11:35:41.819943145Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-03-07T11:35:41.820675328Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=730.743µs grafana | logger=migrator t=2024-03-07T11:35:41.82409169Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-03-07T11:35:41.824796343Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=705.603µs grafana | logger=migrator t=2024-03-07T11:35:41.829017439Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-03-07T11:35:41.82904766Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=30.001µs grafana | logger=migrator t=2024-03-07T11:35:41.831418392Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-03-07T11:35:41.832209047Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=790.245µs grafana | logger=migrator t=2024-03-07T11:35:41.835589678Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-03-07T11:35:41.836673877Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.083209ms grafana | logger=migrator t=2024-03-07T11:35:41.841561406Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-07T11:35:41.84788548Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.323715ms grafana | logger=migrator t=2024-03-07T11:35:41.851461105Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-03-07T11:35:41.852208968Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=747.013µs grafana | logger=migrator t=2024-03-07T11:35:41.855758142Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-03-07T11:35:41.856531466Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=772.054µs grafana | logger=migrator t=2024-03-07T11:35:41.861945284Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-03-07T11:35:41.862703878Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=757.684µs grafana | logger=migrator t=2024-03-07T11:35:41.866757041Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-03-07T11:35:41.867074087Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=315.816µs grafana | logger=migrator t=2024-03-07T11:35:41.870471938Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-03-07T11:35:41.871012008Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=539.49µs grafana | logger=migrator t=2024-03-07T11:35:41.875230974Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-03-07T11:35:41.877258101Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.026377ms grafana | logger=migrator t=2024-03-07T11:35:41.88164859Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-03-07T11:35:41.882417244Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=767.924µs grafana | logger=migrator t=2024-03-07T11:35:41.885783035Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-03-07T11:35:41.885951348Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=168.333µs grafana | logger=migrator t=2024-03-07T11:35:41.889616534Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-03-07T11:35:41.889889319Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=270.875µs grafana | logger=migrator t=2024-03-07T11:35:41.89492348Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-03-07T11:35:41.896235004Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.311044ms grafana | logger=migrator t=2024-03-07T11:35:41.900106144Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-03-07T11:35:41.903579927Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.473253ms grafana | logger=migrator t=2024-03-07T11:35:41.906973298Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-03-07T11:35:41.907911545Z level=info msg="Migration successfully executed" id="create data_source table" duration=936.857µs grafana | logger=migrator t=2024-03-07T11:35:41.912355785Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-03-07T11:35:41.913481906Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.123801ms grafana | logger=migrator t=2024-03-07T11:35:41.916859587Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-03-07T11:35:41.918121629Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.263502ms grafana | logger=migrator t=2024-03-07T11:35:41.921947299Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-03-07T11:35:41.922667482Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=717.483µs grafana | logger=migrator t=2024-03-07T11:35:41.927271325Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-03-07T11:35:41.928006248Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=734.033µs grafana | logger=migrator t=2024-03-07T11:35:41.932289706Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-03-07T11:35:41.938291974Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=6.003539ms grafana | logger=migrator t=2024-03-07T11:35:41.941973151Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-03-07T11:35:41.942916958Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=943.198µs grafana | logger=migrator t=2024-03-07T11:35:41.948132872Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-03-07T11:35:41.949435705Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.298833ms grafana | logger=migrator t=2024-03-07T11:35:41.953042271Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-03-07T11:35:41.954321704Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.279073ms grafana | logger=migrator t=2024-03-07T11:35:41.957890278Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-03-07T11:35:41.958418428Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=527.76µs grafana | logger=migrator t=2024-03-07T11:35:41.962154395Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-03-07T11:35:41.964478157Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.322652ms grafana | logger=migrator t=2024-03-07T11:35:41.967803647Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-03-07T11:35:41.970078128Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.272921ms grafana | logger=migrator t=2024-03-07T11:35:41.973352538Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-03-07T11:35:41.973377828Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=25.53µs grafana | logger=migrator t=2024-03-07T11:35:41.977927171Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-03-07T11:35:41.978129204Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=202.153µs grafana | logger=migrator t=2024-03-07T11:35:41.982576504Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-03-07T11:35:41.986659238Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=4.088894ms grafana | logger=migrator t=2024-03-07T11:35:41.990300614Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-03-07T11:35:41.990496377Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=202.393µs grafana | logger=migrator t=2024-03-07T11:35:41.994861156Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-03-07T11:35:41.995020889Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=164.853µs grafana | logger=migrator t=2024-03-07T11:35:41.998630105Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-03-07T11:35:42.002311921Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.681196ms grafana | logger=migrator t=2024-03-07T11:35:42.005837275Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-03-07T11:35:42.006037788Z level=info msg="Migration successfully executed" id="Update uid value" duration=194.553µs grafana | logger=migrator t=2024-03-07T11:35:42.009667124Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-03-07T11:35:42.01056509Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=897.736µs grafana | logger=migrator t=2024-03-07T11:35:42.014605513Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-03-07T11:35:42.015428978Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=822.905µs grafana | logger=migrator t=2024-03-07T11:35:42.018812149Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-03-07T11:35:42.019675145Z level=info msg="Migration successfully executed" id="create api_key table" duration=862.386µs grafana | logger=migrator t=2024-03-07T11:35:42.02325958Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-03-07T11:35:42.024118285Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=858.185µs grafana | logger=migrator t=2024-03-07T11:35:42.029076735Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-03-07T11:35:42.030253286Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.172791ms grafana | logger=migrator t=2024-03-07T11:35:42.036935917Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-03-07T11:35:42.03820799Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.271592ms grafana | logger=migrator t=2024-03-07T11:35:42.04209503Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-03-07T11:35:42.043278581Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.186321ms grafana | logger=migrator t=2024-03-07T11:35:42.086455611Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-03-07T11:35:42.087861016Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.406905ms grafana | logger=migrator t=2024-03-07T11:35:42.091615054Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-03-07T11:35:42.092359948Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=745.054µs grafana | logger=migrator t=2024-03-07T11:35:42.097373298Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-03-07T11:35:42.104294943Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.920785ms grafana | logger=migrator t=2024-03-07T11:35:42.108202294Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-03-07T11:35:42.108924997Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=721.573µs grafana | logger=migrator t=2024-03-07T11:35:42.11238632Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-03-07T11:35:42.113166124Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=778.404µs grafana | logger=migrator t=2024-03-07T11:35:42.118350117Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-03-07T11:35:42.119139452Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=791.875µs grafana | logger=migrator t=2024-03-07T11:35:42.122655735Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-03-07T11:35:42.12404658Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.390285ms grafana | logger=migrator t=2024-03-07T11:35:42.127863439Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-03-07T11:35:42.128255106Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=391.517µs grafana | logger=migrator t=2024-03-07T11:35:42.13290388Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-03-07T11:35:42.133756286Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=852.515µs grafana | logger=migrator t=2024-03-07T11:35:42.137702177Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-03-07T11:35:42.137764608Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=61.061µs grafana | logger=migrator t=2024-03-07T11:35:42.142117157Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-03-07T11:35:42.146583937Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.467921ms grafana | logger=migrator t=2024-03-07T11:35:42.150989607Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-03-07T11:35:42.153516322Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.522235ms grafana | logger=migrator t=2024-03-07T11:35:42.157213439Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-03-07T11:35:42.157405373Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=191.924µs grafana | logger=migrator t=2024-03-07T11:35:42.161410765Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-03-07T11:35:42.164081253Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.668778ms grafana | logger=migrator t=2024-03-07T11:35:42.167642438Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-03-07T11:35:42.170250664Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.603587ms grafana | logger=migrator t=2024-03-07T11:35:42.174139585Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-03-07T11:35:42.175360757Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=1.218272ms grafana | logger=migrator t=2024-03-07T11:35:42.180355107Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-03-07T11:35:42.180954738Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=602.261µs grafana | logger=migrator t=2024-03-07T11:35:42.185396598Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-03-07T11:35:42.186291744Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=893.696µs grafana | logger=migrator t=2024-03-07T11:35:42.190189765Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-03-07T11:35:42.191178223Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=987.788µs grafana | logger=migrator t=2024-03-07T11:35:42.194957001Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-03-07T11:35:42.19657868Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.620569ms grafana | logger=migrator t=2024-03-07T11:35:42.202063729Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-03-07T11:35:42.202958126Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=893.607µs grafana | logger=migrator t=2024-03-07T11:35:42.206456669Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-03-07T11:35:42.20652825Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=70.311µs grafana | logger=migrator t=2024-03-07T11:35:42.210156736Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-03-07T11:35:42.210189506Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=33.46µs grafana | logger=migrator t=2024-03-07T11:35:42.2137292Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-03-07T11:35:42.218609418Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.837867ms policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.22314453Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-03-07T11:35:42.226144534Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.998494ms grafana | logger=migrator t=2024-03-07T11:35:42.229403123Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-03-07T11:35:42.229629557Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=83.921µs grafana | logger=migrator t=2024-03-07T11:35:42.234239851Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-03-07T11:35:42.235077626Z level=info msg="Migration successfully executed" id="create quota table v1" duration=840.216µs grafana | logger=migrator t=2024-03-07T11:35:42.241815577Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-03-07T11:35:42.243979536Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=2.162149ms grafana | logger=migrator t=2024-03-07T11:35:42.248534969Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-03-07T11:35:42.24859979Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=69.462µs grafana | logger=migrator t=2024-03-07T11:35:42.252271976Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-03-07T11:35:42.25304317Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=770.864µs grafana | logger=migrator t=2024-03-07T11:35:42.256639815Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-03-07T11:35:42.257439089Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=798.934µs grafana | logger=migrator t=2024-03-07T11:35:42.262064053Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-03-07T11:35:42.265340012Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.275749ms grafana | logger=migrator t=2024-03-07T11:35:42.268841325Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-03-07T11:35:42.268897696Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=58.501µs grafana | logger=migrator t=2024-03-07T11:35:42.272383479Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-03-07T11:35:42.273862606Z level=info msg="Migration successfully executed" id="create session table" duration=1.478797ms grafana | logger=migrator t=2024-03-07T11:35:42.279714062Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-03-07T11:35:42.279799433Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=85.591µs grafana | logger=migrator t=2024-03-07T11:35:42.282837478Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-03-07T11:35:42.28292803Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=90.092µs grafana | logger=migrator t=2024-03-07T11:35:42.286699128Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-03-07T11:35:42.287477392Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=778.524µs grafana | logger=migrator t=2024-03-07T11:35:42.292256118Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-03-07T11:35:42.293341158Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.08308ms grafana | logger=migrator t=2024-03-07T11:35:42.311321703Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-03-07T11:35:42.311432625Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=108.072µs grafana | logger=migrator t=2024-03-07T11:35:42.316825382Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-03-07T11:35:42.316849953Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=25.191µs grafana | logger=migrator t=2024-03-07T11:35:42.319274316Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-03-07T11:35:42.321605868Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=2.332312ms grafana | logger=migrator t=2024-03-07T11:35:42.325741273Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-03-07T11:35:42.32889805Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.155777ms grafana | logger=migrator t=2024-03-07T11:35:42.332544346Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-03-07T11:35:42.332667118Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=121.932µs grafana | logger=migrator t=2024-03-07T11:35:42.335791825Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-03-07T11:35:42.335904167Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=111.292µs grafana | logger=migrator t=2024-03-07T11:35:42.3405105Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-03-07T11:35:42.342230521Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.714231ms prometheus | ts=2024-03-07T11:35:40.168Z caller=main.go:564 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-03-07T11:35:40.168Z caller=main.go:608 level=info msg="Starting Prometheus Server" mode=server version="(version=2.50.1, branch=HEAD, revision=8c9b0285360a0b6288d76214a75ce3025bce4050)" prometheus | ts=2024-03-07T11:35:40.168Z caller=main.go:613 level=info build_context="(go=go1.21.7, platform=linux/amd64, user=root@6213bb3ee580, date=20240226-11:36:26, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-03-07T11:35:40.168Z caller=main.go:614 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2024-03-07T11:35:40.169Z caller=main.go:615 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-03-07T11:35:40.169Z caller=main.go:616 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-03-07T11:35:40.175Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-03-07T11:35:40.176Z caller=main.go:1118 level=info msg="Starting TSDB ..." prometheus | ts=2024-03-07T11:35:40.180Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-03-07T11:35:40.180Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-03-07T11:35:40.181Z caller=head.go:610 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-03-07T11:35:40.181Z caller=head.go:692 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.24µs prometheus | ts=2024-03-07T11:35:40.181Z caller=head.go:700 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-03-07T11:35:40.182Z caller=head.go:771 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-03-07T11:35:40.182Z caller=head.go:808 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=29.35µs wal_replay_duration=701.313µs wbl_replay_duration=230ns total_replay_duration=762.783µs prometheus | ts=2024-03-07T11:35:40.185Z caller=main.go:1139 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-03-07T11:35:40.185Z caller=main.go:1142 level=info msg="TSDB started" prometheus | ts=2024-03-07T11:35:40.185Z caller=main.go:1324 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-03-07T11:35:40.186Z caller=main.go:1361 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=892.184µs db_storage=1.22µs remote_storage=2.27µs web_handler=590ns query_engine=970ns scrape=251.511µs scrape_sd=120.43µs notify=27.391µs notify_sd=17.48µs rules=1.75µs tracing=4.86µs prometheus | ts=2024-03-07T11:35:40.186Z caller=main.go:1103 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-03-07T11:35:40.186Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:42.351298955Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-03-07T11:35:42.351337846Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=38.94µs grafana | logger=migrator t=2024-03-07T11:35:42.357081609Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-03-07T11:35:42.360093764Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.010335ms grafana | logger=migrator t=2024-03-07T11:35:42.364201028Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-03-07T11:35:42.364388281Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=186.023µs grafana | logger=migrator t=2024-03-07T11:35:42.370245997Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-03-07T11:35:42.373796161Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.549664ms grafana | logger=migrator t=2024-03-07T11:35:42.379194359Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-03-07T11:35:42.382269804Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.074685ms grafana | logger=migrator t=2024-03-07T11:35:42.386728595Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" mariadb | 2024-03-07 11:35:42+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-07 11:35:42+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-03-07 11:35:42+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-07 11:35:42+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-03-07 11:35:42 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-07 11:35:42 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-07 11:35:42 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-07 11:35:44+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-03-07 11:35:44+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-03-07 11:35:44+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-03-07 11:35:44 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 101 ... mariadb | 2024-03-07 11:35:44 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-07 11:35:44 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-07 11:35:44 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-07 11:35:44 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-07 11:35:44 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-07 11:35:44 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-07 11:35:44 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-03-07 11:35:44 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-03-07 11:35:44 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-03-07 11:35:44 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-03-07 11:35:44 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-03-07 11:35:44 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-03-07 11:35:44 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-03-07 11:35:44 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-03-07 11:35:44 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-03-07 11:35:44 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-03-07 11:35:44 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-03-07 11:35:44 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-03-07 11:35:45+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-03-07 11:35:47+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-03-07 11:35:47+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2024-03-07 11:35:47+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2024-03-07 11:35:47+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # grafana | logger=migrator t=2024-03-07T11:35:42.386841587Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=112.932µs grafana | logger=migrator t=2024-03-07T11:35:42.394641608Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-03-07T11:35:42.396068194Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.471336ms grafana | logger=migrator t=2024-03-07T11:35:42.403663821Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-03-07T11:35:42.405148707Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.471246ms grafana | logger=migrator t=2024-03-07T11:35:42.416040164Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-03-07T11:35:42.417930778Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.888874ms grafana | logger=migrator t=2024-03-07T11:35:42.467453253Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-03-07T11:35:42.468571893Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.12289ms grafana | logger=migrator t=2024-03-07T11:35:42.47227538Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-03-07T11:35:42.47391502Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.636909ms grafana | logger=migrator t=2024-03-07T11:35:42.477761749Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-03-07T11:35:42.479260526Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.497667ms grafana | logger=migrator t=2024-03-07T11:35:42.48668986Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-03-07T11:35:42.487418244Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=728.214µs grafana | logger=migrator t=2024-03-07T11:35:42.490824725Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-03-07T11:35:42.492244081Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.417256ms grafana | logger=migrator t=2024-03-07T11:35:42.496571349Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-03-07T11:35:42.497612438Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.042259ms grafana | logger=migrator t=2024-03-07T11:35:42.503669237Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-03-07T11:35:42.515767315Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=12.088428ms grafana | logger=migrator t=2024-03-07T11:35:42.521776294Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-03-07T11:35:42.522714031Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=938.117µs grafana | logger=migrator t=2024-03-07T11:35:42.52710304Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-03-07T11:35:42.52877199Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.66953ms grafana | logger=migrator t=2024-03-07T11:35:42.532139131Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-03-07T11:35:42.53261835Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=474.539µs grafana | logger=migrator t=2024-03-07T11:35:42.537955716Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-03-07T11:35:42.538531376Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=575.91µs grafana | logger=migrator t=2024-03-07T11:35:42.541695834Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-03-07T11:35:42.542456528Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=760.334µs grafana | logger=migrator t=2024-03-07T11:35:42.545797218Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-03-07T11:35:42.549483004Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.685176ms grafana | logger=migrator t=2024-03-07T11:35:42.556827537Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-03-07T11:35:42.560337761Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.509744ms grafana | logger=migrator t=2024-03-07T11:35:42.563469567Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-03-07T11:35:42.567055272Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.584655ms grafana | logger=migrator t=2024-03-07T11:35:42.570366122Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-03-07T11:35:42.57414377Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.777138ms grafana | logger=migrator t=2024-03-07T11:35:42.58021744Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-03-07T11:35:42.581065255Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=849.295µs grafana | logger=migrator t=2024-03-07T11:35:42.584582819Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-03-07T11:35:42.584616469Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=31.391µs grafana | logger=migrator t=2024-03-07T11:35:42.587073234Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-03-07T11:35:42.587150505Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=74.151µs grafana | logger=migrator t=2024-03-07T11:35:42.593045531Z level=info msg="Executing migration" id="create notification_journal table v1" 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- 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 | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.594240903Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.195252ms mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.597890849Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" mariadb | # you may not use this file except in compliance with the License. policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-03-07T11:35:42.599512528Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.598649ms mariadb | # You may obtain a copy of the License at policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:42.60516666Z level=info msg="Executing migration" id="drop alert_notification_journal" mariadb | # 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-07T11:35:42.606057876Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=888.926µs mariadb | # http://www.apache.org/licenses/LICENSE-2.0 policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:42.612629235Z level=info msg="Executing migration" id="create alert_notification_state table v1" mariadb | # policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.614263934Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.633499ms mariadb | # Unless required by applicable law or agreed to in writing, software policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.618358849Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" mariadb | # distributed under the License is distributed on an "AS IS" BASIS, policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-03-07T11:35:42.619345776Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=987.157µs mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:42.622570684Z level=info msg="Executing migration" id="Add for to alert table" mariadb | # See the License for the specific language governing permissions and 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-07T11:35:42.626396764Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.82555ms mariadb | # limitations under the License. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:42.632572105Z level=info msg="Executing migration" id="Add column uid in alert_notification" mariadb | policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.636235831Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.663436ms mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.642008646Z level=info msg="Executing migration" id="Update uid column values in alert_notification" mariadb | do policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-03-07T11:35:42.642389113Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=388.257µs mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:42.657806801Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 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-07T11:35:42.659133215Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.326744ms mariadb | done policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:42.666002689Z level=info msg="Executing migration" id="Remove unique index org_id_name" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.666657761Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=655.902µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.67155727Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-03-07T11:35:42.677226552Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.668842ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:42.681265415Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 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-07T11:35:42.681338586Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=70.551µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:42.689668737Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.691158713Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.489777ms mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.69650473Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-03-07T11:35:42.697936996Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.431556ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:42.701581652Z level=info msg="Executing migration" id="Drop old annotation table v4" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 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-07T11:35:42.701714934Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=129.932µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:42.707828985Z level=info msg="Executing migration" id="create annotation table v5" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.708771512Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=942.178µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.715292459Z level=info msg="Executing migration" id="add index annotation 0 v3" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-03-07T11:35:42.716680984Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.387825ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:42.722754404Z level=info msg="Executing migration" id="add index annotation 1 v3" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 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-07T11:35:42.724122349Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.367345ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:42.72914744Z level=info msg="Executing migration" id="add index annotation 2 v3" mariadb | policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.730505234Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.357044ms policy-db-migrator | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" grafana | logger=migrator t=2024-03-07T11:35:42.736261278Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | > upgrade 0460-pdppolicystatus.sql mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' grafana | logger=migrator t=2024-03-07T11:35:42.737748075Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.485777ms policy-db-migrator | -------------- mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql grafana | logger=migrator t=2024-03-07T11:35:42.742651654Z level=info msg="Executing migration" id="add index annotation 4 v3" 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)) mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp grafana | logger=migrator t=2024-03-07T11:35:42.744255493Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.604029ms policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-03-07T11:35:42.753069312Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | mariadb | 2024-03-07 11:35:48+00:00 [Note] [Entrypoint]: Stopping temporary server grafana | logger=migrator t=2024-03-07T11:35:42.753098132Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=29.24µs policy-db-migrator | mariadb | 2024-03-07 11:35:48 0 [Note] mariadbd (initiated by: unknown): Normal shutdown grafana | logger=migrator t=2024-03-07T11:35:42.758189854Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | > upgrade 0470-pdp.sql mariadb | 2024-03-07 11:35:48 0 [Note] InnoDB: FTS optimize thread exiting. grafana | logger=migrator t=2024-03-07T11:35:42.766438003Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=8.248299ms policy-db-migrator | -------------- mariadb | 2024-03-07 11:35:48 0 [Note] InnoDB: Starting shutdown... grafana | logger=migrator t=2024-03-07T11:35:42.770063629Z level=info msg="Executing migration" id="Drop category_id index" 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)) mariadb | 2024-03-07 11:35:48 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2024-03-07T11:35:42.770890984Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=828.995µs policy-db-migrator | -------------- mariadb | 2024-03-07 11:35:48 0 [Note] InnoDB: Buffer pool(s) dump completed at 240307 11:35:48 grafana | logger=migrator t=2024-03-07T11:35:42.77898544Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | mariadb | 2024-03-07 11:35:48 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" grafana | logger=migrator t=2024-03-07T11:35:42.783219716Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.234236ms policy-db-migrator | mariadb | 2024-03-07 11:35:48 0 [Note] InnoDB: Shutdown completed; log sequence number 328920; transaction id 298 grafana | logger=migrator t=2024-03-07T11:35:42.789036791Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | > upgrade 0480-pdpstatistics.sql mariadb | 2024-03-07 11:35:48 0 [Note] mariadbd: Shutdown complete grafana | logger=migrator t=2024-03-07T11:35:42.789779135Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=742.254µs policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-03-07T11:35:42.79557909Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 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)) mariadb | 2024-03-07 11:35:48+00:00 [Note] [Entrypoint]: Temporary server stopped grafana | logger=migrator t=2024-03-07T11:35:42.796963885Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.384325ms policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-03-07T11:35:42.802537005Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | mariadb | 2024-03-07 11:35:48+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. grafana | logger=migrator t=2024-03-07T11:35:42.804250626Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.705731ms policy-db-migrator | mariadb | grafana | logger=migrator t=2024-03-07T11:35:42.840778166Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql mariadb | 2024-03-07 11:35:48 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... grafana | logger=migrator t=2024-03-07T11:35:42.853265092Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=12.489116ms policy-db-migrator | -------------- mariadb | 2024-03-07 11:35:48 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2024-03-07T11:35:42.858289142Z level=info msg="Executing migration" id="Create annotation_tag table v3" mariadb | 2024-03-07 11:35:48 0 [Note] InnoDB: Number of transaction pools: 1 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)) mariadb | 2024-03-07 11:35:48 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2024-03-07T11:35:42.859034526Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=742.654µs policy-db-migrator | -------------- mariadb | 2024-03-07 11:35:48 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=migrator t=2024-03-07T11:35:42.864317961Z 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 | mariadb | 2024-03-07 11:35:48 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=migrator t=2024-03-07T11:35:42.865218677Z 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=900.136µs policy-db-migrator | mariadb | 2024-03-07 11:35:48 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2024-03-07T11:35:42.871085904Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql mariadb | 2024-03-07 11:35:48 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2024-03-07T11:35:42.871357488Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=271.534µs policy-db-migrator | -------------- mariadb | 2024-03-07 11:35:48 0 [Note] InnoDB: Completed initialization of buffer pool grafana | logger=migrator t=2024-03-07T11:35:42.876125264Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 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)) mariadb | 2024-03-07 11:35:48 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2024-03-07T11:35:42.877386447Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=1.261373ms policy-db-migrator | -------------- mariadb | 2024-03-07 11:35:49 0 [Note] InnoDB: 128 rollback segments are active. grafana | logger=migrator t=2024-03-07T11:35:42.883031149Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | mariadb | 2024-03-07 11:35:49 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... grafana | logger=migrator t=2024-03-07T11:35:42.883306364Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=276.135µs policy-db-migrator | mariadb | 2024-03-07 11:35:49 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. grafana | logger=migrator t=2024-03-07T11:35:42.88914967Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql mariadb | 2024-03-07 11:35:49 0 [Note] InnoDB: log sequence number 328920; transaction id 299 grafana | logger=migrator t=2024-03-07T11:35:42.896037304Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.890104ms policy-db-migrator | -------------- mariadb | 2024-03-07 11:35:49 0 [Note] Plugin 'FEEDBACK' is disabled. grafana | logger=migrator t=2024-03-07T11:35:42.901152096Z level=info msg="Executing migration" id="Add updated time to annotation table" 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)) mariadb | 2024-03-07 11:35:49 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2024-03-07T11:35:42.905526465Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.369829ms policy-db-migrator | -------------- mariadb | 2024-03-07 11:35:49 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. grafana | logger=migrator t=2024-03-07T11:35:42.913063202Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | mariadb | 2024-03-07 11:35:49 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. grafana | logger=migrator t=2024-03-07T11:35:42.913988548Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=927.247µs policy-db-migrator | mariadb | 2024-03-07 11:35:49 0 [Note] Server socket created on IP: '0.0.0.0'. grafana | logger=migrator t=2024-03-07T11:35:42.919677281Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql mariadb | 2024-03-07 11:35:49 0 [Note] Server socket created on IP: '::'. grafana | logger=migrator t=2024-03-07T11:35:42.92126288Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.585089ms policy-db-migrator | -------------- mariadb | 2024-03-07 11:35:49 0 [Note] mariadbd: ready for connections. grafana | logger=migrator t=2024-03-07T11:35:42.926634307Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 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)) mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution grafana | logger=migrator t=2024-03-07T11:35:42.926897252Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=260.094µs policy-db-migrator | -------------- mariadb | 2024-03-07 11:35:49 0 [Note] InnoDB: Buffer pool(s) load completed at 240307 11:35:49 grafana | logger=migrator t=2024-03-07T11:35:42.933288347Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | mariadb | 2024-03-07 11:35:49 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2024-03-07T11:35:42.939812295Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.523388ms policy-db-migrator | mariadb | 2024-03-07 11:35:49 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) grafana | logger=migrator t=2024-03-07T11:35:42.944819285Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-03-07T11:35:42.945700361Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=880.576µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:42.95174073Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 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-07T11:35:42.952009715Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=270.655µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:42.956988565Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.957618636Z level=info msg="Migration successfully executed" id="Move region to single row" duration=630.651µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.966851793Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-03-07T11:35:42.968653796Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.801893ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:42.974698295Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 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-07T11:35:42.976410846Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.718111ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:42.989130036Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.991363556Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=2.232521ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:42.99821448Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-03-07T11:35:42.999161397Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=946.627µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.003099188Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 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-07T11:35:43.004840458Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.73819ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.012325206Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.014168643Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.844377ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.01897631Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-03-07T11:35:43.019087763Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=112.343µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.02467808Z level=info msg="Executing migration" id="create test_data table" 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-07T11:35:43.026004285Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.328365ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.035000911Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.036546721Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.546251ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.039790546Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-03-07T11:35:43.041391008Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.600512ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.048011552Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 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-07T11:35:43.049049579Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.037457ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.058162478Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.058552668Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=387.9µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.063225711Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-03-07T11:35:43.063863357Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=636.456µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.068990982Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.069121235Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=130.403µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.074311011Z level=info msg="Executing migration" id="create team table" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.075663397Z level=info msg="Migration successfully executed" id="create team table" duration=1.352116ms policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-03-07T11:35:43.082602149Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.083992755Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.395876ms 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-07T11:35:43.091556704Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.092687613Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.132769ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.096930505Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.104517014Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.584218ms policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-03-07T11:35:43.113197831Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2024-03-07T11:35:43.113566621Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=370.68µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.120097922Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.121817097Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.714845ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.12801767Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-03-07T11:35:43.130603078Z level=info msg="Migration successfully executed" id="create team member table" duration=2.595188ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.136718068Z level=info msg="Executing migration" id="add index team_member.org_id" 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-07T11:35:43.137817497Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.098869ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.144145353Z 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-07T11:35:43.146481444Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=2.339181ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.151931757Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-03-07T11:35:43.152900673Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=970.625µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.157310968Z level=info msg="Executing migration" id="Add column email to team table" 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-07T11:35:43.162263318Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.95422ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.21457656Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.219775346Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=5.202986ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.226507893Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-03-07T11:35:43.23211096Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.603737ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.240718906Z level=info msg="Executing migration" id="create dashboard acl 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-07T11:35:43.242338458Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.620683ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.251851468Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.253239964Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.391717ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.261391188Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-03-07T11:35:43.263127713Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.736875ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.337700309Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 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-07T11:35:43.339355052Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.654043ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.354004507Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.356108562Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=2.105546ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.362608462Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-03-07T11:35:43.363593998Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=985.606µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.369812461Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 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-07T11:35:43.371460934Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.647403ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.377904443Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.379534146Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.626773ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.394451097Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-03-07T11:35:43.395244968Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=791.741µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.403119645Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-03-07T11:35:43.403530175Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=410µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.410818467Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.412008738Z level=info msg="Migration successfully executed" id="create tag table" duration=1.190622ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.4197038Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-03-07T11:35:43.422265067Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=2.560238ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.428525541Z level=info msg="Executing migration" id="create login attempt table" 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-07T11:35:43.429294021Z level=info msg="Migration successfully executed" id="create login attempt table" duration=767.8µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.434691593Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.436339566Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.646323ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.443484945Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-03-07T11:35:43.445249411Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.774477ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.451630049Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 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-07T11:35:43.467430724Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=15.794635ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.473203796Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.473832483Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=623.827µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.481841493Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-03-07T11:35:43.484100163Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=2.25802ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.490314036Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 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-07T11:35:43.490626694Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=312.518µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.494574668Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.495718288Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.14313ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.506402599Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-03-07T11:35:43.507381405Z level=info msg="Migration successfully executed" id="create user auth table" duration=985.356µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.512266983Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 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-07T11:35:43.513247039Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=975.496µs grafana | logger=migrator t=2024-03-07T11:35:43.517239194Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.517325487Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=86.613µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.521818815Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.527198136Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.375501ms policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-03-07T11:35:43.532246609Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.537368314Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.120955ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.54254599Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.547966572Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.417762ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.58667601Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-03-07T11:35:43.592844053Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=6.169113ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.597900636Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 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-07T11:35:43.598914332Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.013006ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.60414821Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.61252666Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.37895ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.61859698Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-03-07T11:35:43.619449152Z level=info msg="Migration successfully executed" id="create server_lock table" duration=854.702µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.625604964Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 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-07T11:35:43.626825447Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.219863ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.632868795Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.635401402Z level=info msg="Migration successfully executed" id="create user auth token table" duration=2.533877ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.642855928Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-03-07T11:35:43.644239704Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.385046ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.649691698Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 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-07T11:35:43.65088811Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.192791ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.655281825Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.65661082Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.328575ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.663557122Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-03-07T11:35:43.669718135Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.160703ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.674636694Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.676467092Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.831378ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.683062836Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.684211176Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.15094ms policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-03-07T11:35:43.690801479Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.691999931Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.203962ms 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-07T11:35:43.699269182Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.700744371Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.473919ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.705804924Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.70719354Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.388016ms policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-03-07T11:35:43.712839419Z 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-07T11:35:43.712932971Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=95.002µs 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-07T11:35:43.716796263Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.716888925Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=92.882µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.720908871Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.722125193Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.213032ms policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-03-07T11:35:43.726286093Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.728333616Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=2.050724ms 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-07T11:35:43.734071077Z 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-07T11:35:43.735294509Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.220892ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.739965962Z 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-07T11:35:43.740026874Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=61.442µs policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-03-07T11:35:43.744859861Z 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-07T11:35:43.74634971Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.488279ms 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-07T11:35:43.752208134Z 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-07T11:35:43.753919049Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.710485ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.759247819Z 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-07T11:35:43.760277326Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.029187ms policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-03-07T11:35:43.766690875Z 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-07T11:35:43.767710632Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.019497ms 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-07T11:35:43.772662892Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.780760715Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.099863ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.786537367Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.787304817Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=770.13µs policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-03-07T11:35:43.792695939Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.792818802Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=123.323µs 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-07T11:35:43.797456834Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.798331927Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=874.533µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.802487837Z 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-07T11:35:43.803464372Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=976.115µs policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-03-07T11:35:43.809280825Z 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-07T11:35:43.810821576Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.539811ms grafana | logger=migrator t=2024-03-07T11:35:43.816732021Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-07T11:35:43.816885475Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=152.904µs 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-07T11:35:43.82315131Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.82506467Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.91886ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.831803208Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.833437681Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.633323ms policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-07T11:35:43.840170458Z 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 | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-03-07T11:35:43.841186274Z 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.015306ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.845742634Z 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-07T11:35:43.847338376Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.596042ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.854183516Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-03-07T11:35:43.864166659Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=9.982083ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.869731315Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-03-07T11:35:43.870634329Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=902.154µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.876702659Z 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-07T11:35:43.878329701Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.632613ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.884967056Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-03-07T11:35:43.914046391Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=29.079374ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.919276888Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-03-07T11:35:43.977978262Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=58.700494ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:43.983738574Z 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-07T11:35:43.985724206Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.990923ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:43.993655154Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-03-07T11:35:43.994812895Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.157021ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.002904748Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-03-07T11:35:44.012903116Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.996889ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.01597664Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.022185719Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=6.206059ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.028022602Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-03-07T11:35:44.029117857Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.095065ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.03569536Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-03-07T11:35:44.036870017Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.174787ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.041713516Z 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-07T11:35:44.042885632Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.171066ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.048431941Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-03-07T11:35:44.050233797Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.805396ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.056424544Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-03-07T11:35:44.056599597Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=177.093µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.06242946Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.069233706Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.803266ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.074530341Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-03-07T11:35:44.081692403Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=7.160932ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.086331359Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-03-07T11:35:44.093946837Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=7.615708ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.098121936Z 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-07T11:35:44.098794745Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=672.519µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.104699609Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-03-07T11:35:44.105862826Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.163007ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.115622504Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-03-07T11:35:44.12660047Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=10.977476ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.131035243Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.136036644Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=4.998431ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.141465281Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-03-07T11:35:44.142525206Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.063705ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.145934104Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-03-07T11:35:44.151835088Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.899824ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.155698403Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.161774929Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.073906ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.168447244Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-03-07T11:35:44.168514125Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=67.81µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.171121101Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-03-07T11:35:44.172213847Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.092386ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.175186929Z 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-07T11:35:44.176212024Z 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.024545ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.182420642Z 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 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-03-07T11:35:44.183476677Z 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.055755ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.186938796Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-03-07T11:35:44.187003447Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=65.191µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.191723904Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.197846111Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.122197ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.204956371Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-03-07T11:35:44.211390043Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.432402ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.214447396Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-03-07T11:35:44.220944298Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.490742ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.224698202Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.2344316Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=9.735239ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.23939982Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-07T11:35:44.245882122Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.482142ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.249463993Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 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-07T11:35:44.249541264Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=76.371µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.252825491Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.253670513Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=845.172µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.258048215Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-03-07T11:35:44.267450838Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.394683ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.274390306Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 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-07T11:35:44.274470238Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=75.091µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.277690063Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.285078068Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=7.385175ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.334211855Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-03-07T11:35:44.335199569Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=987.544µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.345638717Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 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-07T11:35:44.351848035Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.208688ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.369032698Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.369823889Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=790.931µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.383486343Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-03-07T11:35:44.385077855Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.586902ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.396890302Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 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-07T11:35:44.404426729Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.537417ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.414837736Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.415642337Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=804.231µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.428008232Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-03-07T11:35:44.429570374Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.557262ms policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-07T11:35:44.442906243Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.444327233Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.42113ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.458643245Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.460258198Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.614903ms policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-03-07T11:35:44.467935517Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.468036948Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=119.442µs 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-07T11:35:44.47314849Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.474638651Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.493141ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.481236095Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.482757046Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.520011ms policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-03-07T11:35:44.486170384Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.486939665Z 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 | 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-07T11:35:44.490602237Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.491050624Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=448.127µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.496316468Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.497310912Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=994.154µs policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-03-07T11:35:44.500342385Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.506921178Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.578333ms 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 grafana | logger=migrator t=2024-03-07T11:35:44.510196594Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.51127994Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.082816ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.516460353Z 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-07T11:35:44.518170587Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.706664ms policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-03-07T11:35:44.521809078Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.523132807Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.326859ms 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-07T11:35:44.526691397Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.527772963Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.080846ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.534268594Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.535459311Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.190307ms policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-03-07T11:35:44.542128446Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.542162316Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=34.651µ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-07T11:35:44.545378862Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.545527344Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=150.003µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.549059744Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.549553231Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=493.477µs policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-03-07T11:35:44.556340927Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.55729822Z level=info msg="Migration successfully executed" id="create data_keys table" duration=957.663µs grafana | logger=migrator t=2024-03-07T11:35:44.560630207Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-03-07T11:35:44.561475969Z level=info msg="Migration successfully executed" id="create secrets table" duration=845.202µs 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-07T11:35:44.564455671Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.595443489Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=30.987588ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.602615251Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.609992235Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.376944ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-03-07T11:35:44.613115629Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.613306892Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=190.623µs policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-03-07T11:35:44.616405446Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.647736019Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=31.330543ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.650807602Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.681824801Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=31.016859ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-03-07T11:35:44.704859986Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.706313537Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.452551ms policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.709732015Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.710849631Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.116986ms policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-07T11:35:44.71574672Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.715984214Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=239.474µs policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-03-07T11:35:44.720749371Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.721654254Z level=info msg="Migration successfully executed" id="create permission table" duration=904.283µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.724573405Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.72560294Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.027305ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-03-07T11:35:44.728987837Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.730977776Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.988679ms 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-07T11:35:44.73625374Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.737260185Z level=info msg="Migration successfully executed" id="create role table" duration=1.006164ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.739935712Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.747850694Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.914512ms policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-07T11:35:44.75177766Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.759672801Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.894501ms 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-07T11:35:44.762578383Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.763727839Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.149286ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.766668081Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.767943189Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.275467ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-03-07T11:35:44.770995401Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.772252949Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.256808ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.775003178Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.775915871Z level=info msg="Migration successfully executed" id="create team role table" duration=911.133µs policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-03-07T11:35:44.778823882Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.780202432Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.37841ms policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-03-07T11:35:44.783461098Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.784705615Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.243437ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.78787652Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.788969056Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.091816ms policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-07T11:35:44.7921059Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.792938062Z level=info msg="Migration successfully executed" id="create user role table" duration=831.632µs policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-03-07T11:35:44.796026235Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.797116551Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.087566ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.800213225Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.801387701Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.171887ms grafana | logger=migrator t=2024-03-07T11:35:44.806014097Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-07T11:35:44.807125033Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.110875ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.810316707Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-03-07T11:35:44.81119096Z level=info msg="Migration successfully executed" id="create builtin role table" duration=873.823µs policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-03-07T11:35:44.814178832Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-03-07T11:35:44.815272068Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.095286ms policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-03-07T11:35:44.818155158Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.819280064Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.124386ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.822202625Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.829966105Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.76312ms policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-07T11:35:44.832958278Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.833732779Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=773.841µs policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-03-07T11:35:44.83666906Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.837457981Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=788.401µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.840317042Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.841426307Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.109026ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-03-07T11:35:44.844571252Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.845653677Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.081255ms 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)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.848760121Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.849558822Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=798.411µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.852682176Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-03-07T11:35:44.853789892Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.107966ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.856785084Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-03-07T11:35:44.864633705Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.848651ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.867390945Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.873481151Z level=info msg="Migration successfully executed" id="permission kind migration" duration=6.089545ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.877181073Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-03-07T11:35:44.887763303Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=10.570379ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.891484375Z level=info msg="Executing migration" id="permission identifier migration" 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-07T11:35:44.90034279Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.858365ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.90385314Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.905682006Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.828456ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.911365466Z level=info msg="Executing migration" id="add permission action scope role_id index" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-03-07T11:35:44.912694645Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.326079ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.916057912Z level=info msg="Executing migration" id="remove permission role_id action scope index" 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-07T11:35:44.917496553Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.438921ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.920992832Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.922021857Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.028335ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.926964677Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-03-07T11:35:44.928227715Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.262448ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.931413729Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 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-07T11:35:44.93147684Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=65.331µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.934665636Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.934704726Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=39.71µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.9406431Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-03-07T11:35:44.941299939Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=654.509µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.945922715Z level=info msg="Executing migration" id="dashboard permissions" 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-07T11:35:44.946574764Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=652.989µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.950037703Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.950838924Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=799.081µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.954194582Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-03-07T11:35:44.954477716Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=284.014µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.959912502Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-03-07T11:35:44.96043275Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=520.608µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.963854348Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.965221818Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.36633ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.969204734Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-03-07T11:35:44.971359154Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=2.11623ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.977683324Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-03-07T11:35:44.989172696Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=11.487412ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:44.992655475Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.992722496Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=65.701µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:44.99513123Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-03-07T11:35:44.996060394Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=930.724µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.003328696Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-03-07T11:35:45.004377711Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.048425ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.0079296Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.010114168Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=2.184738ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.013972949Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-03-07T11:35:45.023054434Z level=info msg="Migration successfully executed" id="add correlation config column" duration=9.081555ms policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-03-07T11:35:45.062833175Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.065014195Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=2.164439ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.070535265Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.071560003Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.024698ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-03-07T11:35:45.074807302Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.097276589Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=22.469597ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.103231377Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.104646413Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.412366ms grafana | logger=migrator t=2024-03-07T11:35:45.108243598Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-03-07T11:35:45.109293147Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.049259ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.112719999Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.113834079Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.11414ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.118468773Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-03-07T11:35:45.119846538Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.376165ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.123847671Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-03-07T11:35:45.124246328Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=398.997µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.128138049Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.129074255Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=935.827µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.13371785Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-03-07T11:35:45.141923468Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.205018ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.145415692Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.146019232Z level=info msg="Migration successfully executed" id="create entity_events table" duration=603.24µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.151087314Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-03-07T11:35:45.151843638Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=756.034µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.156253328Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-03-07T11:35:45.157225856Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.161778498Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.162230596Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.166360871Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-03-07T11:35:45.167143505Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=782.684µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.175560698Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.177446312Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.887384ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.181805571Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-03-07T11:35:45.18393863Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=2.133079ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.189073374Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-03-07T11:35:45.190188594Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.1149ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.193970033Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.194993132Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.020479ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.199028185Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-03-07T11:35:45.200040654Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.012719ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.205083336Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-03-07T11:35:45.205803069Z level=info msg="Migration successfully executed" id="Drop public config table" duration=719.333µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.213138782Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.215100138Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.960976ms policy-db-migrator | msg grafana | logger=migrator t=2024-03-07T11:35:45.251288788Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-03-07T11:35:45.253576189Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=2.287552ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.275801494Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-03-07T11:35:45.27831616Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=2.495065ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.304313823Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-03-07T11:35:45.305716779Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.407756ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.310405274Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.336875457Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=26.471733ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-03-07T11:35:45.340575254Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.349964615Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=9.390821ms policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-03-07T11:35:45.353773665Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.359997658Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.223563ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.365861135Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.366202301Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=325.666µs policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-03-07T11:35:45.370423858Z level=info msg="Executing migration" id="add share column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.379450013Z level=info msg="Migration successfully executed" id="add share column" duration=9.027214ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.383259692Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.383413195Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=155.243µs policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-03-07T11:35:45.387057361Z level=info msg="Executing migration" id="create file table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.387754514Z level=info msg="Migration successfully executed" id="create file table" duration=696.883µs 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-07T11:35:45.392851026Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.395071617Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=2.222681ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.440086427Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.442325858Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=2.236551ms 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-07T11:35:45.447094705Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.448261596Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.167701ms policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.45559885Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.4566797Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.0811ms policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-03-07T11:35:45.462233111Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.462335922Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=101.872µs 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-07T11:35:45.466763693Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.466926766Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=160.853µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.471152893Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.47206007Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=907.467µs 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-07T11:35:45.476738515Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-07T11:35:45.476930979Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=192.884µs policy-db-migrator | grafana | logger=migrator t=2024-03-07T11:35:45.481830158Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | policyadmin: OK: upgrade (1200) grafana | logger=migrator t=2024-03-07T11:35:45.483122861Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.294653ms policy-db-migrator | name version grafana | logger=migrator t=2024-03-07T11:35:45.487062023Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | policyadmin 1200 grafana | logger=migrator t=2024-03-07T11:35:45.498331518Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.270095ms policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-03-07T11:35:45.503385381Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:49 grafana | logger=migrator t=2024-03-07T11:35:45.503826899Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=446.749µs policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:49 grafana | logger=migrator t=2024-03-07T11:35:45.508041655Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:49 grafana | logger=migrator t=2024-03-07T11:35:45.510127393Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=2.086918ms policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:49 grafana | logger=migrator t=2024-03-07T11:35:45.514223208Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:49 grafana | logger=migrator t=2024-03-07T11:35:45.51487113Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=648.602µs policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:49 grafana | logger=migrator t=2024-03-07T11:35:45.518853502Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:49 grafana | logger=migrator t=2024-03-07T11:35:45.519070926Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=220.494µs policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:49 grafana | logger=migrator t=2024-03-07T11:35:45.525919031Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:49 grafana | logger=migrator t=2024-03-07T11:35:45.526742446Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=823.155µs policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:49 grafana | logger=migrator t=2024-03-07T11:35:45.533890846Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:49 grafana | logger=migrator t=2024-03-07T11:35:45.546958884Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=13.067218ms policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:49 grafana | logger=migrator t=2024-03-07T11:35:45.551293613Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:49 grafana | logger=migrator t=2024-03-07T11:35:45.560578683Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=9.284579ms policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.565270658Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.566095443Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=822.345µs policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.569564096Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.643550504Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=73.985168ms policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.64717758Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.648014476Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=836.316µs policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.652466187Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.653326472Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=857.925µs policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.65872667Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.685440717Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=26.713617ms policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.690927367Z level=info msg="Executing migration" id="add origin column to seed_assignment" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.699146287Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=8.21827ms policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.70314557Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.703365904Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=219.044µs policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.706897649Z level=info msg="Executing migration" id="prevent seeding OnCall access" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.707008141Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=110.202µs policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.710680597Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.710917561Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=236.684µs policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.715728859Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:50 grafana | logger=migrator t=2024-03-07T11:35:45.715949303Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=220.314µs policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.719664141Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.719907865Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=243.684µs policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.723672424Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.724604441Z level=info msg="Migration successfully executed" id="create folder table" duration=931.057µs policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.728145696Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.729411339Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.265013ms policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.733931181Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.735141113Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.209182ms policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.739554473Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.739577534Z level=info msg="Migration successfully executed" id="Update folder title length" duration=23.651µs policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.742845723Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.744090486Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.244443ms policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.748771201Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-03-07T11:35:45.749860341Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.08868ms grafana | logger=migrator t=2024-03-07T11:35:45.754023647Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.755250509Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.226062ms policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.76026209Z level=info msg="Executing migration" id="Sync dashboard and folder table" policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.760705628Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=440.358µs policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.76407769Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.764345805Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=268.045µs policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.767759717Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.768848197Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.08849ms policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.772902281Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.774024491Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.11758ms policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.778587775Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:51 grafana | logger=migrator t=2024-03-07T11:35:45.779654524Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.067119ms policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:52 grafana | logger=migrator t=2024-03-07T11:35:45.818281548Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:52 grafana | logger=migrator t=2024-03-07T11:35:45.819599612Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.317604ms policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:52 grafana | logger=migrator t=2024-03-07T11:35:45.82500786Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:52 grafana | logger=migrator t=2024-03-07T11:35:45.826031009Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.022769ms policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:52 grafana | logger=migrator t=2024-03-07T11:35:45.830038302Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:52 grafana | logger=migrator t=2024-03-07T11:35:45.830925938Z level=info msg="Migration successfully executed" id="create anon_device table" duration=887.666µs policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:52 grafana | logger=migrator t=2024-03-07T11:35:45.835365079Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:52 grafana | logger=migrator t=2024-03-07T11:35:45.836565941Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.200402ms policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:52 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:52 grafana | logger=migrator t=2024-03-07T11:35:45.841213695Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:52 grafana | logger=migrator t=2024-03-07T11:35:45.842329206Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.112681ms policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:52 grafana | logger=migrator t=2024-03-07T11:35:45.84584182Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:52 grafana | logger=migrator t=2024-03-07T11:35:45.846791797Z level=info msg="Migration successfully executed" id="create signing_key table" duration=931.127µs policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:52 grafana | logger=migrator t=2024-03-07T11:35:45.850836781Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:52 grafana | logger=migrator t=2024-03-07T11:35:45.852599133Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.761672ms policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:52 grafana | logger=migrator t=2024-03-07T11:35:45.857811158Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.86177527Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=3.964642ms policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.86615904Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.866455595Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=297.295µs policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.870047661Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.877383885Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=7.335404ms policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.882824253Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.883672849Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=851.366µs policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.887258144Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.888390015Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.131071ms policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.892464089Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.893501988Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.037549ms policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.897958629Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.899046809Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.08679ms policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.902701796Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.903878877Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.176261ms policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.907520223Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.90898453Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.462857ms policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.914266676Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:53 grafana | logger=migrator t=2024-03-07T11:35:45.915948757Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.681051ms policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:54 grafana | logger=migrator t=2024-03-07T11:35:45.921402977Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:54 grafana | logger=migrator t=2024-03-07T11:35:45.92214709Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=744.353µs policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0703241135490800u 1 2024-03-07 11:35:54 grafana | logger=migrator t=2024-03-07T11:35:45.927150881Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0703241135490900u 1 2024-03-07 11:35:54 grafana | logger=migrator t=2024-03-07T11:35:45.927595769Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=445.738µs policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0703241135490900u 1 2024-03-07 11:35:54 grafana | logger=migrator t=2024-03-07T11:35:45.93147813Z level=info msg="Executing migration" id="alter kv_store.value to longtext" policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0703241135490900u 1 2024-03-07 11:35:54 grafana | logger=migrator t=2024-03-07T11:35:45.931629193Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=151.563µs policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0703241135490900u 1 2024-03-07 11:35:54 grafana | logger=migrator t=2024-03-07T11:35:45.936245327Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0703241135490900u 1 2024-03-07 11:35:54 grafana | logger=migrator t=2024-03-07T11:35:45.946640776Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=10.396039ms policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0703241135490900u 1 2024-03-07 11:35:54 grafana | logger=migrator t=2024-03-07T11:35:45.950350394Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0703241135490900u 1 2024-03-07 11:35:54 grafana | logger=migrator t=2024-03-07T11:35:45.959359658Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.008704ms policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0703241135490900u 1 2024-03-07 11:35:54 grafana | logger=migrator t=2024-03-07T11:35:45.963924441Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0703241135490900u 1 2024-03-07 11:35:54 grafana | logger=migrator t=2024-03-07T11:35:45.964164366Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=239.854µs policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0703241135490900u 1 2024-03-07 11:35:54 grafana | logger=migrator t=2024-03-07T11:35:45.967615848Z level=info msg="migrations completed" performed=547 skipped=0 duration=4.669851951s policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0703241135490900u 1 2024-03-07 11:35:54 grafana | logger=sqlstore t=2024-03-07T11:35:45.978508507Z level=info msg="Created default admin" user=admin policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0703241135490900u 1 2024-03-07 11:35:54 grafana | logger=sqlstore t=2024-03-07T11:35:45.978713991Z level=info msg="Created default organization" policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0703241135490900u 1 2024-03-07 11:35:54 grafana | logger=secrets t=2024-03-07T11:35:45.983955676Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0703241135491000u 1 2024-03-07 11:35:54 grafana | logger=plugin.store t=2024-03-07T11:35:46.011779083Z level=info msg="Loading plugins..." policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0703241135491000u 1 2024-03-07 11:35:54 grafana | logger=local.finder t=2024-03-07T11:35:46.055424698Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0703241135491000u 1 2024-03-07 11:35:54 grafana | logger=plugin.store t=2024-03-07T11:35:46.055462109Z level=info msg="Plugins loaded" count=55 duration=43.687276ms policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0703241135491000u 1 2024-03-07 11:35:54 grafana | logger=query_data t=2024-03-07T11:35:46.058008505Z level=info msg="Query Service initialization" policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0703241135491000u 1 2024-03-07 11:35:54 grafana | logger=live.push_http t=2024-03-07T11:35:46.061969457Z level=info msg="Live Push Gateway initialization" policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0703241135491000u 1 2024-03-07 11:35:55 grafana | logger=ngalert.migration t=2024-03-07T11:35:46.067420427Z level=info msg=Starting policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0703241135491000u 1 2024-03-07 11:35:55 grafana | logger=ngalert.migration t=2024-03-07T11:35:46.067845574Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0703241135491000u 1 2024-03-07 11:35:55 grafana | logger=ngalert.migration orgID=1 t=2024-03-07T11:35:46.068273112Z level=info msg="Migrating alerts for organisation" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0703241135491000u 1 2024-03-07 11:35:55 grafana | logger=ngalert.migration orgID=1 t=2024-03-07T11:35:46.068915114Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0703241135491100u 1 2024-03-07 11:35:55 grafana | logger=ngalert.migration t=2024-03-07T11:35:46.070674826Z level=info msg="Completed alerting migration" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0703241135491200u 1 2024-03-07 11:35:55 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0703241135491200u 1 2024-03-07 11:35:55 grafana | logger=ngalert.state.manager t=2024-03-07T11:35:46.09780055Z level=info msg="Running in alternative execution of Error/NoData mode" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0703241135491200u 1 2024-03-07 11:35:55 grafana | logger=infra.usagestats.collector t=2024-03-07T11:35:46.099396929Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0703241135491200u 1 2024-03-07 11:35:55 grafana | logger=provisioning.datasources t=2024-03-07T11:35:46.102867592Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=provisioning.alerting t=2024-03-07T11:35:46.116741745Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-03-07T11:35:46.116762705Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-03-07T11:35:46.117134562Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-03-07T11:35:46.118432836Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.state.manager t=2024-03-07T11:35:46.118862814Z level=info msg="State cache has been initialized" states=0 duration=425.268µs grafana | logger=ngalert.multiorg.alertmanager t=2024-03-07T11:35:46.118903674Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.scheduler t=2024-03-07T11:35:46.118934065Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-03-07T11:35:46.118996216Z level=info msg=starting first_tick=2024-03-07T11:35:50Z grafana | logger=provisioning.dashboard t=2024-03-07T11:35:46.119485285Z level=info msg="starting to provision dashboards" grafana | logger=http.server t=2024-03-07T11:35:46.121526092Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana-apiserver t=2024-03-07T11:35:46.52439321Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-03-07T11:35:46.525086763Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=plugins.update.checker t=2024-03-07T11:35:46.970050297Z level=info msg="Update check succeeded" duration=852.952236ms grafana | logger=provisioning.dashboard t=2024-03-07T11:35:46.986071969Z level=info msg="finished to provision dashboards" grafana | logger=sqlstore.transactions t=2024-03-07T11:35:46.991357386Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2024-03-07T11:35:47.001772425Z level=info msg="Update check succeeded" duration=883.9191ms ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing prometheus ... done Removing policy-db-migrator ... done Removing grafana ... done Removing policy-api ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-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.dKN9CmoazO ]] + rsync -av /tmp/tmp.dKN9CmoazO/ /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,741 bytes received 95 bytes 2,695,672.00 bytes/sec total size is 1,347,091 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 2052 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/jenkins16371870002881387768.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins6833926591586172576.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + 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/jenkins15095337991309945583.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-ClAV from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-ClAV/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4517326062925225517.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config3134677247089256673tmp 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/jenkins17894514110394868315.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5261445604239066992.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-ClAV from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-ClAV/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins15981298926771401012.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins573667073811943425.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-ClAV 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-ClAV/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/jenkins14251280798947013408.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-ClAV from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-ClAV/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/293 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-11555 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 823 27439 0 3904 30887 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:bd:fb:c7 brd ff:ff:ff:ff:ff:ff inet 10.30.107.82/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86036sec preferred_lft 86036sec inet6 fe80::f816:3eff:febd:fbc7/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:bf:f9:9f:6d 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-11555) 03/07/24 _x86_64_ (8 CPU) 11:32:23 LINUX RESTART (8 CPU) 11:33:02 tps rtps wtps bread/s bwrtn/s 11:34:01 101.75 23.17 78.58 1198.03 28672.43 11:35:01 119.41 19.76 99.65 2297.48 32780.54 11:36:01 391.23 17.26 373.97 1250.12 82905.32 11:37:01 19.99 0.35 19.64 20.26 22305.00 11:38:01 54.26 1.38 52.87 114.65 24260.07 Average: 137.44 12.35 125.10 975.34 38215.95 11:33:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30170452 31741660 2768768 8.41 67456 1815632 1398140 4.11 831212 1651276 143752 11:35:01 29836236 31766252 3102984 9.42 89352 2134928 1408192 4.14 858592 1922244 149908 11:36:01 27315916 30902280 5623304 17.07 126352 3665612 4208920 12.38 1831844 3348860 136 11:37:01 26800948 30391976 6138272 18.64 126608 3666932 4680652 13.77 2353352 3338228 52 11:38:01 28063068 31590588 4876152 14.80 129196 3636808 1516028 4.46 1190652 3265972 39656 Average: 28437324 31278551 4501896 13.67 107793 2983982 2642386 7.77 1413130 2705316 66701 11:33:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:34:01 lo 1.42 1.42 0.15 0.15 0.00 0.00 0.00 0.00 11:34:01 ens3 50.80 35.55 873.29 6.43 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 lo 4.13 4.13 0.39 0.39 0.00 0.00 0.00 0.00 11:35:01 ens3 62.77 48.63 821.94 9.94 0.00 0.00 0.00 0.00 11:36:01 veth8ffb0d4 0.62 0.67 0.04 0.05 0.00 0.00 0.00 0.00 11:36:01 veth6217c5b 0.00 0.30 0.00 0.02 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 vetha8db1c7 0.43 0.65 0.05 0.30 0.00 0.00 0.00 0.00 11:37:01 veth8ffb0d4 114.53 94.57 46.64 119.04 0.00 0.00 0.00 0.01 11:37:01 veth6217c5b 0.18 0.20 0.02 0.47 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 vetha8db1c7 0.15 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 lo 34.04 34.04 10.40 10.40 0.00 0.00 0.00 0.00 11:38:01 ens3 756.99 500.70 11101.38 110.04 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 6.04 6.04 2.02 2.02 0.00 0.00 0.00 0.00 Average: ens3 90.79 59.54 2073.23 10.88 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-11555) 03/07/24 _x86_64_ (8 CPU) 11:32:23 LINUX RESTART (8 CPU) 11:33:02 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 8.76 0.00 0.72 4.25 0.04 86.22 11:34:01 0 8.79 0.00 0.87 0.39 0.02 89.94 11:34:01 1 3.66 0.00 0.25 0.10 0.03 95.95 11:34:01 2 26.95 0.00 1.48 3.92 0.09 67.56 11:34:01 3 18.13 0.00 1.24 0.32 0.05 80.26 11:34:01 4 1.90 0.00 0.59 6.71 0.03 90.76 11:34:01 5 1.63 0.00 0.25 0.47 0.02 97.63 11:34:01 6 6.79 0.00 0.75 3.88 0.10 88.48 11:34:01 7 2.36 0.00 0.36 18.20 0.03 79.05 11:35:01 all 9.66 0.00 0.84 3.41 0.03 86.07 11:35:01 0 3.98 0.00 0.47 0.33 0.02 95.20 11:35:01 1 5.63 0.00 0.65 10.11 0.05 83.56 11:35:01 2 41.10 0.00 2.52 8.59 0.07 47.72 11:35:01 3 16.97 0.00 1.55 0.23 0.03 81.21 11:35:01 4 1.55 0.00 0.40 0.65 0.02 97.38 11:35:01 5 1.89 0.00 0.40 1.89 0.00 95.83 11:35:01 6 0.72 0.00 0.28 0.00 0.02 98.98 11:35:01 7 5.44 0.00 0.43 5.44 0.03 88.66 11:36:01 all 11.26 0.00 3.74 7.67 0.07 77.25 11:36:01 0 8.92 0.00 3.33 16.87 0.08 70.80 11:36:01 1 10.37 0.00 3.83 5.76 0.07 79.98 11:36:01 2 13.40 0.00 3.51 3.62 0.07 79.40 11:36:01 3 15.25 0.00 3.25 4.36 0.07 77.08 11:36:01 4 7.89 0.00 4.48 26.06 0.08 61.49 11:36:01 5 11.71 0.00 3.73 1.21 0.07 83.28 11:36:01 6 12.99 0.00 4.36 1.89 0.07 80.69 11:36:01 7 9.55 0.00 3.46 1.65 0.07 85.28 11:37:01 all 12.03 0.00 0.89 1.10 0.04 85.94 11:37:01 0 11.54 0.00 0.70 8.44 0.03 79.28 11:37:01 1 9.71 0.00 0.53 0.00 0.03 89.72 11:37:01 2 15.29 0.00 1.20 0.03 0.05 83.43 11:37:01 3 15.81 0.00 1.17 0.00 0.07 82.96 11:37:01 4 10.64 0.00 0.95 0.10 0.03 88.28 11:37:01 5 13.74 0.00 1.07 0.02 0.03 85.14 11:37:01 6 10.41 0.00 0.77 0.07 0.02 88.74 11:37:01 7 9.13 0.00 0.73 0.10 0.02 90.02 11:38:01 all 5.01 0.00 0.57 1.89 0.03 92.50 11:38:01 0 1.00 0.00 0.57 4.84 0.02 93.57 11:38:01 1 3.77 0.00 0.44 0.18 0.03 95.58 11:38:01 2 2.57 0.00 0.47 0.03 0.03 96.89 11:38:01 3 0.93 0.00 0.40 0.53 0.03 98.10 11:38:01 4 1.64 0.00 0.55 1.90 0.02 95.89 11:38:01 5 1.54 0.00 0.55 6.71 0.02 91.19 11:38:01 6 1.62 0.00 0.45 0.25 0.02 97.67 11:38:01 7 27.06 0.00 1.15 0.63 0.07 71.08 Average: all 9.34 0.00 1.35 3.65 0.04 85.61 Average: 0 6.83 0.00 1.18 6.17 0.03 85.79 Average: 1 6.63 0.00 1.14 3.25 0.04 88.94 Average: 2 19.85 0.00 1.84 3.24 0.06 75.02 Average: 3 13.40 0.00 1.52 1.09 0.05 83.94 Average: 4 4.73 0.00 1.39 7.04 0.04 86.81 Average: 5 6.10 0.00 1.20 2.07 0.03 90.61 Average: 6 6.49 0.00 1.32 1.21 0.04 90.94 Average: 7 10.74 0.00 1.22 5.17 0.04 82.83