Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-13600 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-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-J0h3GvqHPgc5/agent.2247 SSH_AGENT_PID=2249 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_18121806962831203503.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_18121806962831203503.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/policy/docker.git > git init /w/workspace/policy-api-master-project-csit-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/master^{commit} # timeout=10 Checking out Revision 9e33a52d0cf03c0458911330fb72037d01b07a4a (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9e33a52d0cf03c0458911330fb72037d01b07a4a # timeout=30 Commit message: "Add Prometheus config for http and k8s participants in csit" > git rev-list --no-walk 9e33a52d0cf03c0458911330fb72037d01b07a4a # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins119247518124158930.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-1ck6 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-1ck6/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-1ck6/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.3 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.64 botocore==1.34.64 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.2 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.1.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==3.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.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.6.0 python-openstackclient==6.5.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.4.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.10.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/sh /tmp/jenkins1453795128655080236.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.4" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/sh -xe /tmp/jenkins16680375698340407397.sh + /w/workspace/policy-api-master-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-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-master-project-csit-api + rm -rf /w/workspace/policy-api-master-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-master-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.wFEzaU7i2b ++ echo ROBOT_VENV=/tmp/tmp.wFEzaU7i2b +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.wFEzaU7i2b ++ source /tmp/tmp.wFEzaU7i2b/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.wFEzaU7i2b +++ export VIRTUAL_ENV +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.wFEzaU7i2b/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.wFEzaU7i2b) ' '!=' x ']' +++ PS1='(tmp.wFEzaU7i2b) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-master-project-csit-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.wFEzaU7i2b/src/onap ++ rm -rf /tmp/tmp.wFEzaU7i2b/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Installing python confluent-kafka library' Installing python confluent-kafka library ++ python3 -m pip install -qq confluent-kafka ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 confluent-kafka==2.3.0 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==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.wFEzaU7i2b/bin/activate + '[' -z /tmp/tmp.wFEzaU7i2b/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.wFEzaU7i2b/bin/activate ++ deactivate nondestructive ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-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.wFEzaU7i2b ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.wFEzaU7i2b/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.wFEzaU7i2b) ' ++ '[' 'x(tmp.wFEzaU7i2b) ' '!=' x ']' ++ PS1='(tmp.wFEzaU7i2b) (tmp.wFEzaU7i2b) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + export TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.gMjjQvhHVq + cd /tmp/tmp.gMjjQvhHVq + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-api/.gitreview +++ GERRIT_BRANCH=master +++ echo GERRIT_BRANCH=master GERRIT_BRANCH=master +++ rm -rf /w/workspace/policy-api-master-project-csit-api/models +++ mkdir /w/workspace/policy-api-master-project-csit-api/models +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-api/models Cloning into '/w/workspace/policy-api-master-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-master-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-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-master-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:3.1.2-SNAPSHOT)... 3.1.2-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:37b4f26d0170f90ca974aea8100c4fea8bf2a2b3b5cdb1e4e7c97492d3a4ad6a Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.2-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.2-SNAPSHOT)... 3.1.2-SNAPSHOT: Pulling from onap/policy-api Digest: sha256:fdc9aa26830be0af882248f5f576f0e9466b8e17ff432e8618d01432efa85803 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.2-SNAPSHOT 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 mariadb ... Creating prometheus ... 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-master-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-master-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 11 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 16 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 21 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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-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-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:22:27 up 15 min, 0 users, load average: 2.27, 1.23, 0.63 Tasks: 171 total, 1 running, 101 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.6 us, 0.6 sy, 0.0 ni, 92.7 id, 4.0 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.4G 25G 1.0M 4.2G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 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 d11da7d9445c policy-api 0.10% 490.8MiB / 31.41GiB 1.53% 999kB / 710kB 0B / 0B 56 666d99683c8a grafana 0.05% 60.29MiB / 31.41GiB 0.19% 18.5kB / 3.31kB 0B / 24.8MB 14 6d62f4f491e8 mariadb 0.02% 100MiB / 31.41GiB 0.31% 985kB / 1.18MB 10.9MB / 67.8MB 27 7677c227338a prometheus 0.09% 18.62MiB / 31.41GiB 0.06% 1.38kB / 0B 102kB / 0B 12 + echo + cd /tmp/tmp.gMjjQvhHVq + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 22 tests, 22 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 9 tests, 9 passed, 0 failed ============================================================================== api | PASS | 31 tests, 31 passed, 0 failed ============================================================================== Output: /tmp/tmp.gMjjQvhHVq/output.xml Log: /tmp/tmp.gMjjQvhHVq/log.html Report: /tmp/tmp.gMjjQvhHVq/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-master-project-csit-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:23:38 up 16 min, 0 users, load average: 0.76, 1.00, 0.60 Tasks: 169 total, 1 running, 99 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.7 us, 0.5 sy, 0.0 ni, 93.0 id, 3.8 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.1G 25G 1.0M 4.2G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 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 d11da7d9445c policy-api 11.98% 1.173GiB / 31.41GiB 3.73% 7.01MB / 2.59MB 0B / 0B 56 666d99683c8a grafana 0.15% 66.16MiB / 31.41GiB 0.21% 19.7kB / 4.54kB 0B / 24.8MB 14 6d62f4f491e8 mariadb 0.02% 101MiB / 31.41GiB 0.31% 2.39MB / 7.04MB 10.9MB / 68.1MB 18 7677c227338a prometheus 0.24% 25.02MiB / 31.41GiB 0.08% 102kB / 7.41kB 102kB / 0B 13 + echo + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose ++ cd /w/workspace/policy-api-master-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-16T11:21:58.652939256Z level=info msg="Starting Grafana" version=10.4.0 commit=03f502a94d17f7dc4e6c34acdf8428aedd986e4c branch=HEAD compiled=2024-03-16T11:21:58Z grafana | logger=settings t=2024-03-16T11:21:58.653337597Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-03-16T11:21:58.653356517Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-03-16T11:21:58.653362967Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-03-16T11:21:58.653367887Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-03-16T11:21:58.653372558Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-16T11:21:58.653377428Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-16T11:21:58.653382098Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-03-16T11:21:58.653389538Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-03-16T11:21:58.653395208Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-03-16T11:21:58.653403438Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-16T11:21:58.653408118Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-16T11:21:58.653413159Z level=info msg=Target target=[all] grafana | logger=settings t=2024-03-16T11:21:58.653426509Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-03-16T11:21:58.653433739Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-03-16T11:21:58.653439139Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-03-16T11:21:58.653445179Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-03-16T11:21:58.65345177Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-03-16T11:21:58.6534586Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-03-16T11:21:58.653881701Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-03-16T11:21:58.653909302Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-03-16T11:21:58.654881207Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-03-16T11:21:58.656253062Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-03-16T11:21:58.657423983Z level=info msg="Migration successfully executed" id="create migration_log table" duration=1.169201ms grafana | logger=migrator t=2024-03-16T11:21:58.661222222Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-03-16T11:21:58.661792206Z level=info msg="Migration successfully executed" id="create user table" duration=571.325µs grafana | logger=migrator t=2024-03-16T11:21:58.666956831Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-03-16T11:21:58.667549266Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=592.275µs grafana | logger=migrator t=2024-03-16T11:21:58.670657997Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-03-16T11:21:58.671842058Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.1834ms grafana | logger=migrator t=2024-03-16T11:21:58.67577277Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-03-16T11:21:58.67656977Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=796.26µs grafana | logger=migrator t=2024-03-16T11:21:58.679736282Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-03-16T11:21:58.680382599Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=646.137µs grafana | logger=migrator t=2024-03-16T11:21:58.685019269Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-03-16T11:21:58.687507654Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.488065ms grafana | logger=migrator t=2024-03-16T11:21:58.690699517Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-03-16T11:21:58.691629751Z level=info msg="Migration successfully executed" id="create user table v2" duration=930.244µs grafana | logger=migrator t=2024-03-16T11:21:58.694563408Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-03-16T11:21:58.695337008Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=770.92µs grafana | logger=migrator t=2024-03-16T11:21:58.702094743Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-03-16T11:21:58.703210682Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.112019ms grafana | logger=migrator t=2024-03-16T11:21:58.706318993Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-03-16T11:21:58.706932609Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=613.556µs grafana | logger=migrator t=2024-03-16T11:21:58.710579804Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-03-16T11:21:58.711370204Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=791.5µs grafana | logger=migrator t=2024-03-16T11:21:58.717239427Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-03-16T11:21:58.71890203Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.662503ms grafana | logger=migrator t=2024-03-16T11:21:58.722058822Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-03-16T11:21:58.722103153Z level=info msg="Migration successfully executed" id="Update user table charset" duration=50.202µs grafana | logger=migrator t=2024-03-16T11:21:58.7250875Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-03-16T11:21:58.726193339Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.105609ms grafana | logger=migrator t=2024-03-16T11:21:58.729170236Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-03-16T11:21:58.729494875Z level=info msg="Migration successfully executed" id="Add missing user data" duration=324.859µs grafana | logger=migrator t=2024-03-16T11:21:58.73584628Z level=info msg="Executing migration" id="Add is_disabled column to user" mariadb | 2024-03-16 11:21:59+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-16 11:22:00+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-03-16 11:22:00+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-16 11:22:00+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-03-16 11:22:00 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-16 11:22:00 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-16 11:22:00 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-16 11:22:01+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-03-16 11:22:01+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-03-16 11:22:01+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-03-16 11:22:01 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2024-03-16 11:22:01 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-16 11:22:01 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-16 11:22:01 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-16 11:22:01 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-16 11:22:01 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-16 11:22:01 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-16 11:22:01 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-03-16 11:22:01 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-03-16 11:22:01 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-03-16 11:22:01 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-03-16 11:22:01 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-03-16 11:22:01 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-03-16 11:22:01 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-03-16 11:22:01 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-03-16 11:22:01 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-03-16 11:22:01 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. grafana | logger=migrator t=2024-03-16T11:21:58.737532844Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.689054ms grafana | logger=migrator t=2024-03-16T11:21:58.740756347Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-03-16T11:21:58.741488686Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=732.539µs grafana | logger=migrator t=2024-03-16T11:21:58.744535696Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-03-16T11:21:58.745684246Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.148409ms grafana | logger=migrator t=2024-03-16T11:21:58.748845458Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-03-16T11:21:58.757306467Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=8.459759ms grafana | logger=migrator t=2024-03-16T11:21:58.763234861Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-03-16T11:21:58.764472633Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.238832ms grafana | logger=migrator t=2024-03-16T11:21:58.767755119Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-03-16T11:21:58.767942233Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=187.524µs grafana | logger=migrator t=2024-03-16T11:21:58.771065165Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-03-16T11:21:58.771839295Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=773.63µs grafana | logger=migrator t=2024-03-16T11:21:58.775263544Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-03-16T11:21:58.776127086Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=861.002µs grafana | logger=migrator t=2024-03-16T11:21:58.782633355Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-03-16T11:21:58.783741804Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.107669ms grafana | logger=migrator t=2024-03-16T11:21:58.787250255Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-03-16T11:21:58.788483587Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.233132ms grafana | logger=migrator t=2024-03-16T11:21:58.79514368Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-03-16T11:21:58.79589894Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=758.05µs grafana | logger=migrator t=2024-03-16T11:21:58.799195845Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-03-16T11:21:58.800283103Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.086978ms grafana | logger=migrator t=2024-03-16T11:21:58.803687662Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-03-16T11:21:58.803725193Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=38.311µs grafana | logger=migrator t=2024-03-16T11:21:58.807198113Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-03-16T11:21:58.807927622Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=729.359µs grafana | logger=migrator t=2024-03-16T11:21:58.813183059Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-03-16T11:21:58.813859326Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=676.937µs grafana | logger=migrator t=2024-03-16T11:21:58.817171752Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-03-16T11:21:58.818174898Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.002476ms grafana | logger=migrator t=2024-03-16T11:21:58.821558776Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-03-16T11:21:58.822512051Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=952.915µs grafana | logger=migrator t=2024-03-16T11:21:58.828086896Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-16T11:21:58.831441043Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.351567ms grafana | logger=migrator t=2024-03-16T11:21:58.834455991Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-03-16T11:21:58.835374675Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=918.224µs grafana | logger=migrator t=2024-03-16T11:21:58.838609699Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-03-16T11:21:58.839361638Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=751.539µs grafana | logger=migrator t=2024-03-16T11:21:58.844639506Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-03-16T11:21:58.845368685Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=728.408µs grafana | logger=migrator t=2024-03-16T11:21:58.847462739Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-03-16T11:21:58.848188378Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=725.419µs grafana | logger=migrator t=2024-03-16T11:21:58.851290278Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-03-16T11:21:58.852421758Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.13113ms grafana | logger=migrator t=2024-03-16T11:21:58.857845929Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-03-16T11:21:58.858421424Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=575.015µs grafana | logger=migrator t=2024-03-16T11:21:58.861642847Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-03-16T11:21:58.862406467Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=763.14µs grafana | logger=migrator t=2024-03-16T11:21:58.865717633Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-03-16T11:21:58.866264398Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=548.235µs grafana | logger=migrator t=2024-03-16T11:21:58.869463581Z level=info msg="Executing migration" id="create star table" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.8) policy-api | policy-api | [2024-03-16T11:22:12.966+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.10 with PID 20 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-03-16T11:22:12.968+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-03-16T11:22:14.657+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-03-16T11:22:14.755+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 89 ms. Found 6 JPA repository interfaces. policy-api | [2024-03-16T11:22:15.161+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-03-16T11:22:15.161+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-03-16T11:22:15.831+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-03-16T11:22:15.840+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-03-16T11:22:15.843+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-03-16T11:22:15.843+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.18] policy-api | [2024-03-16T11:22:15.930+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-03-16T11:22:15.930+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2901 ms policy-api | [2024-03-16T11:22:16.370+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-03-16T11:22:16.446+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-03-16T11:22:16.449+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-03-16T11:22:16.492+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-03-16T11:22:16.873+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-03-16T11:22:16.892+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-03-16T11:22:16.985+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3f4f5330 policy-api | [2024-03-16T11:22:16.986+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-03-16T11:22:18.876+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-03-16T11:22:18.879+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-03-16T11:22:19.861+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-03-16T11:22:20.649+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-03-16T11:22:21.774+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-16T11:22:21.975+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@4bbb00a4, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@543d242e, org.springframework.security.web.context.SecurityContextHolderFilter@62c4ad40, org.springframework.security.web.header.HeaderWriterFilter@4567dcbc, org.springframework.security.web.authentication.logout.LogoutFilter@53d257e7, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@58d291c1, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@9bc10bd, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2e26841f, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5f967ad3, org.springframework.security.web.access.ExceptionTranslationFilter@6aca85da, org.springframework.security.web.access.intercept.AuthorizationFilter@2f84848e] policy-api | [2024-03-16T11:22:22.879+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-03-16T11:22:22.973+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-03-16T11:22:22.997+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-03-16T11:22:23.012+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.759 seconds (process running for 11.35) policy-api | [2024-03-16T11:22:30.103+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-03-16T11:22:30.103+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-03-16T11:22:30.105+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2024-03-16T11:22:32.915+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] grafana | logger=migrator t=2024-03-16T11:21:58.870158649Z level=info msg="Migration successfully executed" id="create star table" duration=694.838µs grafana | logger=migrator t=2024-03-16T11:21:58.875135708Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-03-16T11:21:58.87599583Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=858.542µs grafana | logger=migrator t=2024-03-16T11:21:58.879175963Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-03-16T11:21:58.880318092Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.141589ms grafana | logger=migrator t=2024-03-16T11:21:58.883617048Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-03-16T11:21:58.884396848Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=780.76µs grafana | logger=migrator t=2024-03-16T11:21:58.890046045Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-03-16T11:21:58.891193725Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.14817ms grafana | logger=migrator t=2024-03-16T11:21:58.8944591Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-03-16T11:21:58.895711002Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.251182ms grafana | logger=migrator t=2024-03-16T11:21:58.898723621Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-03-16T11:21:58.899559012Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=836.541µs grafana | logger=migrator t=2024-03-16T11:21:58.90255579Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-03-16T11:21:58.90333388Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=777.94µs grafana | logger=migrator t=2024-03-16T11:21:58.908438433Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-03-16T11:21:58.908477904Z level=info msg="Migration successfully executed" id="Update org table charset" duration=42.601µs grafana | logger=migrator t=2024-03-16T11:21:58.911684157Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-03-16T11:21:58.911743409Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=61.432µs grafana | logger=migrator t=2024-03-16T11:21:58.915225079Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-03-16T11:21:58.915518647Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=292.837µs grafana | logger=migrator t=2024-03-16T11:21:58.918882304Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-03-16T11:21:58.920155287Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.272253ms grafana | logger=migrator t=2024-03-16T11:21:58.925037474Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-03-16T11:21:58.925889706Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=852.142µs grafana | logger=migrator t=2024-03-16T11:21:58.928834563Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-03-16T11:21:58.929667524Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=832.421µs grafana | logger=migrator t=2024-03-16T11:21:58.932749844Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-03-16T11:21:58.933463833Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=713.889µs grafana | logger=migrator t=2024-03-16T11:21:58.936397409Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-03-16T11:21:58.937249431Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=851.042µs grafana | logger=migrator t=2024-03-16T11:21:58.942437196Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-03-16T11:21:58.943618757Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.181011ms grafana | logger=migrator t=2024-03-16T11:21:58.946978174Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-03-16T11:21:58.955024213Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=8.047299ms grafana | logger=migrator t=2024-03-16T11:21:58.958052881Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-03-16T11:21:58.958610416Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=557.155µs grafana | logger=migrator t=2024-03-16T11:21:58.962910748Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-03-16T11:21:58.963533554Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=622.766µs grafana | logger=migrator t=2024-03-16T11:21:58.966588313Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-03-16T11:21:58.967929548Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.340255ms grafana | logger=migrator t=2024-03-16T11:21:58.971543442Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-03-16T11:21:58.972073146Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=530.004µs grafana | logger=migrator t=2024-03-16T11:21:58.977829395Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-03-16T11:21:58.978684198Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=854.573µs grafana | logger=migrator t=2024-03-16T11:21:58.981617704Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-03-16T11:21:58.981689756Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=72.852µs grafana | logger=migrator t=2024-03-16T11:21:58.98455171Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-03-16T11:21:58.987475306Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.925696ms grafana | logger=migrator t=2024-03-16T11:21:58.993062921Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-03-16T11:21:58.99495015Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.887159ms grafana | logger=migrator t=2024-03-16T11:21:58.997784453Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-03-16T11:21:58.999764885Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.980072ms policy-api | [2024-03-16T11:22:33.051+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-03-16T11:22:33.361+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-03-16T11:22:34.752+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-api | [2024-03-16T11:22:36.910+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-03-16T11:22:37.230+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-03-16T11:22:37.451+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-03-16T11:22:37.706+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-03-16T11:22:37.944+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-03-16T11:22:38.179+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-16T11:21:59.002628039Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-03-16T11:21:59.003477848Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=849.469µs grafana | logger=migrator t=2024-03-16T11:21:59.009296624Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-03-16T11:21:59.01233263Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.034616ms grafana | logger=migrator t=2024-03-16T11:21:59.015791554Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-03-16T11:21:59.01701339Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.221537ms grafana | logger=migrator t=2024-03-16T11:21:59.020402063Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-03-16T11:21:59.02116921Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=766.757µs grafana | logger=migrator t=2024-03-16T11:21:59.026933043Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-03-16T11:21:59.026966894Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=35.531µs grafana | logger=migrator t=2024-03-16T11:21:59.030347137Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-03-16T11:21:59.030390598Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=43.731µs grafana | logger=migrator t=2024-03-16T11:21:59.03374897Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-03-16T11:21:59.036912638Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.163287ms grafana | logger=migrator t=2024-03-16T11:21:59.043469848Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-03-16T11:21:59.045484051Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.013943ms grafana | logger=migrator t=2024-03-16T11:21:59.04866301Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-03-16T11:21:59.050717864Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.054594ms grafana | logger=migrator t=2024-03-16T11:21:59.054427033Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-03-16T11:21:59.056497128Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.067135ms grafana | logger=migrator t=2024-03-16T11:21:59.059789398Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-03-16T11:21:59.060018123Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=229.965µs grafana | logger=migrator t=2024-03-16T11:21:59.06543868Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-03-16T11:21:59.066251777Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=813.337µs grafana | logger=migrator t=2024-03-16T11:21:59.069509497Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-03-16T11:21:59.070800285Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.292928ms grafana | logger=migrator t=2024-03-16T11:21:59.074262109Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-03-16T11:21:59.07430391Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=42.161µs grafana | logger=migrator t=2024-03-16T11:21:59.08037383Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-03-16T11:21:59.081173897Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=799.997µs grafana | logger=migrator t=2024-03-16T11:21:59.085203814Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-03-16T11:21:59.086273597Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.070083ms grafana | logger=migrator t=2024-03-16T11:21:59.089750141Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-16T11:21:59.096106308Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.356547ms grafana | logger=migrator t=2024-03-16T11:21:59.101645637Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-03-16T11:21:59.102373302Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=727.316µs grafana | logger=migrator t=2024-03-16T11:21:59.105670793Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-03-16T11:21:59.10645962Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=788.927µs grafana | logger=migrator t=2024-03-16T11:21:59.109665089Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-03-16T11:21:59.110444415Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=778.766µs grafana | logger=migrator t=2024-03-16T11:21:59.114810069Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-03-16T11:21:59.115134226Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=324.397µs grafana | logger=migrator t=2024-03-16T11:21:59.118398566Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-03-16T11:21:59.119213473Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=814.907µs grafana | logger=migrator t=2024-03-16T11:21:59.12279557Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-03-16T11:21:59.125992589Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.195929ms grafana | logger=migrator t=2024-03-16T11:21:59.130122738Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-03-16T11:21:59.130910734Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=786.826µs grafana | logger=migrator t=2024-03-16T11:21:59.134356418Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-03-16T11:21:59.134525902Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=169.614µs grafana | logger=migrator t=2024-03-16T11:21:59.13816151Z level=info msg="Executing migration" id="delete stars for deleted dashboards" mariadb | 2024-03-16 11:22:01 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-03-16 11:22:01 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-16 11:22:02+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-03-16 11:22:04+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-03-16 11:22:04+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2024-03-16 11:22:04+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2024-03-16 11:22:04+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 | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' grafana | logger=migrator t=2024-03-16T11:21:59.138407965Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=248.825µs grafana | logger=migrator t=2024-03-16T11:21:59.143570796Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-03-16T11:21:59.144757822Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.186726ms grafana | logger=migrator t=2024-03-16T11:21:59.148841839Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-03-16T11:21:59.152171661Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.328982ms grafana | logger=migrator t=2024-03-16T11:21:59.15589057Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-03-16T11:21:59.156940313Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.049373ms grafana | logger=migrator t=2024-03-16T11:21:59.161722336Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-03-16T11:21:59.162538783Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=815.667µs grafana | logger=migrator t=2024-03-16T11:21:59.16566155Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-03-16T11:21:59.166492628Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=830.838µs grafana | logger=migrator t=2024-03-16T11:21:59.169907921Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-03-16T11:21:59.17079268Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=884.539µs grafana | logger=migrator t=2024-03-16T11:21:59.175136033Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-03-16T11:21:59.176272268Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.134225ms grafana | logger=migrator t=2024-03-16T11:21:59.180151541Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-03-16T11:21:59.186521448Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=6.369897ms grafana | logger=migrator t=2024-03-16T11:21:59.189706746Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-03-16T11:21:59.190660787Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=953.51µs grafana | logger=migrator t=2024-03-16T11:21:59.194825176Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-03-16T11:21:59.195708365Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=882.749µs grafana | logger=migrator t=2024-03-16T11:21:59.198988125Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-03-16T11:21:59.199899435Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=910.77µs grafana | logger=migrator t=2024-03-16T11:21:59.20293471Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-03-16T11:21:59.203506052Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=572.512µs grafana | logger=migrator t=2024-03-16T11:21:59.207209102Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-03-16T11:21:59.20944218Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.232377ms grafana | logger=migrator t=2024-03-16T11:21:59.212556736Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-03-16T11:21:59.214837945Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.280589ms grafana | logger=migrator t=2024-03-16T11:21:59.217919471Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-03-16T11:21:59.217945692Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=26.921µs grafana | logger=migrator t=2024-03-16T11:21:59.221949628Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-03-16T11:21:59.222150552Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=200.934µs grafana | logger=migrator t=2024-03-16T11:21:59.225281729Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-03-16T11:21:59.227578359Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.29608ms grafana | logger=migrator t=2024-03-16T11:21:59.230244956Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-03-16T11:21:59.23043965Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=194.724µs grafana | logger=migrator t=2024-03-16T11:21:59.233313752Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-03-16T11:21:59.233465135Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=151.643µs grafana | logger=migrator t=2024-03-16T11:21:59.237261766Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-03-16T11:21:59.240906225Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.640279ms grafana | logger=migrator t=2024-03-16T11:21:59.24439965Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-03-16T11:21:59.244720376Z level=info msg="Migration successfully executed" id="Update uid value" duration=321.086µs grafana | logger=migrator t=2024-03-16T11:21:59.248213291Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-03-16T11:21:59.248958497Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=744.886µs grafana | logger=migrator t=2024-03-16T11:21:59.252609086Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-03-16T11:21:59.253337791Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=728.395µs grafana | logger=migrator t=2024-03-16T11:21:59.25655626Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-03-16T11:21:59.257851148Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.296408ms grafana | logger=migrator t=2024-03-16T11:21:59.261323493Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-03-16T11:21:59.26261598Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.292177ms grafana | logger=migrator t=2024-03-16T11:21:59.267203379Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-03-16T11:21:59.267958785Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=755.436µs grafana | logger=migrator t=2024-03-16T11:21:59.271268896Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-03-16T11:21:59.272341569Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.071043ms grafana | logger=migrator t=2024-03-16T11:21:59.275986787Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-03-16T11:21:59.277145852Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.158965ms grafana | logger=migrator t=2024-03-16T11:21:59.28124505Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-03-16T11:21:59.281953825Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=708.505µs grafana | logger=migrator t=2024-03-16T11:21:59.284822797Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-03-16T11:21:59.285522282Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=699.205µs grafana | logger=migrator t=2024-03-16T11:21:59.289499107Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-03-16T11:21:59.300523394Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.025437ms grafana | logger=migrator t=2024-03-16T11:21:59.303542239Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-03-16T11:21:59.30406656Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=524.461µs grafana | logger=migrator t=2024-03-16T11:21:59.307208547Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-03-16T11:21:59.307756039Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=547.482µs grafana | logger=migrator t=2024-03-16T11:21:59.311587781Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-03-16T11:21:59.312308277Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=720.166µs grafana | logger=migrator t=2024-03-16T11:21:59.315056596Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-03-16T11:21:59.315827182Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=770.526µs grafana | logger=migrator t=2024-03-16T11:21:59.318775846Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-03-16T11:21:59.319366498Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=590.213µs grafana | logger=migrator t=2024-03-16T11:21:59.323509017Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-03-16T11:21:59.324281024Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=771.677µs grafana | logger=migrator t=2024-03-16T11:21:59.327627065Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-03-16T11:21:59.327647756Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=21.341µs grafana | logger=migrator t=2024-03-16T11:21:59.330535158Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-03-16T11:21:59.33294488Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.409212ms grafana | logger=migrator t=2024-03-16T11:21:59.336805782Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-03-16T11:21:59.339237295Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.429102ms grafana | logger=migrator t=2024-03-16T11:21:59.34230089Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-03-16T11:21:59.342453894Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=153.304µs grafana | logger=migrator t=2024-03-16T11:21:59.345519629Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-03-16T11:21:59.347967742Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.447593ms grafana | logger=migrator t=2024-03-16T11:21:59.351026348Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-03-16T11:21:59.353505301Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.478674ms grafana | logger=migrator t=2024-03-16T11:21:59.357384074Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-03-16T11:21:59.358104709Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=720.135µs grafana | logger=migrator t=2024-03-16T11:21:59.361176465Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-03-16T11:21:59.361673826Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=495.931µs grafana | logger=migrator t=2024-03-16T11:21:59.36463549Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-03-16T11:21:59.365436967Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=801.568µs grafana | logger=migrator t=2024-03-16T11:21:59.369668678Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-03-16T11:21:59.370825392Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.153335ms grafana | logger=migrator t=2024-03-16T11:21:59.374356588Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-03-16T11:21:59.375614945Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.257817ms grafana | logger=migrator t=2024-03-16T11:21:59.379408837Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-03-16T11:21:59.380191993Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=784.377µs grafana | logger=migrator t=2024-03-16T11:21:59.384125358Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-03-16T11:21:59.384188779Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=63.931µs grafana | logger=migrator t=2024-03-16T11:21:59.387335857Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-03-16T11:21:59.387372747Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=37.81µs grafana | logger=migrator t=2024-03-16T11:21:59.391005955Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-03-16T11:21:59.395491662Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.484407ms grafana | logger=migrator t=2024-03-16T11:21:59.399531788Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-03-16T11:21:59.402210056Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.678058ms grafana | logger=migrator t=2024-03-16T11:21:59.405370304Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-03-16T11:21:59.405434045Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=64.361µs grafana | logger=migrator t=2024-03-16T11:21:59.407696424Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-03-16T11:21:59.408405349Z level=info msg="Migration successfully executed" id="create quota table v1" duration=708.726µs grafana | logger=migrator t=2024-03-16T11:21:59.41171614Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-03-16T11:21:59.412480916Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=763.976µs grafana | logger=migrator t=2024-03-16T11:21:59.416676926Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-03-16T11:21:59.416705017Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=29.181µs grafana | logger=migrator t=2024-03-16T11:21:59.419259202Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-03-16T11:21:59.420042928Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=783.436µs grafana | logger=migrator t=2024-03-16T11:21:59.423202406Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-03-16T11:21:59.424481484Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.278048ms grafana | logger=migrator t=2024-03-16T11:21:59.428705424Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-03-16T11:21:59.432638809Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.935095ms grafana | logger=migrator t=2024-03-16T11:21:59.436081763Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-03-16T11:21:59.436106943Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=26.81µs grafana | logger=migrator t=2024-03-16T11:21:59.439191159Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-03-16T11:21:59.440132219Z level=info msg="Migration successfully executed" id="create session table" duration=939.47µs grafana | logger=migrator t=2024-03-16T11:21:59.444389481Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-03-16T11:21:59.444510633Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=121.762µs grafana | logger=migrator t=2024-03-16T11:21:59.447924857Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-03-16T11:21:59.448039729Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=115.052µs grafana | logger=migrator t=2024-03-16T11:21:59.451488903Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-03-16T11:21:59.452561796Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.072233ms grafana | logger=migrator t=2024-03-16T11:21:59.456263366Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-03-16T11:21:59.457152065Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=889.269µs grafana | logger=migrator t=2024-03-16T11:21:59.461025928Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-03-16T11:21:59.461051718Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=27.7µs grafana | logger=migrator t=2024-03-16T11:21:59.46345246Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-03-16T11:21:59.46347685Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=25.12µs grafana | logger=migrator t=2024-03-16T11:21:59.466645578Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-03-16T11:21:59.471270478Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.62459ms grafana | logger=migrator t=2024-03-16T11:21:59.475298564Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-03-16T11:21:59.478205956Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.907042ms grafana | logger=migrator t=2024-03-16T11:21:59.481476097Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-03-16T11:21:59.481555248Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=79.401µs grafana | logger=migrator t=2024-03-16T11:21:59.484567683Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-03-16T11:21:59.484644155Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=76.692µs grafana | logger=migrator t=2024-03-16T11:21:59.486992385Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-03-16T11:21:59.487806382Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=813.617µs grafana | logger=migrator t=2024-03-16T11:21:59.491713196Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-03-16T11:21:59.491738827Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=26.211µs grafana | logger=migrator t=2024-03-16T11:21:59.495754143Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-03-16T11:21:59.500314021Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.561008ms grafana | logger=migrator t=2024-03-16T11:21:59.503894468Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-03-16T11:21:59.504040051Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=145.823µs grafana | logger=migrator t=2024-03-16T11:21:59.507882933Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-03-16T11:21:59.510869837Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=2.986674ms grafana | logger=migrator t=2024-03-16T11:21:59.514857073Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-03-16T11:21:59.517896428Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.038645ms grafana | logger=migrator t=2024-03-16T11:21:59.521103927Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-03-16 11:22:05+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-03-16 11:22:05 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: Buffer pool(s) dump completed at 240316 11:22:05 mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: Shutdown completed; log sequence number 323605; transaction id 298 mariadb | 2024-03-16 11:22:05 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-03-16 11:22:05+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-03-16 11:22:05+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-03-16 11:22:05 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-16 11:22:05 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-16 11:22:05 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-16 11:22:05 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: log sequence number 323605; transaction id 299 mariadb | 2024-03-16 11:22:05 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-03-16 11:22:05 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-03-16 11:22:05 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-03-16 11:22:05 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-03-16 11:22:05 0 [Note] Server socket created on IP: '::'. mariadb | 2024-03-16 11:22:05 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-03-16 11:22:05 0 [Note] InnoDB: Buffer pool(s) load completed at 240316 11:22:05 mariadb | 2024-03-16 11:22:05 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-03-16 11:22:06 52 [Warning] Aborted connection 52 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) grafana | logger=migrator t=2024-03-16T11:21:59.521169338Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=65.721µs grafana | logger=migrator t=2024-03-16T11:21:59.525117583Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-03-16T11:21:59.525952431Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=834.468µs grafana | logger=migrator t=2024-03-16T11:21:59.530001868Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-03-16T11:21:59.531305226Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.303018ms grafana | logger=migrator t=2024-03-16T11:21:59.534925023Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-03-16T11:21:59.536748033Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.82266ms grafana | logger=migrator t=2024-03-16T11:21:59.541481214Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-03-16T11:21:59.542332712Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=852.938µs grafana | logger=migrator t=2024-03-16T11:21:59.5459399Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-03-16T11:21:59.546703896Z level=info msg="Migration successfully executed" id="add index alert state" duration=763.416µs grafana | logger=migrator t=2024-03-16T11:21:59.550178531Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-03-16T11:21:59.551469568Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.290607ms grafana | logger=migrator t=2024-03-16T11:21:59.555508585Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-03-16T11:21:59.556154369Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=647.344µs grafana | logger=migrator t=2024-03-16T11:21:59.559504701Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-03-16T11:21:59.560326519Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=821.367µs grafana | logger=migrator t=2024-03-16T11:21:59.564087439Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-03-16T11:21:59.565262374Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.175415ms grafana | logger=migrator t=2024-03-16T11:21:59.570078658Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-03-16T11:21:59.579937629Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=9.864271ms grafana | logger=migrator t=2024-03-16T11:21:59.583158148Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-03-16T11:21:59.583660089Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=500.161µs grafana | logger=migrator t=2024-03-16T11:21:59.586847018Z 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-16T11:21:59.587449931Z 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=602.692µs grafana | logger=migrator t=2024-03-16T11:21:59.591557519Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-03-16T11:21:59.591970028Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=412.278µs grafana | logger=migrator t=2024-03-16T11:21:59.595239618Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-03-16T11:21:59.596015204Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=775.286µs grafana | logger=migrator t=2024-03-16T11:21:59.599933478Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-03-16T11:21:59.601176655Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.242307ms grafana | logger=migrator t=2024-03-16T11:21:59.60513547Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-03-16T11:21:59.609528734Z level=info msg="Migration successfully executed" id="Add column is_default" duration=4.393804ms grafana | logger=migrator t=2024-03-16T11:21:59.612512068Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-03-16T11:21:59.616002153Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.489175ms grafana | logger=migrator t=2024-03-16T11:21:59.619175311Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-03-16T11:21:59.622600375Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.424594ms grafana | logger=migrator t=2024-03-16T11:21:59.626309764Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-03-16T11:21:59.629778059Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.468015ms grafana | logger=migrator t=2024-03-16T11:21:59.632843865Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-03-16T11:21:59.633633661Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=789.256µs grafana | logger=migrator t=2024-03-16T11:21:59.636603635Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-03-16T11:21:59.636628706Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=25.791µs grafana | logger=migrator t=2024-03-16T11:21:59.640436237Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-03-16T11:21:59.640463958Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=28.261µs grafana | logger=migrator t=2024-03-16T11:21:59.642851079Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-03-16T11:21:59.644026014Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.174325ms grafana | logger=migrator t=2024-03-16T11:21:59.647161402Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-03-16T11:21:59.648500821Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.338758ms grafana | logger=migrator t=2024-03-16T11:21:59.652508877Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-03-16T11:21:59.653178391Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=669.355µs grafana | logger=migrator t=2024-03-16T11:21:59.655537991Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-03-16T11:21:59.656296458Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=756.707µs grafana | logger=migrator t=2024-03-16T11:21:59.659317163Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-03-16T11:21:59.660163961Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=846.498µs grafana | logger=migrator t=2024-03-16T11:21:59.664061564Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-03-16T11:21:59.667742243Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.679839ms grafana | logger=migrator t=2024-03-16T11:21:59.670656196Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-03-16T11:21:59.674293454Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.635648ms grafana | logger=migrator t=2024-03-16T11:21:59.677281268Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-03-16T11:21:59.677478262Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=197.414µs grafana | logger=migrator t=2024-03-16T11:21:59.681631231Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-03-16T11:21:59.68249763Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=865.739µs grafana | logger=migrator t=2024-03-16T11:21:59.685636587Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-03-16T11:21:59.686912715Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.278818ms grafana | logger=migrator t=2024-03-16T11:21:59.690103583Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-03-16T11:21:59.695862207Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.759224ms grafana | logger=migrator t=2024-03-16T11:21:59.699711259Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-03-16T11:21:59.699799311Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=88.592µs grafana | logger=migrator t=2024-03-16T11:21:59.702790525Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-03-16T11:21:59.703726835Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=935.94µs grafana | logger=migrator t=2024-03-16T11:21:59.707693421Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-03-16T11:21:59.709454158Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.765268ms grafana | logger=migrator t=2024-03-16T11:21:59.713117507Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-03-16T11:21:59.713202059Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=84.852µs grafana | logger=migrator t=2024-03-16T11:21:59.717392199Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-03-16T11:21:59.718304998Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=912.389µs grafana | logger=migrator t=2024-03-16T11:21:59.721776393Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-03-16T11:21:59.72305766Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.280517ms grafana | logger=migrator t=2024-03-16T11:21:59.726626067Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-03-16T11:21:59.72815809Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.532153ms grafana | logger=migrator t=2024-03-16T11:21:59.73236816Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-03-16T11:21:59.733819401Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.450501ms grafana | logger=migrator t=2024-03-16T11:21:59.738075663Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-03-16T11:21:59.739288379Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.212857ms grafana | logger=migrator t=2024-03-16T11:21:59.742653011Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-03-16T11:21:59.743767445Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.114234ms grafana | logger=migrator t=2024-03-16T11:21:59.74772602Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-03-16T11:21:59.747867133Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=138.523µs grafana | logger=migrator t=2024-03-16T11:21:59.750833656Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-03-16T11:21:59.754962264Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.130608ms grafana | logger=migrator t=2024-03-16T11:21:59.75800753Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-03-16T11:21:59.758927399Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=919.719µs grafana | logger=migrator t=2024-03-16T11:21:59.762713031Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-03-16T11:21:59.769046236Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.330735ms grafana | logger=migrator t=2024-03-16T11:21:59.774729598Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-03-16T11:21:59.775633177Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=903.079µs grafana | logger=migrator t=2024-03-16T11:21:59.778752674Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-03-16T11:21:59.779919959Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.167595ms grafana | logger=migrator t=2024-03-16T11:21:59.783303982Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-03-16T11:21:59.784488297Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.184685ms grafana | logger=migrator t=2024-03-16T11:21:59.787365139Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-03-16T11:21:59.800688494Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=13.318835ms grafana | logger=migrator t=2024-03-16T11:21:59.804144578Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:21:59.804841843Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=696.735µs grafana | logger=migrator t=2024-03-16T11:21:59.808757687Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-03-16T11:21:59.809599635Z 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=840.998µs grafana | logger=migrator t=2024-03-16T11:21:59.812687611Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-03-16T11:21:59.81309501Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=408.749µs grafana | logger=migrator t=2024-03-16T11:21:59.815494941Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-03-16T11:21:59.816241727Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=746.766µs grafana | logger=migrator t=2024-03-16T11:21:59.820433837Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-03-16T11:21:59.820842166Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=408.749µs grafana | logger=migrator t=2024-03-16T11:21:59.823586665Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-03-16T11:21:59.829527482Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=5.941827ms grafana | logger=migrator t=2024-03-16T11:21:59.832807232Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-03-16T11:21:59.836960981Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.153409ms grafana | logger=migrator t=2024-03-16T11:21:59.840853785Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-03-16T11:21:59.841841556Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=987.601µs grafana | logger=migrator t=2024-03-16T11:21:59.848855466Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-03-16T11:21:59.849907339Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.051173ms grafana | logger=migrator t=2024-03-16T11:21:59.853507156Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-03-16T11:21:59.854130429Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=622.873µs grafana | logger=migrator t=2024-03-16T11:21:59.857761217Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-03-16T11:21:59.861894086Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.132448ms grafana | logger=migrator t=2024-03-16T11:21:59.866846612Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-03-16T11:21:59.867858013Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.010761ms grafana | logger=migrator t=2024-03-16T11:21:59.871239456Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-03-16T11:21:59.871515641Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=276.775µs grafana | logger=migrator t=2024-03-16T11:21:59.874829903Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-03-16T11:21:59.875236131Z level=info msg="Migration successfully executed" id="Move region to single row" duration=408.568µs grafana | logger=migrator t=2024-03-16T11:21:59.879027473Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-03-16T11:21:59.879915892Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=888.499µs grafana | logger=migrator t=2024-03-16T11:21:59.883195492Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-03-16T11:21:59.884767895Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.571463ms grafana | logger=migrator t=2024-03-16T11:21:59.88962466Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-03-16T11:21:59.89148883Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.86469ms grafana | logger=migrator t=2024-03-16T11:21:59.913676115Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-03-16T11:21:59.914439291Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=763.886µs grafana | logger=migrator t=2024-03-16T11:21:59.919799836Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-03-16T11:21:59.920387379Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=587.503µs grafana | logger=migrator t=2024-03-16T11:21:59.922517184Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-03-16T11:21:59.923146548Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=629.424µs grafana | logger=migrator t=2024-03-16T11:21:59.925252013Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-03-16T11:21:59.925341665Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=89.682µs grafana | logger=migrator t=2024-03-16T11:21:59.930221989Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-03-16T11:21:59.930798242Z level=info msg="Migration successfully executed" id="create test_data table" duration=576.373µs grafana | logger=migrator t=2024-03-16T11:21:59.933341916Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-03-16T11:21:59.933879558Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=537.462µs grafana | logger=migrator t=2024-03-16T11:21:59.936502264Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-03-16T11:21:59.937120347Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=617.743µs grafana | logger=migrator t=2024-03-16T11:21:59.942233657Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-03-16T11:21:59.944112367Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.87711ms policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- 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 | grafana | logger=migrator t=2024-03-16T11:21:59.952999487Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-03-16T11:21:59.953296534Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=301.437µs grafana | logger=migrator t=2024-03-16T11:21:59.958143357Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-03-16T11:21:59.958453684Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=310.987µs grafana | logger=migrator t=2024-03-16T11:21:59.960888866Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-03-16T11:21:59.960957678Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=69.302µs grafana | logger=migrator t=2024-03-16T11:21:59.96294396Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-03-16T11:21:59.963606325Z level=info msg="Migration successfully executed" id="create team table" duration=662.025µs grafana | logger=migrator t=2024-03-16T11:21:59.967177741Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-03-16T11:21:59.967925217Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=746.976µs grafana | logger=migrator t=2024-03-16T11:21:59.974926917Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-03-16T11:21:59.976103682Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.176905ms grafana | logger=migrator t=2024-03-16T11:21:59.97926892Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-03-16T11:21:59.9825233Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=3.25423ms grafana | logger=migrator t=2024-03-16T11:21:59.988636141Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-03-16T11:21:59.988855505Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=218.984µs grafana | logger=migrator t=2024-03-16T11:21:59.991493532Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-03-16T11:21:59.992436472Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=939.64µs grafana | logger=migrator t=2024-03-16T11:21:59.997108962Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-03-16T11:21:59.997854138Z level=info msg="Migration successfully executed" id="create team member table" duration=745.536µs grafana | logger=migrator t=2024-03-16T11:22:00.007242Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-03-16T11:22:00.008408489Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.170539ms grafana | logger=migrator t=2024-03-16T11:22:00.011943769Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-03-16T11:22:00.012577076Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=633.117µs grafana | logger=migrator t=2024-03-16T11:22:00.015744508Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-03-16T11:22:00.016354714Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=619.786µs grafana | logger=migrator t=2024-03-16T11:22:00.021248309Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-03-16T11:22:00.024602845Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=3.354146ms grafana | logger=migrator t=2024-03-16T11:22:00.026578596Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-03-16T11:22:00.032864597Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=6.283691ms grafana | logger=migrator t=2024-03-16T11:22:00.036228753Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-03-16T11:22:00.040657907Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.429784ms grafana | logger=migrator t=2024-03-16T11:22:00.043752326Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-03-16T11:22:00.044440204Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=687.568µs grafana | logger=migrator t=2024-03-16T11:22:00.04898946Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-03-16T11:22:00.049947965Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=955.935µs grafana | logger=migrator t=2024-03-16T11:22:00.052422648Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-03-16T11:22:00.053487405Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.064547ms grafana | logger=migrator t=2024-03-16T11:22:00.059776047Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-03-16T11:22:00.060733611Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=957.654µs grafana | logger=migrator t=2024-03-16T11:22:00.063574554Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-03-16T11:22:00.064533379Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=958.735µs grafana | logger=migrator t=2024-03-16T11:22:00.06730558Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-03-16T11:22:00.068306305Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.000465ms grafana | logger=migrator t=2024-03-16T11:22:00.073884868Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-03-16T11:22:00.076545366Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=2.658858ms grafana | logger=migrator t=2024-03-16T11:22:00.081470593Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-03-16T11:22:00.082969151Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.496988ms grafana | logger=migrator t=2024-03-16T11:22:00.085915777Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-03-16T11:22:00.086294726Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=378.519µs grafana | logger=migrator t=2024-03-16T11:22:00.090873434Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-03-16T11:22:00.091053338Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=180.454µs 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 | 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-16T11:22:00.093356287Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-03-16T11:22:00.094097636Z level=info msg="Migration successfully executed" id="create tag table" duration=741.049µs grafana | logger=migrator t=2024-03-16T11:22:00.097992936Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-03-16T11:22:00.098968811Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=975.545µs grafana | logger=migrator t=2024-03-16T11:22:00.101950318Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-03-16T11:22:00.102696297Z level=info msg="Migration successfully executed" id="create login attempt table" duration=745.95µs grafana | logger=migrator t=2024-03-16T11:22:00.105873808Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-03-16T11:22:00.106848683Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=976.715µs grafana | logger=migrator t=2024-03-16T11:22:00.110496577Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-03-16T11:22:00.111488392Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=993.826µs grafana | logger=migrator t=2024-03-16T11:22:00.114469988Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-16T11:22:00.129883453Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=15.412265ms grafana | logger=migrator t=2024-03-16T11:22:00.132982803Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-03-16T11:22:00.133535497Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=552.594µs grafana | logger=migrator t=2024-03-16T11:22:00.137242842Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-03-16T11:22:00.13793871Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=695.528µs grafana | logger=migrator t=2024-03-16T11:22:00.140898706Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-03-16T11:22:00.141213664Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=315.088µs grafana | logger=migrator t=2024-03-16T11:22:00.143558994Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-03-16T11:22:00.14418513Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=625.896µs grafana | logger=migrator t=2024-03-16T11:22:00.148189123Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-03-16T11:22:00.148983883Z level=info msg="Migration successfully executed" id="create user auth table" duration=794.86µs grafana | logger=migrator t=2024-03-16T11:22:00.15198819Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-03-16T11:22:00.152989436Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.000936ms grafana | logger=migrator t=2024-03-16T11:22:00.155996743Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-03-16T11:22:00.156061964Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=66.151µs grafana | logger=migrator t=2024-03-16T11:22:00.159908903Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-03-16T11:22:00.165184718Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.275255ms grafana | logger=migrator t=2024-03-16T11:22:00.167951159Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-03-16T11:22:00.173178963Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.227294ms grafana | logger=migrator t=2024-03-16T11:22:00.17733968Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-03-16T11:22:00.181207929Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=3.867819ms grafana | logger=migrator t=2024-03-16T11:22:00.184718069Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-03-16T11:22:00.191375239Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=6.65798ms grafana | logger=migrator t=2024-03-16T11:22:00.194287004Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-03-16T11:22:00.19530061Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.013126ms grafana | logger=migrator t=2024-03-16T11:22:00.198998845Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-03-16T11:22:00.204167417Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.166272ms grafana | logger=migrator t=2024-03-16T11:22:00.209145725Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-03-16T11:22:00.209958646Z level=info msg="Migration successfully executed" id="create server_lock table" duration=818.511µs grafana | logger=migrator t=2024-03-16T11:22:00.213689561Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-03-16T11:22:00.214615595Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=925.994µs grafana | logger=migrator t=2024-03-16T11:22:00.217663243Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-03-16T11:22:00.218514215Z level=info msg="Migration successfully executed" id="create user auth token table" duration=852.342µs grafana | logger=migrator t=2024-03-16T11:22:00.22574971Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-03-16T11:22:00.226697585Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=947.755µs grafana | logger=migrator t=2024-03-16T11:22:00.229592529Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-03-16T11:22:00.230746848Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.154109ms grafana | logger=migrator t=2024-03-16T11:22:00.233593801Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-03-16T11:22:00.234624318Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.030127ms grafana | logger=migrator t=2024-03-16T11:22:00.238558329Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-03-16T11:22:00.244133592Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.574713ms grafana | logger=migrator t=2024-03-16T11:22:00.247234841Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 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 | -------------- grafana | logger=migrator t=2024-03-16T11:22:00.248571735Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.337774ms grafana | logger=migrator t=2024-03-16T11:22:00.253796909Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-03-16T11:22:00.254586209Z level=info msg="Migration successfully executed" id="create cache_data table" duration=788.9µs grafana | logger=migrator t=2024-03-16T11:22:00.257635788Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-03-16T11:22:00.259050654Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.412966ms grafana | logger=migrator t=2024-03-16T11:22:00.262686907Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-03-16T11:22:00.264263678Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.5762ms grafana | logger=migrator t=2024-03-16T11:22:00.268233039Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-03-16T11:22:00.269282966Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.047467ms grafana | logger=migrator t=2024-03-16T11:22:00.27372774Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-03-16T11:22:00.273913165Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=185.005µs grafana | logger=migrator t=2024-03-16T11:22:00.277140388Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-03-16T11:22:00.277335763Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=192.295µs grafana | logger=migrator t=2024-03-16T11:22:00.280427622Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-03-16T11:22:00.281394447Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=965.914µs grafana | logger=migrator t=2024-03-16T11:22:00.287243956Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-03-16T11:22:00.289057703Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.810067ms grafana | logger=migrator t=2024-03-16T11:22:00.296612067Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-03-16T11:22:00.297674434Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.062227ms grafana | logger=migrator t=2024-03-16T11:22:00.304678303Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-16T11:22:00.304910189Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=231.736µs grafana | logger=migrator t=2024-03-16T11:22:00.310902673Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-03-16T11:22:00.31194684Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.045137ms grafana | logger=migrator t=2024-03-16T11:22:00.319318109Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-03-16T11:22:00.320814657Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.493659ms grafana | logger=migrator t=2024-03-16T11:22:00.325406645Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-03-16T11:22:00.327276312Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.868078ms grafana | logger=migrator t=2024-03-16T11:22:00.332877446Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-03-16T11:22:00.334888538Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=2.011842ms grafana | logger=migrator t=2024-03-16T11:22:00.339621239Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-03-16T11:22:00.345488129Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.86609ms grafana | logger=migrator t=2024-03-16T11:22:00.349836091Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-03-16T11:22:00.350766255Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=929.934µs grafana | logger=migrator t=2024-03-16T11:22:00.356148753Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-03-16T11:22:00.356310517Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=161.484µs grafana | logger=migrator t=2024-03-16T11:22:00.360388502Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-03-16T11:22:00.361674745Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.284503ms grafana | logger=migrator t=2024-03-16T11:22:00.367903675Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-03-16T11:22:00.369565498Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.665183ms grafana | logger=migrator t=2024-03-16T11:22:00.374839533Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-03-16T11:22:00.377650886Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=2.812953ms grafana | logger=migrator t=2024-03-16T11:22:00.382107371Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-16T11:22:00.382176732Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=70.252µs grafana | logger=migrator t=2024-03-16T11:22:00.388155896Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-03-16T11:22:00.389579972Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.428386ms grafana | logger=migrator t=2024-03-16T11:22:00.39532714Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-03-16T11:22:00.396893201Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.565221ms grafana | logger=migrator t=2024-03-16T11:22:00.400881813Z 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 | 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 | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_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 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:00.402400172Z 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.517669ms grafana | logger=migrator t=2024-03-16T11:22:00.406734214Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-03-16T11:22:00.40777085Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.035986ms grafana | logger=migrator t=2024-03-16T11:22:00.410784478Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-03-16T11:22:00.420135028Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=9.34564ms grafana | logger=migrator t=2024-03-16T11:22:00.425747322Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-03-16T11:22:00.42644964Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=702.308µs grafana | logger=migrator t=2024-03-16T11:22:00.429176941Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-03-16T11:22:00.429822107Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=644.956µs grafana | logger=migrator t=2024-03-16T11:22:00.434164439Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-03-16T11:22:00.461473371Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=27.305362ms grafana | logger=migrator t=2024-03-16T11:22:00.465190607Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-03-16T11:22:00.48826405Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=23.069943ms grafana | logger=migrator t=2024-03-16T11:22:00.491515383Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-03-16T11:22:00.492222702Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=706.908µs grafana | logger=migrator t=2024-03-16T11:22:00.495188698Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-03-16T11:22:00.495855675Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=666.717µs grafana | logger=migrator t=2024-03-16T11:22:00.502087905Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-03-16T11:22:00.510010909Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=7.921044ms grafana | logger=migrator t=2024-03-16T11:22:00.51432641Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-03-16T11:22:00.520654913Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=6.328033ms grafana | logger=migrator t=2024-03-16T11:22:00.524503512Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-03-16T11:22:00.52559387Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.089848ms grafana | logger=migrator t=2024-03-16T11:22:00.531701697Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-03-16T11:22:00.532778684Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.077237ms grafana | logger=migrator t=2024-03-16T11:22:00.536352606Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-03-16T11:22:00.537453165Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.100349ms grafana | logger=migrator t=2024-03-16T11:22:00.540493963Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-03-16T11:22:00.54273412Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=2.238167ms grafana | logger=migrator t=2024-03-16T11:22:00.547951425Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-16T11:22:00.548079858Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=129.304µs grafana | logger=migrator t=2024-03-16T11:22:00.554190085Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-03-16T11:22:00.561349589Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.158044ms grafana | logger=migrator t=2024-03-16T11:22:00.568080962Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-03-16T11:22:00.576246322Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=8.16741ms grafana | logger=migrator t=2024-03-16T11:22:00.579876176Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-03-16T11:22:00.585444899Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.568263ms grafana | logger=migrator t=2024-03-16T11:22:00.590976501Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-03-16T11:22:00.59209622Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.120129ms grafana | logger=migrator t=2024-03-16T11:22:00.598463503Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-03-16T11:22:00.600353382Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.893579ms grafana | logger=migrator t=2024-03-16T11:22:00.605049303Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-03-16T11:22:00.611775276Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.726792ms grafana | logger=migrator t=2024-03-16T11:22:00.617334328Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-03-16T11:22:00.623171098Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.83862ms grafana | logger=migrator t=2024-03-16T11:22:00.627341966Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-03-16T11:22:00.629018499Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.678703ms grafana | logger=migrator t=2024-03-16T11:22:00.633616497Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- prometheus | ts=2024-03-16T11:21:57.745Z 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-16T11:21:57.745Z 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-16T11:21:57.745Z 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-16T11:21:57.745Z 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-16T11:21:57.745Z caller=main.go:615 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-03-16T11:21:57.745Z caller=main.go:616 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-03-16T11:21:57.749Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-03-16T11:21:57.750Z caller=main.go:1118 level=info msg="Starting TSDB ..." prometheus | ts=2024-03-16T11:21:57.752Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-03-16T11:21:57.752Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-03-16T11:21:57.756Z caller=head.go:610 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-03-16T11:21:57.757Z caller=head.go:692 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.32µs prometheus | ts=2024-03-16T11:21:57.757Z caller=head.go:700 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-03-16T11:21:57.757Z caller=head.go:771 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-03-16T11:21:57.757Z caller=head.go:808 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=79.673µs wal_replay_duration=386.249µs wbl_replay_duration=310ns total_replay_duration=565.024µs prometheus | ts=2024-03-16T11:21:57.760Z caller=main.go:1139 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-03-16T11:21:57.760Z caller=main.go:1142 level=info msg="TSDB started" prometheus | ts=2024-03-16T11:21:57.760Z caller=main.go:1324 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-03-16T11:21:57.761Z caller=main.go:1361 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.073057ms db_storage=1.86µs remote_storage=2.31µs web_handler=560ns query_engine=990ns scrape=261.547µs scrape_sd=152.864µs notify=34.891µs notify_sd=11.02µs rules=2.13µs tracing=5.16µs prometheus | ts=2024-03-16T11:21:57.761Z caller=main.go:1103 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-03-16T11:21:57.761Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-03-16T11:22:00.640509014Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.894087ms grafana | logger=migrator t=2024-03-16T11:22:00.645057591Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-03-16T11:22:00.650912642Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.854801ms grafana | logger=migrator t=2024-03-16T11:22:00.654090154Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-03-16T11:22:00.654153395Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=63.691µs grafana | logger=migrator t=2024-03-16T11:22:00.659771709Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-03-16T11:22:00.661693969Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.92521ms grafana | logger=migrator t=2024-03-16T11:22:00.665255431Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2024-03-16T11:22:00.666533524Z 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.279113ms grafana | logger=migrator t=2024-03-16T11:22:00.672477946Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2024-03-16T11:22:00.673600105Z 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.122029ms grafana | logger=migrator t=2024-03-16T11:22:00.677223208Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-16T11:22:00.677325011Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=106.173µs grafana | logger=migrator t=2024-03-16T11:22:00.68119434Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-03-16T11:22:00.688738474Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=7.541874ms grafana | logger=migrator t=2024-03-16T11:22:00.695023096Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-03-16T11:22:00.705716061Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=10.695085ms grafana | logger=migrator t=2024-03-16T11:22:00.70956288Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-03-16T11:22:00.718161961Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=8.600071ms grafana | logger=migrator t=2024-03-16T11:22:00.72359365Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-03-16T11:22:00.731318279Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=7.724309ms grafana | logger=migrator t=2024-03-16T11:22:00.739351136Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-03-16T11:22:00.744012666Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=4.66097ms grafana | logger=migrator t=2024-03-16T11:22:00.749380813Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-03-16T11:22:00.749452245Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=72.182µs grafana | logger=migrator t=2024-03-16T11:22:00.753651243Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-03-16T11:22:00.755042049Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.389916ms grafana | logger=migrator t=2024-03-16T11:22:00.759565276Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-03-16T11:22:00.76711381Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=7.549553ms grafana | logger=migrator t=2024-03-16T11:22:00.771961934Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-03-16T11:22:00.772108268Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=146.594µs grafana | logger=migrator t=2024-03-16T11:22:00.780594146Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-03-16T11:22:00.788623632Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=8.033626ms grafana | logger=migrator t=2024-03-16T11:22:00.794395731Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-03-16T11:22:00.795495559Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.099388ms grafana | logger=migrator t=2024-03-16T11:22:00.799698567Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-03-16T11:22:00.806489082Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.790605ms grafana | logger=migrator t=2024-03-16T11:22:00.84608229Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-03-16T11:22:00.847363723Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.277273ms grafana | logger=migrator t=2024-03-16T11:22:00.853931942Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-03-16T11:22:00.855962794Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=2.035773ms grafana | logger=migrator t=2024-03-16T11:22:00.859503505Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-03-16T11:22:00.86630289Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.798495ms grafana | logger=migrator t=2024-03-16T11:22:00.873556906Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-03-16T11:22:00.874445189Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=886.003µs grafana | logger=migrator t=2024-03-16T11:22:00.880959276Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-03-16T11:22:00.882521807Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.562621ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:00.886686244Z level=info msg="Executing migration" id="create alert_image 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-16T11:22:00.887584487Z level=info msg="Migration successfully executed" id="create alert_image table" duration=897.663µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:00.890863541Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-03-16T11:22:00.892056742Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.191781ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:00.899461542Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:00.899613396Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=152.724µs policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-03-16T11:22:00.904673176Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:00.906169845Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.498889ms 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-16T11:22:00.914954231Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:00.916226803Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.275802ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:00.922912085Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:00.923432569Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-03-16T11:22:00.930320876Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:00.931014713Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=696.628µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2024-03-16T11:22:00.935800887Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:00.937562642Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.762225ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:00.943143365Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:00.950484924Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.342869ms policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-03-16T11:22:00.957287499Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:00.958546781Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.259992ms 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-16T11:22:00.964430973Z 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-16T11:22:00.965597113Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.16557ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:00.969502013Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:00.970626902Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.123849ms policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-03-16T11:22:00.975348564Z 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-16T11:22:00.977004616Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.655583ms 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-16T11:22:00.98376268Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:00.984880558Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.117208ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:00.989013395Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:00.989065446Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=53.541µs policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-03-16T11:22:00.995402689Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:00.995507862Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=106.113µs 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-16T11:22:00.999692169Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.000072669Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=380.35µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.004305648Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.005026287Z level=info msg="Migration successfully executed" id="create data_keys table" duration=720.849µs policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-03-16T11:22:01.009135663Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.009728438Z level=info msg="Migration successfully executed" id="create secrets table" duration=592.625µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-16T11:22:01.014158372Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.041509517Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=27.347724ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.044616757Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.049718778Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.101401ms policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-03-16T11:22:01.054047219Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.054188913Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=142.154µs 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-16T11:22:01.05873536Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.09212161Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=33.37781ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.096183275Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.132041248Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=35.846953ms policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-03-16T11:22:01.13637685Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.137196471Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=821.351µs 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-16T11:22:01.142309243Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.143231336Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=922.974µs policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-03-16T11:22:01.148587034Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.1487973Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=211.166µs 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-16T11:22:01.153613064Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.154330502Z level=info msg="Migration successfully executed" id="create permission table" duration=717.458µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.159201528Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.159937407Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=736.289µs policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-03-16T11:22:01.16432922Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.165069149Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=739.789µs grafana | logger=migrator t=2024-03-16T11:22:01.168539998Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-03-16T11:22:01.169177725Z level=info msg="Migration successfully executed" id="create role table" duration=637.317µs grafana | logger=migrator t=2024-03-16T11:22:01.174309807Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-03-16T11:22:01.179721886Z level=info msg="Migration successfully executed" id="add column display_name" duration=5.411729ms grafana | logger=migrator t=2024-03-16T11:22:01.182615881Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-03-16T11:22:01.187741523Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.125452ms grafana | logger=migrator t=2024-03-16T11:22:01.191054258Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-16T11:22:01.191778867Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=724.489µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.197090084Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.197870394Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=778.081µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.202335599Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-03-16T11:22:01.203112609Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=775.03µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.208865757Z level=info msg="Executing migration" id="create team role 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-16T11:22:01.210469198Z level=info msg="Migration successfully executed" id="create team role table" duration=1.607081ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.214987374Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.216484753Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.497849ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.220976819Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-03-16T11:22:01.222079467Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.102058ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.228028551Z level=info msg="Executing migration" id="add index team_role.team_id" 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-16T11:22:01.229013326Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=981.835µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.232925647Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.234672442Z level=info msg="Migration successfully executed" id="create user role table" duration=1.746345ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.239033144Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-03-16T11:22:01.240701927Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.668413ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.247781699Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 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-16T11:22:01.248791205Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.011396ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.254520163Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.257113069Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=2.591596ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.263576316Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-03-16T11:22:01.265010053Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.434087ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.271919821Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-03-16T11:22:01.273672706Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.752265ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.277680879Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.278711226Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.030277ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.284104224Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-03-16T11:22:01.292056809Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.951485ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.29750051Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-03-16T11:22:01.298601178Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.100518ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.30370337Z 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-16T11:22:01.304860919Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.157239ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.309291543Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-03-16T11:22:01.310288499Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=996.186µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.315324849Z level=info msg="Executing migration" id="add unique index role.uid" 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-16T11:22:01.317123935Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.799516ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.319960498Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.321263022Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.302834ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.324425983Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-03-16T11:22:01.325693026Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.265973ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.332503211Z level=info msg="Executing migration" id="add column hidden to role table" 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-16T11:22:01.344146661Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=11.6431ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.347438086Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.356062478Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.624532ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.362668378Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-03-16T11:22:01.368537109Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.867701ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.37166371Z level=info msg="Executing migration" id="permission identifier migration" 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-16T11:22:01.37943781Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.77376ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.383648859Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.384734887Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.085557ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.38798959Z level=info msg="Executing migration" id="add permission action scope role_id index" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-03-16T11:22:01.38914313Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.15299ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.393455811Z level=info msg="Executing migration" id="remove permission role_id action scope index" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-03-16T11:22:01.394449067Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=993.196µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.397102605Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.397990978Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=888.253µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.400736169Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-03-16T11:22:01.401770885Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.034097ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.406102647Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 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-16T11:22:01.406174229Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=71.612µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.408995521Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.409036362Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=42.041µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.411336791Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-03-16T11:22:01.412023319Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=686.208µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.415188871Z level=info msg="Executing migration" id="dashboard permissions" 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-16T11:22:01.416058993Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=870.972µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.420442336Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.421109573Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=667.097µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.424122321Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-03-16T11:22:01.424325706Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=203.335µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.427111038Z level=info msg="Executing migration" id="alerting notification permissions" 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-16T11:22:01.427825726Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=714.608µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.430876235Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.432375534Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.495139ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.437312071Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-03-16T11:22:01.438400949Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.088638ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.441261272Z level=info msg="Executing migration" id="add column org_id in query_history_star" 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-16T11:22:01.449465594Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.203452ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.452503042Z 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-16T11:22:01.452568544Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=69.572µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.457520931Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-03-16T11:22:01.458674851Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.15416ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.463231568Z level=info msg="Executing migration" id="add index correlations.uid" 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-16T11:22:01.464316776Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.085098ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.467471947Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.468932625Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.458968ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.47340817Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-03-16T11:22:01.485505522Z level=info msg="Migration successfully executed" id="add correlation config column" duration=12.096962ms policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.48855307Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.489577267Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.023816ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.491694181Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-03-16T11:22:01.492709487Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.014696ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.497106351Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-16T11:22:01.517959268Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=20.853097ms grafana | logger=migrator t=2024-03-16T11:22:01.520904884Z level=info msg="Executing migration" id="create correlation v2" 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-16T11:22:01.521793257Z level=info msg="Migration successfully executed" id="create correlation v2" duration=887.702µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.52619724Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.526950199Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=752.709µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.529783462Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-16T11:22:01.531722872Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.93882ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.535228012Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-03-16T11:22:01.536540826Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.312834ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.540746195Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.541006261Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=260.086µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.543151606Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-03-16T11:22:01.543917816Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=768.13µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.546906043Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-03-16T11:22:01.5549493Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.042687ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.559770445Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.560574766Z level=info msg="Migration successfully executed" id="create entity_events table" duration=804.001µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.563791198Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-03-16T11:22:01.565369779Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.577051ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.568583822Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-03-16T11:22:01.569360242Z 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-16T11:22:01.578074516Z 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-16T11:22:01.578527928Z 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-16T11:22:01.588251268Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-03-16T11:22:01.589626544Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.374716ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.598210065Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-03-16T11:22:01.599542729Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.332194ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.607786481Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.609491925Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.704834ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.618501087Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-03-16T11:22:01.619978175Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.476478ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.628815983Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-03-16T11:22:01.630124147Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.307844ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.641498799Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.642604997Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.106368ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.652311377Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-03-16T11:22:01.653296173Z level=info msg="Migration successfully executed" id="Drop public config table" duration=984.155µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.659045211Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-03-16T11:22:01.660633911Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.588331ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.6644672Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.665802825Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.335044ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.671022309Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-03-16T11:22:01.672316772Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.295733ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.675566096Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-03-16T11:22:01.677699411Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=2.134315ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.682980827Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.706185195Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=23.204448ms policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-03-16T11:22:01.71066591Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.718878542Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.211422ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-03-16T11:22:01.724739223Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.734521354Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=9.782612ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.739054101Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.739287797Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=233.436µs policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-03-16T11:22:01.741808982Z level=info msg="Executing migration" id="add share column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.748031062Z level=info msg="Migration successfully executed" id="add share column" duration=6.22035ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-03-16T11:22:01.75335099Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.753695048Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=341.379µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.756768498Z level=info msg="Executing migration" id="create file table" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.758369939Z level=info msg="Migration successfully executed" id="create file table" duration=1.601101ms policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-03-16T11:22:01.762363992Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.764122977Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.761785ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-03-16T11:22:01.768685895Z 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-16T11:22:01.769843784Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.155819ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.773841497Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.77472931Z level=info msg="Migration successfully executed" id="create file_meta table" duration=887.523µs policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-03-16T11:22:01.778840456Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.780050427Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.209921ms policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-03-16T11:22:01.787518009Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.787746915Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=228.506µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.792150159Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.792363574Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=213.065µs policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-03-16T11:22:01.796680715Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.797580379Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=899.413µs policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-03-16T11:22:01.80928486Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.809722491Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=437.061µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.814854503Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.817113532Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.258548ms policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-16T11:22:01.821871114Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.83375207Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.882736ms 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-16T11:22:01.836916132Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.837093846Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=177.394µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.840778211Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.842012893Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.233902ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-03-16T11:22:01.845345259Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.845836902Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=492.193µs 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-16T11:22:01.849020064Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.849295861Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=275.458µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.853053337Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.853581571Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=527.764µs policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-03-16T11:22:01.857704397Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.86674696Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.042463ms 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-16T11:22:01.870073506Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.876509541Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.436425ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.880000871Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.88110621Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.105219ms policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-03-16T11:22:01.885403141Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.957778195Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=72.377104ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.96145781Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:01.962613379Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.156139ms policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-03-16T11:22:01.966238673Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.967495445Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.256272ms 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-16T11:22:01.972251858Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:01.998172845Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=25.918788ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.002222439Z level=info msg="Executing migration" id="add origin column to seed_assignment" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.008820833Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=6.597784ms policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-03-16T11:22:02.013420522Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.01379542Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=374.788µ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-16T11:22:02.017568581Z level=info msg="Executing migration" id="prevent seeding OnCall access" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.017827296Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=258.755µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.021525336Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.021974695Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=448.699µs policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-03-16T11:22:02.025829688Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.026285678Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=455.12µs 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-16T11:22:02.030657012Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.031162572Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=506.3µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.034844361Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.035864143Z level=info msg="Migration successfully executed" id="create folder table" duration=1.020332ms policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-03-16T11:22:02.039157734Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.040457642Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.301918ms 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-16T11:22:02.044818585Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.046024301Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.205536ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.049385733Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.049452905Z level=info msg="Migration successfully executed" id="Update folder title length" duration=65.932µs policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-03-16T11:22:02.052704315Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.05390104Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.196525ms 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-16T11:22:02.05807908Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.059236765Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.157465ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.062851182Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.06415347Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.302898ms policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-03-16T11:22:02.067737887Z level=info msg="Executing migration" id="Sync dashboard and folder table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.068465563Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=725.666µ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-16T11:22:02.072937969Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.07344185Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=503.191µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.076979116Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.078080609Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.101294ms policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-03-16T11:22:02.081434501Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.082615666Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.181495ms grafana | logger=migrator t=2024-03-16T11:22:02.086931679Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-03-16T11:22:02.088113294Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.181485ms grafana | logger=migrator t=2024-03-16T11:22:02.091423875Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" 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-16T11:22:02.092633881Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.209826ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.095758078Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.096853102Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.091874ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.101108953Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-03-16T11:22:02.102054914Z level=info msg="Migration successfully executed" id="create anon_device table" duration=945.341µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.105532648Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-03-16T11:22:02.106807096Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.273447ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.110385232Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-03-16T11:22:02.11165976Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.273528ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.116270239Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-03-16T11:22:02.117293181Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.020071ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.121690085Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.123621696Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.927831ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.130092255Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-16T11:22:02.131928295Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.83593ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.13543151Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-03-16T11:22:02.136077594Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=647.954µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.139674041Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.151823701Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=12.14875ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.156459211Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-03-16T11:22:02.157370291Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=912.769µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.161249054Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 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-16T11:22:02.162556512Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.307258ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.165623548Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.166805433Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.181795ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.169980301Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-16T11:22:02.173064087Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=3.083376ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.178407952Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" 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-16T11:22:02.17972821Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.319688ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.182709674Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.184008192Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.297698ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.1876215Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-03-16T11:22:02.189592552Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.969842ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.194818194Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.195793885Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=975.201µs policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.198931682Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-03-16T11:22:02.199319931Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=388.919µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.203458019Z level=info msg="Executing migration" id="alter kv_store.value to longtext" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-03-16T11:22:02.203572002Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=119.253µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.206791461Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.215837295Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=9.045204ms policy-db-migrator | grafana | logger=migrator t=2024-03-16T11:22:02.219149366Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-16T11:22:02.228333003Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.182427ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.231609043Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-03-16T11:22:02.231875549Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=262.326µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-16T11:22:02.235497397Z level=info msg="migrations completed" performed=547 skipped=0 duration=3.579294266s policy-db-migrator | grafana | logger=sqlstore t=2024-03-16T11:22:02.242931376Z level=info msg="Created default admin" user=admin policy-db-migrator | grafana | logger=sqlstore t=2024-03-16T11:22:02.243331715Z level=info msg="Created default organization" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=secrets t=2024-03-16T11:22:02.247832112Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | -------------- grafana | logger=plugin.store t=2024-03-16T11:22:02.276626869Z level=info msg="Loading plugins..." policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=local.finder t=2024-03-16T11:22:02.316068446Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | JOIN pdpstatistics b grafana | logger=plugin.store t=2024-03-16T11:22:02.316096426Z level=info msg="Plugins loaded" count=55 duration=39.471167ms policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=query_data t=2024-03-16T11:22:02.318412946Z level=info msg="Query Service initialization" policy-db-migrator | SET a.id = b.id grafana | logger=live.push_http t=2024-03-16T11:22:02.322037303Z level=info msg="Live Push Gateway initialization" policy-db-migrator | -------------- grafana | logger=ngalert.migration t=2024-03-16T11:22:02.327682844Z level=info msg=Starting policy-db-migrator | grafana | logger=ngalert.migration t=2024-03-16T11:22:02.328226006Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false policy-db-migrator | grafana | logger=ngalert.migration orgID=1 t=2024-03-16T11:22:02.328796478Z level=info msg="Migrating alerts for organisation" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=ngalert.migration orgID=1 t=2024-03-16T11:22:02.329607305Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | -------------- grafana | logger=ngalert.migration t=2024-03-16T11:22:02.331638689Z level=info msg="Completed alerting migration" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | grafana | logger=ngalert.state.manager t=2024-03-16T11:22:02.358467482Z level=info msg="Running in alternative execution of Error/NoData mode" policy-db-migrator | grafana | logger=infra.usagestats.collector t=2024-03-16T11:22:02.360627418Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=provisioning.datasources t=2024-03-16T11:22:02.363185873Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | -------------- grafana | logger=provisioning.alerting t=2024-03-16T11:22:02.376783384Z level=info msg="starting to provision alerting" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=provisioning.alerting t=2024-03-16T11:22:02.376832645Z level=info msg="finished to provision alerting" policy-db-migrator | -------------- grafana | logger=grafanaStorageLogger t=2024-03-16T11:22:02.377146211Z level=info msg="Storage starting" policy-db-migrator | grafana | logger=ngalert.state.manager t=2024-03-16T11:22:02.377739374Z level=info msg="Warming state cache for startup" policy-db-migrator | grafana | logger=ngalert.state.manager t=2024-03-16T11:22:02.37803142Z level=info msg="State cache has been initialized" states=0 duration=292.136µs policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=ngalert.multiorg.alertmanager t=2024-03-16T11:22:02.378094191Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | -------------- grafana | logger=ngalert.scheduler t=2024-03-16T11:22:02.378188744Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=ticker t=2024-03-16T11:22:02.378385908Z level=info msg=starting first_tick=2024-03-16T11:22:10Z policy-db-migrator | -------------- grafana | logger=http.server t=2024-03-16T11:22:02.381267189Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-db-migrator | grafana | logger=sqlstore.transactions t=2024-03-16T11:22:02.401705456Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | grafana | logger=provisioning.dashboard t=2024-03-16T11:22:02.432818801Z level=info msg="starting to provision dashboards" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=plugins.update.checker t=2024-03-16T11:22:02.484782372Z level=info msg="Update check succeeded" duration=107.345565ms policy-db-migrator | -------------- grafana | logger=grafana.update.checker t=2024-03-16T11:22:02.49967987Z level=info msg="Update check succeeded" duration=121.096228ms 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=sqlstore.transactions t=2024-03-16T11:22:02.558726192Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | -------------- grafana | logger=sqlstore.transactions t=2024-03-16T11:22:02.570043484Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" policy-db-migrator | grafana | logger=provisioning.dashboard t=2024-03-16T11:22:02.640914529Z level=info msg="finished to provision dashboards" policy-db-migrator | grafana | logger=grafana-apiserver t=2024-03-16T11:22:02.786922659Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=grafana-apiserver t=2024-03-16T11:22:02.787588734Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" policy-db-migrator | -------------- grafana | logger=infra.usagestats t=2024-03-16T11:23:35.39081451Z level=info msg="Usage stats are ready to report" policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | TRUNCATE TABLE sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1300) policy-db-migrator | name version policy-db-migrator | policyadmin 1300 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:06 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:07 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:08 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:09 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:10 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1603241122060800u 1 2024-03-16 11:22:10 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1603241122060900u 1 2024-03-16 11:22:10 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1603241122060900u 1 2024-03-16 11:22:10 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1603241122060900u 1 2024-03-16 11:22:10 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1603241122060900u 1 2024-03-16 11:22:10 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1603241122060900u 1 2024-03-16 11:22:10 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1603241122060900u 1 2024-03-16 11:22:10 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1603241122060900u 1 2024-03-16 11:22:10 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1603241122060900u 1 2024-03-16 11:22:10 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1603241122060900u 1 2024-03-16 11:22:10 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1603241122060900u 1 2024-03-16 11:22:10 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1603241122060900u 1 2024-03-16 11:22:10 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1603241122060900u 1 2024-03-16 11:22:10 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1603241122060900u 1 2024-03-16 11:22:10 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1603241122061000u 1 2024-03-16 11:22:10 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1603241122061000u 1 2024-03-16 11:22:10 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1603241122061000u 1 2024-03-16 11:22:10 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1603241122061000u 1 2024-03-16 11:22:10 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1603241122061000u 1 2024-03-16 11:22:10 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1603241122061000u 1 2024-03-16 11:22:10 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1603241122061000u 1 2024-03-16 11:22:11 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1603241122061000u 1 2024-03-16 11:22:11 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1603241122061000u 1 2024-03-16 11:22:11 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1603241122061100u 1 2024-03-16 11:22:11 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1603241122061200u 1 2024-03-16 11:22:11 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1603241122061200u 1 2024-03-16 11:22:11 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1603241122061200u 1 2024-03-16 11:22:11 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1603241122061200u 1 2024-03-16 11:22:11 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1603241122061300u 1 2024-03-16 11:22:11 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1603241122061300u 1 2024-03-16 11:22:11 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1603241122061300u 1 2024-03-16 11:22:11 policy-db-migrator | policyadmin: OK @ 1300 ++ 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 grafana ... done Removing policy-api ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-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.gMjjQvhHVq ]] + rsync -av /tmp/tmp.gMjjQvhHVq/ /w/workspace/policy-api-master-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,356,618 bytes received 95 bytes 2,713,426.00 bytes/sec total size is 1,355,968 speedup is 1.00 + rm -rf /w/workspace/policy-api-master-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2249 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-master-project-csit-api] $ /bin/bash /tmp/jenkins144836603732011029.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins13849557141630359706.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-master-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-master-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-master-project-csit-api ']' + mkdir -p /w/workspace/policy-api-master-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-api/archives/ [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins10749831728190404686.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1ck6 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-1ck6/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins17815277236819946354.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config14119164805665678425tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins13937600451854696747.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins8768534973352211298.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1ck6 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-1ck6/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins2137850412030319099.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins13077441734980367776.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1ck6 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-1ck6/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-master-project-csit-api] $ /bin/bash -l /tmp/jenkins5579842103890033991.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1ck6 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-1ck6/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1567 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-13600 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 846 27097 0 4223 30865 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:f7:43:70 brd ff:ff:ff:ff:ff:ff inet 10.30.106.74/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 85337sec preferred_lft 85337sec inet6 fe80::f816:3eff:fef7:4370/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:ac:4f:77:c7 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-13600) 03/16/24 _x86_64_ (8 CPU) 11:06:56 LINUX RESTART (8 CPU) 11:07:01 tps rtps wtps bread/s bwrtn/s 11:08:01 96.60 47.67 48.93 4421.33 56227.26 11:09:01 12.65 0.00 12.65 0.00 18540.10 11:10:01 12.85 0.00 12.85 0.00 18676.08 11:11:01 12.86 0.00 12.86 0.00 18827.80 11:12:01 13.15 0.00 13.15 0.00 18833.13 11:13:01 13.36 0.97 12.40 20.66 16691.48 11:14:01 6.75 0.02 6.73 0.13 9150.15 11:15:21 2.46 0.00 2.46 0.00 2928.17 11:16:01 12.73 0.00 12.73 0.00 17908.20 11:17:01 10.35 0.02 10.33 0.13 14927.69 11:18:01 1.15 0.00 1.15 0.00 14.80 11:19:01 4.30 3.18 1.12 137.71 191.43 11:20:01 83.69 36.41 47.28 1680.12 5202.87 11:21:01 84.19 13.76 70.42 1127.68 9178.87 11:22:01 325.80 18.45 307.35 2184.27 74505.12 11:23:01 119.06 6.50 112.56 297.32 2725.13 11:24:01 33.56 0.88 32.68 50.79 2694.83 Average: 49.52 7.52 42.00 583.38 16601.39 11:07:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:08:01 30657372 31900416 2281848 6.93 38616 1532576 1324072 3.90 614492 1414496 108 11:09:01 30655712 31898928 2283508 6.93 38700 1532588 1324072 3.90 615308 1414480 200 11:10:01 30655044 31898320 2284176 6.93 38784 1532572 1324072 3.90 616408 1414476 16 11:11:01 30653836 31897260 2285384 6.94 38872 1532584 1324072 3.90 617560 1414488 8 11:12:01 30633720 31877252 2305500 7.00 38980 1532600 1324072 3.90 637652 1414492 48 11:13:01 30646040 31890480 2293180 6.96 39100 1533208 1366216 4.02 623628 1414908 152 11:14:01 30644720 31889264 2294500 6.97 39164 1533220 1366216 4.02 624988 1414920 148 11:15:21 30640948 31885548 2298272 6.98 39188 1533232 1366216 4.02 629784 1414928 20 11:16:01 30634556 31879220 2304664 7.00 39252 1533228 1366216 4.02 636552 1414920 52 11:17:01 30631984 31876804 2307236 7.00 39340 1533240 1366216 4.02 638140 1414924 36 11:18:01 30630800 31875688 2308420 7.01 39376 1533248 1366216 4.02 638972 1414932 204 11:19:01 30552956 31807576 2386264 7.24 39460 1542784 1366216 4.02 710104 1422368 20 11:20:01 30123768 31643156 2815452 8.55 59148 1776816 1486004 4.37 938476 1594140 99680 11:21:01 29897456 31679980 3041764 9.23 81376 2002656 1455828 4.28 897088 1830368 127840 11:22:01 27666660 31527200 5272560 16.01 126776 3953300 3135512 9.23 1181128 3637072 612 11:23:01 26324676 30223724 6614544 20.08 131684 3980928 4599812 13.53 2535496 3612072 24 11:24:01 27750764 31601104 5188456 15.75 132432 3940672 1486836 4.37 1187476 3560248 3928 Average: 29964765 31720701 2974455 9.03 58838 2003497 1667521 4.91 843721 1836367 13712 11:07:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:08:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 11:08:01 ens3 190.80 137.77 574.79 29.62 0.00 0.00 0.00 0.00 11:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:09:01 ens3 0.27 0.20 0.06 0.37 0.00 0.00 0.00 0.00 11:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:10:01 ens3 0.17 0.12 0.05 0.01 0.00 0.00 0.00 0.00 11:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:11:01 ens3 0.28 0.18 0.06 0.32 0.00 0.00 0.00 0.00 11:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:12:01 ens3 2.45 0.85 2.55 0.46 0.00 0.00 0.00 0.00 11:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:13:01 ens3 0.38 0.27 0.14 0.17 0.00 0.00 0.00 0.00 11:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:01 ens3 0.18 0.15 0.06 0.19 0.00 0.00 0.00 0.00 11:15:21 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:15:21 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:15:21 ens3 1.62 0.67 0.59 0.74 0.00 0.00 0.00 0.00 11:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:16:01 lo 0.30 0.30 0.02 0.02 0.00 0.00 0.00 0.00 11:16:01 ens3 1.15 0.87 0.48 1.47 0.00 0.00 0.00 0.00 11:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:17:01 ens3 0.20 0.15 0.06 0.20 0.00 0.00 0.00 0.00 11:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:18:01 ens3 0.32 0.23 0.13 0.23 0.00 0.00 0.00 0.00 11:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:19:01 ens3 76.15 46.63 113.38 19.47 0.00 0.00 0.00 0.00 11:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:20:01 lo 1.20 1.20 0.12 0.12 0.00 0.00 0.00 0.00 11:20:01 ens3 84.64 60.49 848.32 25.44 0.00 0.00 0.00 0.00 11:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:21:01 lo 1.13 1.13 0.12 0.12 0.00 0.00 0.00 0.00 11:21:01 ens3 46.68 33.89 700.08 7.03 0.00 0.00 0.00 0.00 11:22:01 vethd99d6ed 0.05 0.12 0.00 0.01 0.00 0.00 0.00 0.00 11:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:22:01 lo 8.33 8.33 0.77 0.77 0.00 0.00 0.00 0.00 11:22:01 veth0dbac6f 0.03 0.08 0.00 0.01 0.00 0.00 0.00 0.00 11:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:23:01 lo 8.45 8.45 8.43 8.43 0.00 0.00 0.00 0.00 11:23:01 veth0dbac6f 124.75 105.27 41.38 113.91 0.00 0.00 0.00 0.01 11:23:01 br-cfc602b23968 3.62 4.08 6.17 2.51 0.00 0.00 0.00 0.00 11:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:01 lo 9.15 9.15 0.70 0.70 0.00 0.00 0.00 0.00 11:24:01 ens3 800.90 534.54 12881.59 124.63 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 1.77 1.77 0.60 0.60 0.00 0.00 0.00 0.00 Average: ens3 46.30 31.16 757.15 7.30 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-13600) 03/16/24 _x86_64_ (8 CPU) 11:06:56 LINUX RESTART (8 CPU) 11:07:01 CPU %user %nice %system %iowait %steal %idle 11:08:01 all 2.44 0.00 0.69 2.78 0.02 94.08 11:08:01 0 2.92 0.00 0.47 0.17 0.02 96.43 11:08:01 1 2.95 0.00 0.42 0.42 0.02 96.20 11:08:01 2 1.89 0.00 1.70 1.67 0.03 94.71 11:08:01 3 2.60 0.00 0.60 11.17 0.02 85.61 11:08:01 4 2.89 0.00 0.45 0.37 0.02 96.28 11:08:01 5 2.56 0.00 0.70 7.89 0.02 88.84 11:08:01 6 2.14 0.00 0.63 0.10 0.02 97.11 11:08:01 7 1.57 0.00 0.47 0.43 0.02 97.51 11:09:01 all 0.15 0.00 0.02 1.47 0.01 98.36 11:09:01 0 0.02 0.00 0.02 0.00 0.00 99.97 11:09:01 1 0.02 0.00 0.02 0.00 0.00 99.97 11:09:01 2 0.02 0.00 0.02 0.00 0.00 99.97 11:09:01 3 0.00 0.00 0.02 11.66 0.02 88.30 11:09:01 4 0.02 0.00 0.02 0.00 0.00 99.97 11:09:01 5 1.04 0.00 0.03 0.07 0.03 98.82 11:09:01 6 0.00 0.00 0.00 0.00 0.00 100.00 11:09:01 7 0.08 0.00 0.03 0.00 0.00 99.88 11:10:01 all 0.07 0.00 0.02 1.33 0.00 98.57 11:10:01 0 0.00 0.00 0.00 0.00 0.00 100.00 11:10:01 1 0.05 0.00 0.02 0.13 0.02 99.78 11:10:01 2 0.03 0.00 0.00 0.00 0.00 99.97 11:10:01 3 0.00 0.00 0.02 10.45 0.02 89.52 11:10:01 4 0.03 0.00 0.02 0.00 0.02 99.93 11:10:01 5 0.38 0.00 0.10 0.08 0.00 99.43 11:10:01 6 0.02 0.00 0.00 0.00 0.00 99.98 11:10:01 7 0.03 0.00 0.02 0.00 0.02 99.93 11:11:01 all 0.02 0.00 0.01 1.21 0.01 98.75 11:11:01 0 0.00 0.00 0.00 0.00 0.00 100.00 11:11:01 1 0.02 0.00 0.02 0.00 0.00 99.97 11:11:01 2 0.00 0.00 0.05 0.00 0.00 99.95 11:11:01 3 0.02 0.00 0.00 9.61 0.00 90.38 11:11:01 4 0.03 0.00 0.02 0.00 0.00 99.95 11:11:01 5 0.08 0.00 0.03 0.07 0.03 99.78 11:11:01 6 0.00 0.00 0.02 0.00 0.00 99.98 11:11:01 7 0.03 0.00 0.00 0.00 0.00 99.97 11:12:01 all 0.11 0.00 0.01 1.32 0.01 98.56 11:12:01 0 0.00 0.00 0.00 0.00 0.00 100.00 11:12:01 1 0.05 0.00 0.02 0.00 0.00 99.93 11:12:01 2 0.02 0.00 0.00 0.00 0.00 99.98 11:12:01 3 0.00 0.00 0.02 10.47 0.02 89.49 11:12:01 4 0.73 0.00 0.00 0.00 0.00 99.27 11:12:01 5 0.07 0.00 0.02 0.07 0.02 99.83 11:12:01 6 0.00 0.00 0.00 0.02 0.00 99.98 11:12:01 7 0.05 0.00 0.00 0.00 0.00 99.95 11:13:01 all 0.06 0.00 0.03 2.69 0.01 97.22 11:13:01 0 0.00 0.00 0.05 0.00 0.00 99.95 11:13:01 1 0.00 0.00 0.02 0.00 0.00 99.98 11:13:01 2 0.02 0.00 0.00 0.00 0.00 99.98 11:13:01 3 0.03 0.00 0.02 20.63 0.02 79.31 11:13:01 4 0.27 0.00 0.03 0.03 0.00 99.67 11:13:01 5 0.03 0.00 0.02 0.84 0.02 99.10 11:13:01 6 0.02 0.00 0.02 0.00 0.00 99.97 11:13:01 7 0.10 0.00 0.05 0.00 0.00 99.85 11:14:01 all 0.14 0.00 0.02 7.43 0.02 92.40 11:14:01 0 0.02 0.00 0.00 0.00 0.00 99.98 11:14:01 1 0.03 0.00 0.00 2.35 0.02 97.60 11:14:01 2 0.03 0.00 0.00 0.00 0.00 99.97 11:14:01 3 0.00 0.00 0.02 57.13 0.10 42.75 11:14:01 4 0.02 0.00 0.00 0.00 0.00 99.98 11:14:01 5 0.96 0.00 0.07 0.00 0.00 98.97 11:14:01 6 0.00 0.00 0.02 0.00 0.02 99.97 11:14:01 7 0.03 0.00 0.02 0.00 0.02 99.93 11:15:21 all 0.03 0.00 0.01 20.39 0.00 79.57 11:15:21 0 0.00 0.00 0.00 0.00 0.00 100.00 11:15:21 1 0.02 0.00 0.00 0.07 0.00 99.90 11:15:21 2 0.01 0.00 0.01 22.66 0.00 77.32 11:15:21 3 0.02 0.00 0.00 87.49 0.01 12.47 11:15:21 4 0.06 0.00 0.02 0.00 0.01 99.90 11:15:21 5 0.05 0.00 0.01 28.09 0.01 71.84 11:15:21 6 0.04 0.00 0.02 0.00 0.01 99.93 11:15:21 7 0.04 0.00 0.01 24.81 0.00 75.14 11:16:01 all 0.26 0.00 0.01 1.90 0.01 97.83 11:16:01 0 0.02 0.00 0.00 0.00 0.00 99.98 11:16:01 1 0.02 0.00 0.00 0.00 0.00 99.98 11:16:01 2 0.00 0.00 0.00 0.00 0.00 100.00 11:16:01 3 0.02 0.00 0.00 14.24 0.00 85.73 11:16:01 4 0.15 0.00 0.00 0.07 0.00 99.78 11:16:01 5 1.65 0.00 0.02 0.05 0.00 98.27 11:16:01 6 0.02 0.00 0.00 0.85 0.02 99.10 11:16:01 7 0.12 0.00 0.05 0.00 0.00 99.83 11:17:01 all 0.07 0.00 0.01 1.30 0.01 98.62 11:17:01 0 0.00 0.00 0.00 0.00 0.00 100.00 11:17:01 1 0.00 0.00 0.02 0.00 0.00 99.98 11:17:01 2 0.02 0.00 0.02 0.00 0.00 99.97 11:17:01 3 0.00 0.00 0.02 10.32 0.02 89.64 11:17:01 4 0.00 0.00 0.00 0.05 0.00 99.95 11:17:01 5 0.45 0.00 0.00 0.00 0.00 99.55 11:17:01 6 0.03 0.00 0.02 0.00 0.02 99.93 11:17:01 7 0.08 0.00 0.02 0.00 0.02 99.88 11:18:01 all 0.27 0.00 0.01 0.05 0.00 99.68 11:18:01 0 0.00 0.00 0.00 0.00 0.00 100.00 11:18:01 1 0.03 0.00 0.00 0.00 0.00 99.97 11:18:01 2 0.00 0.00 0.00 0.00 0.00 100.00 11:18:01 3 0.02 0.00 0.00 0.33 0.00 99.65 11:18:01 4 0.03 0.00 0.02 0.00 0.00 99.95 11:18:01 5 0.66 0.00 0.02 0.00 0.00 99.32 11:18:01 6 1.34 0.00 0.02 0.05 0.02 98.58 11:18:01 7 0.02 0.00 0.00 0.02 0.00 99.97 11:18:01 CPU %user %nice %system %iowait %steal %idle 11:19:01 all 0.95 0.00 0.06 0.09 0.01 98.89 11:19:01 0 0.15 0.00 0.05 0.10 0.02 99.68 11:19:01 1 0.75 0.00 0.05 0.00 0.00 99.20 11:19:01 2 1.07 0.00 0.08 0.00 0.00 98.85 11:19:01 3 1.76 0.00 0.08 0.21 0.00 97.94 11:19:01 4 1.30 0.00 0.03 0.00 0.02 98.65 11:19:01 5 0.88 0.00 0.08 0.42 0.00 98.62 11:19:01 6 0.22 0.00 0.07 0.00 0.02 99.70 11:19:01 7 1.45 0.00 0.02 0.00 0.00 98.53 11:20:01 all 6.46 0.00 0.61 5.86 0.03 87.04 11:20:01 0 1.17 0.00 0.28 0.88 0.00 97.66 11:20:01 1 4.80 0.00 0.67 0.50 0.02 94.01 11:20:01 2 20.73 0.00 0.80 3.24 0.07 75.16 11:20:01 3 2.65 0.00 0.69 36.15 0.05 60.47 11:20:01 4 9.54 0.00 0.73 2.48 0.03 87.21 11:20:01 5 8.34 0.00 0.77 0.98 0.05 89.86 11:20:01 6 2.87 0.00 0.55 1.40 0.02 95.16 11:20:01 7 1.59 0.00 0.33 1.40 0.02 96.66 11:21:01 all 9.35 0.00 0.59 2.67 0.03 87.36 11:21:01 0 0.20 0.00 0.12 0.03 0.00 99.65 11:21:01 1 20.33 0.00 1.02 0.92 0.05 77.69 11:21:01 2 14.12 0.00 0.73 0.95 0.03 84.16 11:21:01 3 2.67 0.00 0.37 9.23 0.02 87.72 11:21:01 4 1.50 0.00 0.33 1.32 0.00 96.85 11:21:01 5 24.61 0.00 1.27 2.07 0.05 72.01 11:21:01 6 8.84 0.00 0.67 6.79 0.03 83.68 11:21:01 7 2.65 0.00 0.23 0.00 0.03 97.08 11:22:01 all 10.42 0.00 3.95 4.23 0.06 81.35 11:22:01 0 10.31 0.00 3.63 0.62 0.07 85.38 11:22:01 1 8.04 0.00 4.34 0.29 0.05 87.29 11:22:01 2 7.55 0.00 3.59 0.83 0.07 87.96 11:22:01 3 10.06 0.00 3.02 0.68 0.07 86.17 11:22:01 4 9.87 0.00 3.96 21.02 0.07 65.08 11:22:01 5 13.50 0.00 4.78 1.90 0.07 79.75 11:22:01 6 11.18 0.00 3.64 8.08 0.07 77.03 11:22:01 7 12.81 0.00 4.66 0.47 0.05 82.01 11:23:01 all 14.13 0.00 1.72 0.69 0.05 83.41 11:23:01 0 15.13 0.00 1.62 0.37 0.07 82.82 11:23:01 1 13.89 0.00 1.81 0.85 0.03 83.42 11:23:01 2 12.18 0.00 1.58 0.15 0.05 86.04 11:23:01 3 15.19 0.00 1.97 0.72 0.03 82.09 11:23:01 4 16.03 0.00 2.05 0.70 0.05 81.17 11:23:01 5 10.88 0.00 1.39 0.73 0.03 86.96 11:23:01 6 12.24 0.00 1.35 1.52 0.05 84.84 11:23:01 7 17.51 0.00 1.97 0.48 0.05 79.99 11:24:01 all 2.11 0.00 0.39 0.26 0.02 97.22 11:24:01 0 6.10 0.00 0.47 0.10 0.02 93.32 11:24:01 1 1.37 0.00 0.45 0.02 0.02 98.15 11:24:01 2 1.88 0.00 0.32 0.25 0.02 97.53 11:24:01 3 0.87 0.00 0.30 0.62 0.02 98.20 11:24:01 4 1.96 0.00 0.45 0.03 0.05 97.50 11:24:01 5 1.05 0.00 0.33 0.47 0.02 98.13 11:24:01 6 0.94 0.00 0.38 0.17 0.02 98.50 11:24:01 7 2.67 0.00 0.47 0.42 0.02 96.43 Average: all 2.75 0.00 0.48 3.64 0.02 93.12 Average: 0 2.11 0.00 0.39 0.13 0.01 97.35 Average: 1 3.08 0.00 0.52 0.33 0.01 96.07 Average: 2 3.49 0.00 0.52 2.20 0.02 93.77 Average: 3 2.11 0.00 0.42 18.55 0.02 78.90 Average: 4 2.60 0.00 0.48 1.52 0.02 95.39 Average: 5 3.91 0.00 0.56 3.11 0.02 92.39 Average: 6 2.34 0.00 0.43 1.09 0.02 96.12 Average: 7 2.39 0.00 0.49 2.14 0.01 94.97