Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-2412 (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-A4kHg7K6qiWs/agent.2065 SSH_AGENT_PID=2067 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_1781085273461074298.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_1781085273461074298.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 aed46b6a5bfe0680043a2fd2239f642aee5902d7 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f aed46b6a5bfe0680043a2fd2239f642aee5902d7 # timeout=30 Commit message: "Adding readiness condition for k8s csits" > git rev-list --no-walk aed46b6a5bfe0680043a2fd2239f642aee5902d7 # 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/jenkins11466665824814237363.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-aFjK 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-aFjK/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-aFjK/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.3.0 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.103 botocore==1.34.103 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.3 email_validator==2.1.1 filelock==3.14.0 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.36 idna==3.7 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.22.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.2.1 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.1.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.1 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.1 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.35.1 requests==2.31.0 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.1 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.5 tqdm==4.66.4 typing_extensions==4.11.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.26.1 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.4.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/jenkins5364275489314760525.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/jenkins11705887117594128739.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.Ew884ahgnZ ++ echo ROBOT_VENV=/tmp/tmp.Ew884ahgnZ +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.Ew884ahgnZ ++ source /tmp/tmp.Ew884ahgnZ/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.Ew884ahgnZ +++ 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.Ew884ahgnZ/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.Ew884ahgnZ) ' '!=' x ']' +++ PS1='(tmp.Ew884ahgnZ) ' +++ 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.7 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.2.1 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.Ew884ahgnZ/src/onap ++ rm -rf /tmp/tmp.Ew884ahgnZ/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.4.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.7 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.2.1 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.Ew884ahgnZ/bin/activate + '[' -z /tmp/tmp.Ew884ahgnZ/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.Ew884ahgnZ/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.Ew884ahgnZ ++ 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.Ew884ahgnZ/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.Ew884ahgnZ) ' ++ '[' 'x(tmp.Ew884ahgnZ) ' '!=' x ']' ++ PS1='(tmp.Ew884ahgnZ) (tmp.Ew884ahgnZ) ' ++ 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.FPLYs1PcAv + cd /tmp/tmp.FPLYs1PcAv + 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.3-SNAPSHOT)... 3.1.3-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:74be2d6d74915f4f2d0ae425d03b00934d269bdf010bcc830d884663d6cf8a3b Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.3-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.3-SNAPSHOT)... 3.1.3-SNAPSHOT: Pulling from onap/policy-api Digest: sha256:7fad0e07e4ad14d7b1ec6aec34f8583031a00f072037db0e6764795a9c95f7fd Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.3-SNAPSHOT Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:5c435642ca4d8427ca26f4901c11114023004709037880cd7860d5b7176aa731 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:7d5faae481a4c6f436c99e98af11534f7fd5e8d3e35213552dd1dd02bc393d2e 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 12 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds policy-db-migrator Up 16 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds policy-db-migrator Up 21 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds policy-db-migrator Up 26 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds NAMES STATUS policy-api Up 30 seconds grafana Up 33 seconds mariadb Up 32 seconds prometheus Up 34 seconds NAMES STATUS policy-api Up 35 seconds grafana Up 38 seconds mariadb Up 37 seconds prometheus Up 39 seconds NAMES STATUS policy-api Up 40 seconds grafana Up 43 seconds mariadb Up 42 seconds prometheus Up 44 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:23:51 up 4 min, 0 users, load average: 2.14, 1.14, 0.49 Tasks: 180 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.4 us, 1.9 sy, 0.0 ni, 82.6 id, 6.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.5G 25G 1.0M 4.1G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 40 seconds grafana Up 43 seconds mariadb Up 42 seconds prometheus Up 44 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 8914e0104e3d policy-api 0.54% 519.6MiB / 31.41GiB 1.62% 988kB / 648kB 0B / 0B 55 28106579d13f grafana 0.04% 61.26MiB / 31.41GiB 0.19% 19.3kB / 3.66kB 0B / 24.9MB 21 8b7011da0577 mariadb 0.02% 100.2MiB / 31.41GiB 0.31% 922kB / 1.17MB 11MB / 67.9MB 28 c8ecf6d2b398 prometheus 0.00% 18.45MiB / 31.41GiB 0.06% 1.52kB / 158B 106kB / 0B 13 + echo + cd /tmp/tmp.FPLYs1PcAv + echo 'Reading the testplan:' Reading the testplan: + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' + echo 'api-test.robot api-slas.robot' + 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.FPLYs1PcAv/output.xml Log: /tmp/tmp.FPLYs1PcAv/log.html Report: /tmp/tmp.FPLYs1PcAv/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:25:05 up 5 min, 0 users, load average: 0.83, 1.00, 0.49 Tasks: 165 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.4 us, 1.6 sy, 0.0 ni, 84.8 id, 5.1 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 4.1G 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 8914e0104e3d policy-api 0.36% 1.051GiB / 31.41GiB 3.34% 6.96MB / 2.31MB 0B / 0B 55 28106579d13f grafana 0.03% 62.14MiB / 31.41GiB 0.19% 20kB / 4.65kB 0B / 24.9MB 21 8b7011da0577 mariadb 0.02% 101MiB / 31.41GiB 0.31% 2.15MB / 7MB 11MB / 68.1MB 18 c8ecf6d2b398 prometheus 0.22% 24.89MiB / 31.41GiB 0.08% 55.5kB / 6.57kB 106kB / 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-05-12T11:23:07.946993313Z level=info msg="Starting Grafana" version=10.4.2 commit=701c851be7a930e04fbc6ebb1cd4254da80edd4c branch=v10.4.x compiled=2024-05-12T11:23:07Z grafana | logger=settings t=2024-05-12T11:23:07.947349432Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-05-12T11:23:07.947365732Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-05-12T11:23:07.947371813Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-05-12T11:23:07.947376513Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-05-12T11:23:07.947381333Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-05-12T11:23:07.947385553Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-05-12T11:23:07.947391834Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-05-12T11:23:07.947397424Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-05-12T11:23:07.947403994Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-05-12T11:23:07.947411175Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-05-12T11:23:07.947417505Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-05-12T11:23:07.947423565Z level=info msg=Target target=[all] grafana | logger=settings t=2024-05-12T11:23:07.947438786Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-05-12T11:23:07.947443926Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-05-12T11:23:07.947450277Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-05-12T11:23:07.947458237Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-05-12T11:23:07.947462707Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-05-12T11:23:07.947468438Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-05-12T11:23:07.947952584Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-05-12T11:23:07.947980865Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-05-12T11:23:07.949002478Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-05-12T11:23:07.95019164Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-05-12T11:23:07.951197674Z level=info msg="Migration successfully executed" id="create migration_log table" duration=1.004113ms grafana | logger=migrator t=2024-05-12T11:23:07.955558811Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-05-12T11:23:07.9562915Z level=info msg="Migration successfully executed" id="create user table" duration=732.289µs grafana | logger=migrator t=2024-05-12T11:23:07.960611436Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-05-12T11:23:07.962091364Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.478728ms grafana | logger=migrator t=2024-05-12T11:23:07.968407134Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-05-12T11:23:07.969521912Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.112808ms grafana | logger=migrator t=2024-05-12T11:23:07.973403466Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-05-12T11:23:07.974370866Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=967.05µs grafana | logger=migrator t=2024-05-12T11:23:07.978068069Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-05-12T11:23:07.97902256Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=954.721µs grafana | logger=migrator t=2024-05-12T11:23:07.985685978Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-05-12T11:23:07.988152027Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.465469ms grafana | logger=migrator t=2024-05-12T11:23:07.991416968Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-05-12T11:23:07.992282093Z level=info msg="Migration successfully executed" id="create user table v2" duration=864.505µs grafana | logger=migrator t=2024-05-12T11:23:07.995720644Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-05-12T11:23:07.996472973Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=751.93µs grafana | logger=migrator t=2024-05-12T11:23:08.002407643Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-05-12T11:23:08.003444107Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.036084ms grafana | logger=migrator t=2024-05-12T11:23:08.007258544Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-05-12T11:23:08.007868255Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=609.491µs grafana | logger=migrator t=2024-05-12T11:23:08.011464341Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-05-12T11:23:08.012232332Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=768.201µs policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | 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 | -------------- mariadb | 2024-05-12 11:23:09+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-05-12 11:23:09+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-05-12 11:23:09+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-05-12 11:23:09+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-05-12 11:23:09 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-05-12 11:23:09 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-05-12 11:23:09 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-05-12 11:23:11+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-05-12 11:23:11+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-05-12 11:23:11+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-05-12 11:23:11 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2024-05-12 11:23:11 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-05-12 11:23:11 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-05-12 11:23:11 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-05-12 11:23:11 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-05-12 11:23:11 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-05-12 11:23:11 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-05-12 11:23:11 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-05-12 11:23:11 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-05-12 11:23:11 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-05-12 11:23:11 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-05-12 11:23:11 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-05-12 11:23:11 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-05-12 11:23:11 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-05-12 11:23:11 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-05-12 11:23:11 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-05-12 11:23:11 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-05-12 11:23:11 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-05-12 11:23:11 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-05-12 11:23:12+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-05-12 11:23:14+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-05-12 11:23:14+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-05-12 11:23:14+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-05-12 11:23:14+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'\''@'\''%'\'' ;' 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 | -------------- 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) 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;' 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-05-12 11:23:15+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-05-12 11:23:15 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-05-12 11:23:15 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-05-12 11:23:15 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-05-12 11:23:15 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-05-12 11:23:15 0 [Note] InnoDB: Buffer pool(s) dump completed at 240512 11:23:15 mariadb | 2024-05-12 11:23:16 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-05-12 11:23:16 0 [Note] InnoDB: Shutdown completed; log sequence number 332416; transaction id 298 mariadb | 2024-05-12 11:23:16 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-05-12 11:23:16+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-05-12 11:23:16+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-05-12 11:23:16 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-05-12 11:23:16 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-05-12 11:23:16 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-05-12 11:23:16 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-05-12 11:23:16 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-05-12 11:23:16 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-05-12 11:23:16 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-05-12 11:23:16 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-05-12 11:23:16 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-05-12 11:23:16 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-05-12 11:23:17 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-05-12 11:23:17 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-05-12 11:23:17 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-05-12 11:23:17 0 [Note] InnoDB: log sequence number 332416; transaction id 299 mariadb | 2024-05-12 11:23:17 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-05-12 11:23:17 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-05-12 11:23:17 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-05-12 11:23:17 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-05-12 11:23:17 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-05-12 11:23:17 0 [Note] Server socket created on IP: '::'. mariadb | 2024-05-12 11:23:17 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-05-12 11:23:17 0 [Note] InnoDB: Buffer pool(s) load completed at 240512 11:23:17 mariadb | 2024-05-12 11:23:17 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2024-05-12 11:23:18 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | 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 | grafana | logger=migrator t=2024-05-12T11:23:08.019619223Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-05-12T11:23:08.021537943Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.913759ms grafana | logger=migrator t=2024-05-12T11:23:08.025316968Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-05-12T11:23:08.02535716Z level=info msg="Migration successfully executed" id="Update user table charset" duration=41.292µs grafana | logger=migrator t=2024-05-12T11:23:08.029057682Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-05-12T11:23:08.0301915Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.133418ms grafana | logger=migrator t=2024-05-12T11:23:08.033530633Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-05-12T11:23:08.033757045Z level=info msg="Migration successfully executed" id="Add missing user data" duration=226.491µs grafana | logger=migrator t=2024-05-12T11:23:08.039250139Z level=info msg="Executing migration" id="Add is_disabled column to user" 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 | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2024-05-12T11:23:08.04042418Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.174021ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.044156013Z level=info msg="Executing migration" id="Add index user.login/user.email" prometheus | ts=2024-05-12T11:23:07.007Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d policy-api | Waiting for mariadb port 3306... policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.04527003Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.113537ms prometheus | ts=2024-05-12T11:23:07.007Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.52.0, branch=HEAD, revision=879d80922a227c37df502e7315fad8ceb10a986d)" policy-api | mariadb (172.17.0.3:3306) open policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.048764712Z level=info msg="Executing migration" id="Add is_service_account column to user" prometheus | ts=2024-05-12T11:23:07.007Z caller=main.go:622 level=info build_context="(go=go1.22.3, platform=linux/amd64, user=root@1b4f4c206e41, date=20240508-21:56:43, tags=netgo,builtinassets,stringlabels)" policy-api | Waiting for policy-db-migrator port 6824... policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-05-12T11:23:08.050557874Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.792713ms prometheus | ts=2024-05-12T11:23:07.007Z caller=main.go:623 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" policy-api | policy-db-migrator (172.17.0.5:6824) open policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.054023293Z level=info msg="Executing migration" id="Update is_service_account column to nullable" prometheus | ts=2024-05-12T11:23:07.007Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 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-05-12T11:23:08.062495511Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=8.471518ms prometheus | ts=2024-05-12T11:23:07.007Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" policy-api | policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.069238901Z level=info msg="Executing migration" id="Add uid column to user" prometheus | ts=2024-05-12T11:23:07.011Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 policy-api | . ____ _ __ _ _ policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.07078822Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.537579ms prometheus | ts=2024-05-12T11:23:07.012Z caller=main.go:1129 level=info msg="Starting TSDB ..." policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.074889023Z level=info msg="Executing migration" id="Update uid column values for users" prometheus | ts=2024-05-12T11:23:07.014Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-05-12T11:23:08.075211989Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=323.336µs prometheus | ts=2024-05-12T11:23:07.014Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.078692559Z level=info msg="Executing migration" id="Add unique index user_uid" prometheus | ts=2024-05-12T11:23:07.018Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 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-05-12T11:23:08.079425958Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=733.069µs prometheus | ts=2024-05-12T11:23:07.018Z caller=head.go:703 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.44µs policy-api | =========|_|==============|___/=/_/_/_/ policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.082698107Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" prometheus | ts=2024-05-12T11:23:07.018Z caller=head.go:711 level=info component=tsdb msg="Replaying WAL, this may take a while" policy-api | :: Spring Boot :: (v3.1.10) policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.083025054Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=326.657µs prometheus | ts=2024-05-12T11:23:07.019Z caller=head.go:783 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-api | policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.0885513Z level=info msg="Executing migration" id="create temp user table v1-7" prometheus | ts=2024-05-12T11:23:07.019Z caller=head.go:820 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=121.586µs wal_replay_duration=477.705µs wbl_replay_duration=190ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=1.44µs total_replay_duration=628.233µs policy-api | [2024-05-12T11:23:38.727+00:00|INFO|Version|background-preinit] HV000001: Hibernate Validator 8.0.1.Final grafana | logger=migrator t=2024-05-12T11:23:08.089783873Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.232573ms policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:38.801+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.11 with PID 36 (/app/api.jar started by policy in /opt/app/policy/api/bin) grafana | logger=migrator t=2024-05-12T11:23:08.093341668Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:38.803+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" grafana | logger=migrator t=2024-05-12T11:23:08.094457785Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.114877ms policy-db-migrator | policy-db-migrator | policy-api | [2024-05-12T11:23:41.051+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. grafana | logger=migrator t=2024-05-12T11:23:08.098168927Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:41.144+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 82 ms. Found 6 JPA repository interfaces. grafana | logger=migrator t=2024-05-12T11:23:08.098903795Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=734.537µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:41.666+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 grafana | logger=migrator t=2024-05-12T11:23:08.104873984Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" policy-db-migrator | policy-db-migrator | policy-api | [2024-05-12T11:23:41.668+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 grafana | logger=migrator t=2024-05-12T11:23:08.105970481Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.095666ms policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:42.375+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) grafana | logger=migrator t=2024-05-12T11:23:08.10925293Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:42.386+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] grafana | logger=migrator t=2024-05-12T11:23:08.110376069Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.122329ms policy-db-migrator | policy-db-migrator | policy-api | [2024-05-12T11:23:42.391+00:00|INFO|StandardService|main] Starting service [Tomcat] grafana | logger=migrator t=2024-05-12T11:23:08.113555503Z level=info msg="Executing migration" id="Update temp_user table charset" policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:42.391+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.19] grafana | logger=migrator t=2024-05-12T11:23:08.113584885Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=32.722µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:42.501+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext grafana | logger=migrator t=2024-05-12T11:23:08.119627187Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" policy-db-migrator | policy-db-migrator | policy-api | [2024-05-12T11:23:42.501+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3616 ms grafana | logger=migrator t=2024-05-12T11:23:08.120346774Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=717.207µs policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:42.980+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] grafana | logger=migrator t=2024-05-12T11:23:08.124041935Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:43.068+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.2.Final grafana | logger=migrator t=2024-05-12T11:23:08.125103291Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.062565ms policy-db-migrator | policy-db-migrator | policy-api | [2024-05-12T11:23:43.126+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled grafana | logger=migrator t=2024-05-12T11:23:08.128813342Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:43.427+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer grafana | logger=migrator t=2024-05-12T11:23:08.129890049Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.075986ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:43.470+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... grafana | logger=migrator t=2024-05-12T11:23:08.13649375Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" policy-db-migrator | policy-db-migrator | policy-api | [2024-05-12T11:23:43.582+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@312b34e3 grafana | logger=migrator t=2024-05-12T11:23:08.137529003Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.034813ms policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:43.585+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. grafana | logger=migrator t=2024-05-12T11:23:08.183669951Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:45.860+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) grafana | logger=migrator t=2024-05-12T11:23:08.188733393Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.061612ms policy-db-migrator | prometheus | ts=2024-05-12T11:23:07.024Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC policy-api | [2024-05-12T11:23:45.871+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' grafana | logger=migrator t=2024-05-12T11:23:08.192032743Z level=info msg="Executing migration" id="create temp_user v2" prometheus | ts=2024-05-12T11:23:07.024Z caller=main.go:1153 level=info msg="TSDB started" prometheus | ts=2024-05-12T11:23:07.024Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-api | [2024-05-12T11:23:47.005+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml grafana | logger=migrator t=2024-05-12T11:23:08.193425825Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.392812ms prometheus | ts=2024-05-12T11:23:07.025Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=992.601µs db_storage=1.53µs remote_storage=1.95µs web_handler=880ns query_engine=1.38µs scrape=235.352µs scrape_sd=135.417µs notify=35.962µs notify_sd=12.281µs rules=1.91µs tracing=5.03µs prometheus | ts=2024-05-12T11:23:07.025Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." policy-api | [2024-05-12T11:23:47.877+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] grafana | logger=migrator t=2024-05-12T11:23:08.198756781Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" prometheus | ts=2024-05-12T11:23:07.025Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." policy-api | [2024-05-12T11:23:49.071+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 grafana | logger=migrator t=2024-05-12T11:23:08.199497279Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=737.557µs policy-db-migrator | policy-api | [2024-05-12T11:23:49.297+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@3b14d63b, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@46c8a8e0, org.springframework.security.web.context.SecurityContextHolderFilter@2fbe0960, org.springframework.security.web.header.HeaderWriterFilter@31f5829e, org.springframework.security.web.authentication.logout.LogoutFilter@631c244c, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1b5593e6, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@17746fcb, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3c703142, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@54ce2da8, org.springframework.security.web.access.ExceptionTranslationFilter@2a384b46, org.springframework.security.web.access.intercept.AuthorizationFilter@54d8c998] grafana | logger=migrator t=2024-05-12T11:23:08.202952768Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-api | [2024-05-12T11:23:50.328+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' grafana | logger=migrator t=2024-05-12T11:23:08.204076616Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.125588ms policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:50.456+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] grafana | logger=migrator t=2024-05-12T11:23:08.208257773Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-api | [2024-05-12T11:23:50.485+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' grafana | logger=migrator t=2024-05-12T11:23:08.209352169Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.095446ms policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:50.503+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.713 seconds (process running for 13.477) grafana | logger=migrator t=2024-05-12T11:23:08.216752932Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" policy-db-migrator | policy-api | [2024-05-12T11:23:54.709+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' grafana | logger=migrator t=2024-05-12T11:23:08.217522222Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=768.68µs policy-db-migrator | policy-api | [2024-05-12T11:23:54.710+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Initializing Servlet 'dispatcherServlet' grafana | logger=migrator t=2024-05-12T11:23:08.220938278Z level=info msg="Executing migration" id="copy temp_user v1 to v2" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-api | [2024-05-12T11:23:54.711+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Completed initialization in 1 ms grafana | logger=migrator t=2024-05-12T11:23:08.221521548Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=583.2µs policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:58.524+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: grafana | logger=migrator t=2024-05-12T11:23:08.224731864Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-api | [] grafana | logger=migrator t=2024-05-12T11:23:08.225505775Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=774.411µs policy-db-migrator | -------------- policy-api | [2024-05-12T11:23:58.676+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.228667378Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" policy-api | [2024-05-12T11:23:58.983+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.229070689Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=403.531µs policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-05-12T11:23:08.234430757Z level=info msg="Executing migration" id="create star table" policy-api | [2024-05-12T11:24:00.515+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.235265419Z level=info msg="Migration successfully executed" id="create star table" duration=835.543µs policy-api | [2024-05-12T11:24:03.180+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 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-05-12T11:23:08.239940332Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" policy-api | [2024-05-12T11:24:03.662+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.24107013Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.129528ms policy-api | [2024-05-12T11:24:03.953+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.244450844Z level=info msg="Executing migration" id="create org table v1" policy-api | [2024-05-12T11:24:04.226+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.245241656Z level=info msg="Migration successfully executed" id="create org table v1" duration=790.692µs policy-api | [2024-05-12T11:24:04.560+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-05-12T11:23:08.248475063Z level=info msg="Executing migration" id="create index UQE_org_name - v1" policy-db-migrator | -------------- policy-api | [2024-05-12T11:24:04.830+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-05-12T11:23:08.249283655Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=808.171µs 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-05-12T11:23:08.253920155Z level=info msg="Executing migration" id="create org_user table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.254636432Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=715.636µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.258711233Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.259468522Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=757.069µs policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-05-12T11:23:08.262750771Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.263909251Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.1558ms 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-05-12T11:23:08.267462256Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.268584273Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.121588ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.273530029Z level=info msg="Executing migration" id="Update org table charset" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.273558681Z level=info msg="Migration successfully executed" id="Update org table charset" duration=29.492µs policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-05-12T11:23:08.276476012Z level=info msg="Executing migration" id="Update org_user table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.276502603Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=25.511µs 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-05-12T11:23:08.27974184Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.280019275Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=278.525µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.283435651Z level=info msg="Executing migration" id="create dashboard table" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.284590372Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.15313ms policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-05-12T11:23:08.29191084Z level=info msg="Executing migration" id="add index dashboard.account_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.292627097Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=716.217µs 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-05-12T11:23:08.297608654Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.298632368Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.022474ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.302813984Z level=info msg="Executing migration" id="create dashboard_tag table" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.303417355Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=603.431µs policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-05-12T11:23:08.309375464Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.310096141Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=720.447µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-05-12T11:23:08.313544659Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.314623025Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.077465ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.3179956Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.322766626Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=4.770436ms policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-05-12T11:23:08.325949111Z level=info msg="Executing migration" id="create dashboard v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.326649727Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=699.986µs grafana | logger=migrator t=2024-05-12T11:23:08.331808444Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-05-12T11:23:08.332450197Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=639.403µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.335647903Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.336410132Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=761.689µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.339533233Z level=info msg="Executing migration" id="copy dashboard v1 to v2" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-05-12T11:23:08.339842559Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=309.536µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.344923992Z level=info msg="Executing migration" id="drop table dashboard_v1" 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-05-12T11:23:08.345676302Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=751.92µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.350000575Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.350055838Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=55.433µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.35357288Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-05-12T11:23:08.355196664Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.623184ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.361220616Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.36285339Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.630595ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.366541051Z level=info msg="Executing migration" id="Add column gnetId in dashboard" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-05-12T11:23:08.368189887Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.648505ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.37115816Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-05-12T11:23:08.371882277Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=721.567µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.377170251Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.378810795Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.639894ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.38216625Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-05-12T11:23:08.382865206Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=698.695µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.385925294Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-05-12T11:23:08.386583888Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=657.923µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.392067841Z level=info msg="Executing migration" id="Update dashboard table charset" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.392094913Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=27.912µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.395752022Z level=info msg="Executing migration" id="Update dashboard_tag table charset" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-05-12T11:23:08.395781133Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=29.931µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.39899666Z level=info msg="Executing migration" id="Add column folder_id in dashboard" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-05-12T11:23:08.400783822Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.786342ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.407005794Z level=info msg="Executing migration" id="Add column isFolder in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.408757635Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.750891ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.412227624Z level=info msg="Executing migration" id="Add column has_acl in dashboard" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-05-12T11:23:08.413990456Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.763812ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.417583921Z level=info msg="Executing migration" id="Add column uid in dashboard" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-05-12T11:23:08.4206541Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.069939ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.426879033Z level=info msg="Executing migration" id="Update uid column values in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.427108035Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=229.201µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.429930151Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-05-12T11:23:08.430686909Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=756.368µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.433512186Z level=info msg="Executing migration" id="Remove unique index org_id_slug" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-05-12T11:23:08.434237033Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=724.157µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.436471519Z level=info msg="Executing migration" id="Update dashboard title length" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.43649675Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=26.131µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.44170749Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-05-12T11:23:08.44249321Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=785.01µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.446267725Z level=info msg="Executing migration" id="create dashboard_provisioning" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-05-12T11:23:08.44731589Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.048145ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.451652644Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.457129027Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.477184ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.463591852Z level=info msg="Executing migration" id="create dashboard_provisioning v2" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-05-12T11:23:08.46433243Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=741.868µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.46742063Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-05-12T11:23:08.468235592Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=814.551µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.47167765Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.472383757Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=705.997µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.479145286Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-05-12T11:23:08.479439101Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=293.605µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.482476028Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-05-12T11:23:08.482958294Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=481.946µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.486064305Z level=info msg="Executing migration" id="Add check_sum column" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.487954512Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=1.886997ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.492972922Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-05-12T11:23:08.493663037Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=689.626µs policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-05-12T11:23:08.496665952Z level=info msg="Executing migration" id="delete tags for deleted dashboards" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.496816421Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=152.639µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.499940332Z level=info msg="Executing migration" id="delete stars for deleted dashboards" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.50008975Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=149.288µs policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-05-12T11:23:08.503252884Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.504017053Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=765.29µs policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-05-12T11:23:08.510805245Z level=info msg="Executing migration" id="Add isPublic for dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.512903292Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.097627ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.516110688Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.517112851Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.001153ms policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-05-12T11:23:08.520531957Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.521421603Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=889.076µs policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-05-12T11:23:08.527715789Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.528563733Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=847.444µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.531844333Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.53257646Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=731.678µs policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-05-12T11:23:08.536265272Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.537053452Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=787.76µs 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-05-12T11:23:08.542836181Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.548580568Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=5.743357ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.551970994Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.552923684Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=952.169µs policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-05-12T11:23:08.591813835Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.59268066Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=866.725µ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-05-12T11:23:08.596318738Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.597210294Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=891.366µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.600724226Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.601688796Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=963.97µs policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-05-12T11:23:08.611395388Z level=info msg="Executing migration" id="Add column with_credentials" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.613692337Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.29833ms 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-05-12T11:23:08.616675161Z level=info msg="Executing migration" id="Add secure json data column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.618797321Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.12165ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.622189106Z level=info msg="Executing migration" id="Update data_source table charset" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.622214938Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=26.491µs policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-05-12T11:23:08.62921138Z level=info msg="Executing migration" id="Update initial version to 1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.62940479Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=193.54µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-05-12T11:23:08.632611816Z level=info msg="Executing migration" id="Add read_only data column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.634754047Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.142021ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.638278709Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.638463488Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=184.989µs policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-05-12T11:23:08.641921977Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.642062134Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=140.467µs 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-05-12T11:23:08.649468798Z level=info msg="Executing migration" id="Add uid column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.651613809Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.144681ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.656269659Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.65645227Z level=info msg="Migration successfully executed" id="Update uid value" duration=182.93µs policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-05-12T11:23:08.659405232Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.660122719Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=717.147µ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-05-12T11:23:08.665148259Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.665815614Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=667.104µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.669376468Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.670144537Z level=info msg="Migration successfully executed" id="create api_key table" duration=768.34µs policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-05-12T11:23:08.673418267Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.674151685Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=733.208µ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 policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.679705172Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.680398998Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=693.506µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.684053977Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-05-12T11:23:08.684783855Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=729.548µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.688701597Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 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-05-12T11:23:08.689398233Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=696.486µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.694889417Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.695556952Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=669.254µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.698978199Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-05-12T11:23:08.699627633Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=649.314µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.702958985Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 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-05-12T11:23:08.709367846Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.408151ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.71466054Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.715404019Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=742.649µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.718488529Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-05-12T11:23:08.719160973Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=672.284µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.724295649Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-05-12T11:23:08.724999585Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=701.236µs grafana | logger=migrator t=2024-05-12T11:23:08.728352298Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 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-05-12T11:23:08.729043964Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=691.286µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.732115574Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.73242123Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=305.255µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.735200423Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-05-12T11:23:08.735687848Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=487.095µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.740851386Z level=info msg="Executing migration" id="Update api_key table charset" 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-05-12T11:23:08.740877557Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=27.041µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.744003169Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.746293397Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.289759ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.7500202Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-05-12T11:23:08.752318729Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.298009ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.757337909Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-05-12T11:23:08.757478606Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=142.998µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.760991047Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.763281246Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.287889ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.766633929Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-05-12T11:23:08.769044154Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.409305ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.77361842Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-05-12T11:23:08.774299806Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=680.816µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.779237471Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.779716946Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=479.055µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.783314002Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-05-12T11:23:08.784128434Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=814.042µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.788152033Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-05-12T11:23:08.788836438Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=683.755µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.792672726Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.793429925Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=755.579µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.797148408Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-05-12T11:23:08.797834413Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=685.765µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.80260445Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 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-05-12T11:23:08.802665823Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=62.013µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.807022438Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.80705247Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=30.702µs policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-05-12T11:23:08.812620508Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.815145949Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.52306ms 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-05-12T11:23:08.819648792Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.822215155Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.565973ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.825730946Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.82579428Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=64.034µs policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-05-12T11:23:08.828298949Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.828948983Z level=info msg="Migration successfully executed" id="create quota table v1" duration=649.584µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.832118417Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.832833803Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=714.656µs policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-05-12T11:23:08.837188249Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.837217131Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=29.782µs policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-05-12T11:23:08.840712141Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.841431909Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=720.018µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.845090088Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.845832116Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=740.018µs policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-05-12T11:23:08.851098239Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.853771107Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.672228ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-05-12T11:23:08.857080978Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.85710883Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=31.652µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.860743017Z level=info msg="Executing migration" id="create session table" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.861518768Z level=info msg="Migration successfully executed" id="create session table" duration=775.391µs policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-05-12T11:23:08.866190069Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.866267423Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=77.954µs policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-05-12T11:23:08.869735053Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-05-12T11:23:08.869813197Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=78.544µs policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-05-12T11:23:08.872528488Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-05-12T11:23:08.87316378Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=634.842µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.877174937Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.878271315Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.096448ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.883109234Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-05-12T11:23:08.883154097Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=46.053µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.887640079Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-05-12T11:23:08.887668251Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=29.512µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.891154461Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.894348896Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.194125ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.898658799Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-05-12T11:23:08.901826813Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.167764ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.905189207Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2024-05-12T11:23:08.905274381Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=82.784µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.908665837Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.908886029Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=220.492µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.912740888Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-05-12T11:23:08.913618683Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=878.775µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.918227522Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-05-12T11:23:08.918251793Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=25.221µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.921964795Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.925632155Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.66656ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.929082433Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-05-12T11:23:08.929230481Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=148.428µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.932710731Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-05-12T11:23:08.93713668Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.414188ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.975941758Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.981164777Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=5.2289ms policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-05-12T11:23:08.986075041Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.986177647Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=103.066µs policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-05-12T11:23:08.991598217Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:08.992914816Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.319899ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.996433528Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:08.997711153Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.273446ms policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-05-12T11:23:09.001260238Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.002930293Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.670946ms policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-05-12T11:23:09.00895488Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.010347973Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.399344ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.014792736Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.015850823Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.058897ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-05-12T11:23:09.020862996Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.021912371Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.049765ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2024-05-12T11:23:09.026586107Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.027166457Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=583.02µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.030678672Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.031468663Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=783.491µs policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-05-12T11:23:09.03500626Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.035802101Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=775.97µs policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-05-12T11:23:09.040868378Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.053067869Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=12.196011ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.056610795Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.057282901Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=672.056µs policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-05-12T11:23:09.061735414Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.064524651Z 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=2.779026ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-05-12T11:23:09.068097769Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.068394225Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=296.817µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.07133693Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.071858287Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=521.437µs policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-05-12T11:23:09.075957172Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.0766677Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=711.178µs policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-05-12T11:23:09.080055438Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.084217146Z level=info msg="Migration successfully executed" id="Add column is_default" duration=4.147267ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.088071079Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.091865118Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.793869ms policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-05-12T11:23:09.097665573Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.10103057Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.365227ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-05-12T11:23:09.104569526Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.109675844Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=5.099838ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.113848584Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.114899909Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.054235ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-05-12T11:23:09.125915378Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.125972261Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=62.443µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.128371357Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.128399409Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=29.382µs policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-05-12T11:23:09.131926904Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.132861124Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=934.25µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.137391271Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.138313691Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=922.449µs policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-05-12T11:23:09.147956547Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.149328419Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.374971ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.156750359Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.158117642Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.367322ms policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-05-12T11:23:09.162590446Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.163509885Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=920.579µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.168253254Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.172324428Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.070764ms policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-05-12T11:23:09.176961381Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.181260458Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.292806ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-05-12T11:23:09.185814047Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.186069261Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=255.755µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.189913723Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.191064313Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.15029ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-05-12T11:23:09.198362537Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.199294695Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=931.938µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.203476376Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.20793374Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.456713ms policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-05-12T11:23:09.211324759Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.211416153Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=91.945µs policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-05-12T11:23:09.217471662Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.218332776Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=862.125µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.223406753Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.224275349Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=868.556µs policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-05-12T11:23:09.228648449Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.228740114Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=95.205µs policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-05-12T11:23:09.234502877Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.235503959Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.001372ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.240828979Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | msg grafana | logger=migrator t=2024-05-12T11:23:09.241842062Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.012843ms policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-05-12T11:23:09.245831342Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.246781962Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=949.3µs policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-05-12T11:23:09.252339774Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.253378509Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.038815ms policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-05-12T11:23:09.257644513Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.2589116Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.268687ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.263472789Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.264572308Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.100969ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-05-12T11:23:09.269296605Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.269338438Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=42.412µs policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-05-12T11:23:09.274456707Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.278452817Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.002631ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.28154908Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.282350312Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=801.132µs policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-05-12T11:23:09.286759644Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.291312343Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.530298ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.29523376Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-05-12T11:23:09.295879803Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=646.224µs grafana | logger=migrator t=2024-05-12T11:23:09.30438433Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.305898749Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.516139ms policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-05-12T11:23:09.311781108Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.313009104Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.200744ms 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 | grafana | logger=migrator t=2024-05-12T11:23:09.317565863Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.328042163Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=10.471581ms policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-05-12T11:23:09.355996073Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.357282441Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=1.289998ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.362872695Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.363812764Z 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=939.779µs policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-05-12T11:23:09.371901849Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.372278899Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=378.25µs policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-05-12T11:23:09.37552437Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.376133471Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=608.912µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.38027375Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.38047371Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=208.121µs policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-05-12T11:23:09.384012136Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.38865999Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.647364ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.392756875Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.398351579Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=5.593464ms policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-05-12T11:23:09.402981133Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.403968365Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=987.282µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.407196454Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.408141095Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=944.61µs policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-05-12T11:23:09.412532475Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.41319625Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=663.575µs policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-05-12T11:23:09.417774621Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.422935912Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.161572ms policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.427002546Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.428095863Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.093057ms policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-05-12T11:23:09.432167527Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.432341446Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=174.229µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.437263455Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.437672226Z level=info msg="Migration successfully executed" id="Move region to single row" duration=409.001µs policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-05-12T11:23:09.440415431Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.441495378Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.082618ms policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-05-12T11:23:09.444698166Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.445587613Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=889.267µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.451352946Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.452319597Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=966.251µs policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-05-12T11:23:09.456599622Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.457537201Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=937.359µs policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-05-12T11:23:09.461469858Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-05-12T11:23:09.462306732Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=836.673µs policy-db-migrator | grafana | logger=migrator t=2024-05-12T11:23:09.466796038Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-05-12T11:23:09.467660733Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=864.265µs policy-db-migrator | name version grafana | logger=migrator t=2024-05-12T11:23:09.470960356Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-05-12T11:23:09.47102965Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=69.204µs policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-05-12T11:23:09.475855644Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:18 grafana | logger=migrator t=2024-05-12T11:23:09.47692962Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.073856ms policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:18 grafana | logger=migrator t=2024-05-12T11:23:09.481402496Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:19 grafana | logger=migrator t=2024-05-12T11:23:09.482746666Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.348061ms policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:19 grafana | logger=migrator t=2024-05-12T11:23:09.486180387Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:19 grafana | logger=migrator t=2024-05-12T11:23:09.487439333Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.258516ms policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:19 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:20 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:20 grafana | logger=migrator t=2024-05-12T11:23:09.493065118Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:20 grafana | logger=migrator t=2024-05-12T11:23:09.494321555Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.259877ms policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:20 grafana | logger=migrator t=2024-05-12T11:23:09.499346238Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:21 grafana | logger=migrator t=2024-05-12T11:23:09.499690037Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=348.719µs policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:21 grafana | logger=migrator t=2024-05-12T11:23:09.505373946Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:21 grafana | logger=migrator t=2024-05-12T11:23:09.505937776Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=542.528µs policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:21 grafana | logger=migrator t=2024-05-12T11:23:09.515200832Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:22 grafana | logger=migrator t=2024-05-12T11:23:09.515328019Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=135.607µs policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:22 grafana | logger=migrator t=2024-05-12T11:23:09.522940729Z level=info msg="Executing migration" id="create team table" policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:22 grafana | logger=migrator t=2024-05-12T11:23:09.523977733Z level=info msg="Migration successfully executed" id="create team table" duration=1.034224ms policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:22 grafana | logger=migrator t=2024-05-12T11:23:09.531921961Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:23 grafana | logger=migrator t=2024-05-12T11:23:09.533572518Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.650557ms policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:23 grafana | logger=migrator t=2024-05-12T11:23:09.548816169Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:23 grafana | logger=migrator t=2024-05-12T11:23:09.550294147Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.476448ms policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:23 grafana | logger=migrator t=2024-05-12T11:23:09.555049547Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:24 grafana | logger=migrator t=2024-05-12T11:23:09.561427333Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=6.374445ms policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:24 grafana | logger=migrator t=2024-05-12T11:23:09.566425775Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:24 grafana | logger=migrator t=2024-05-12T11:23:09.566673608Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=248.493µs policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:24 grafana | logger=migrator t=2024-05-12T11:23:09.572706946Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:25 grafana | logger=migrator t=2024-05-12T11:23:09.573762681Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.051594ms policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:25 grafana | logger=migrator t=2024-05-12T11:23:09.579144984Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:25 grafana | logger=migrator t=2024-05-12T11:23:09.58041183Z level=info msg="Migration successfully executed" id="create team member table" duration=1.267766ms policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:25 grafana | logger=migrator t=2024-05-12T11:23:09.587264181Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:25 grafana | logger=migrator t=2024-05-12T11:23:09.588219651Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=954.779µs policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:25 grafana | logger=migrator t=2024-05-12T11:23:09.59735022Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:25 grafana | logger=migrator t=2024-05-12T11:23:09.598718243Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.367773ms policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:25 grafana | logger=migrator t=2024-05-12T11:23:09.603468303Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:25 grafana | logger=migrator t=2024-05-12T11:23:09.605157741Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.689188ms policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.610445369Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-05-12T11:23:09.614879213Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.432983ms grafana | logger=migrator t=2024-05-12T11:23:09.617896881Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.622215778Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.318386ms policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.629808917Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.634222869Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.411192ms policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.639164839Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.64013383Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=968.382µs policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.646911206Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.647745039Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=832.963µs policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.654417441Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.655344289Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=926.178µs policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.662721717Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.663561761Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=839.584µs policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.668643529Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.669479412Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=835.443µs policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.673944457Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.674745539Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=800.282µs policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.67895444Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.679760273Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=804.783µs policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.688991828Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.689868774Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=872.155µs policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.693078413Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.693501855Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=423.362µs policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.700212568Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-05-12T11:23:09.700425119Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=212.731µs policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.730815867Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.731474441Z level=info msg="Migration successfully executed" id="create tag table" duration=658.624µs policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:26 grafana | logger=migrator t=2024-05-12T11:23:09.736725897Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:27 grafana | logger=migrator t=2024-05-12T11:23:09.737563031Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=836.854µs policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:27 grafana | logger=migrator t=2024-05-12T11:23:09.742441888Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:27 grafana | logger=migrator t=2024-05-12T11:23:09.743090632Z level=info msg="Migration successfully executed" id="create login attempt table" duration=646.473µs policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:27 grafana | logger=migrator t=2024-05-12T11:23:09.750008066Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:27 grafana | logger=migrator t=2024-05-12T11:23:09.750803487Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=795.471µs policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:27 grafana | logger=migrator t=2024-05-12T11:23:09.753768203Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:27 grafana | logger=migrator t=2024-05-12T11:23:09.754559294Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=790.431µs policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:27 grafana | logger=migrator t=2024-05-12T11:23:09.758898983Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:27 grafana | logger=migrator t=2024-05-12T11:23:09.773273678Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=14.370255ms policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:27 grafana | logger=migrator t=2024-05-12T11:23:09.779928099Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:27 grafana | logger=migrator t=2024-05-12T11:23:09.780672118Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=745.939µs policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:27 grafana | logger=migrator t=2024-05-12T11:23:09.786446741Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:27 grafana | logger=migrator t=2024-05-12T11:23:09.78775467Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.307478ms policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:28 grafana | logger=migrator t=2024-05-12T11:23:09.792006904Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:28 grafana | logger=migrator t=2024-05-12T11:23:09.792258837Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=251.454µs policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:29 grafana | logger=migrator t=2024-05-12T11:23:09.800319931Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:29 grafana | logger=migrator t=2024-05-12T11:23:09.800846628Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=526.358µs policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:30 grafana | logger=migrator t=2024-05-12T11:23:09.805675472Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:30 grafana | logger=migrator t=2024-05-12T11:23:09.806383929Z level=info msg="Migration successfully executed" id="create user auth table" duration=708.047µs policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:30 grafana | logger=migrator t=2024-05-12T11:23:09.812560884Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:31 grafana | logger=migrator t=2024-05-12T11:23:09.81343241Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=870.955µs policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:31 grafana | logger=migrator t=2024-05-12T11:23:09.820431308Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:31 grafana | logger=migrator t=2024-05-12T11:23:09.820537403Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=143.257µs policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:32 grafana | logger=migrator t=2024-05-12T11:23:09.825515325Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:33 grafana | logger=migrator t=2024-05-12T11:23:09.83169617Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=6.180505ms policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:34 grafana | logger=migrator t=2024-05-12T11:23:09.840185226Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:34 grafana | logger=migrator t=2024-05-12T11:23:09.846223463Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=6.041867ms policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:34 grafana | logger=migrator t=2024-05-12T11:23:09.851527612Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:34 grafana | logger=migrator t=2024-05-12T11:23:09.857066583Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.540391ms policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:34 grafana | logger=migrator t=2024-05-12T11:23:09.86765842Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:34 grafana | logger=migrator t=2024-05-12T11:23:09.873901468Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=6.243628ms policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:34 grafana | logger=migrator t=2024-05-12T11:23:09.882250927Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1205241123180800u 1 2024-05-12 11:23:34 grafana | logger=migrator t=2024-05-12T11:23:09.883247989Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=996.932µs policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1205241123180900u 1 2024-05-12 11:23:34 grafana | logger=migrator t=2024-05-12T11:23:09.889972773Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1205241123180900u 1 2024-05-12 11:23:34 grafana | logger=migrator t=2024-05-12T11:23:09.89619224Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=6.218587ms policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1205241123180900u 1 2024-05-12 11:23:34 grafana | logger=migrator t=2024-05-12T11:23:09.903713606Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1205241123180900u 1 2024-05-12 11:23:34 grafana | logger=migrator t=2024-05-12T11:23:09.904781432Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.067295ms policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1205241123180900u 1 2024-05-12 11:23:34 grafana | logger=migrator t=2024-05-12T11:23:09.911635002Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1205241123180900u 1 2024-05-12 11:23:35 grafana | logger=migrator t=2024-05-12T11:23:09.912673647Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.037864ms policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1205241123180900u 1 2024-05-12 11:23:35 grafana | logger=migrator t=2024-05-12T11:23:09.918842631Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1205241123180900u 1 2024-05-12 11:23:35 grafana | logger=migrator t=2024-05-12T11:23:09.919901477Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.058216ms policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1205241123180900u 1 2024-05-12 11:23:35 grafana | logger=migrator t=2024-05-12T11:23:09.930260781Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1205241123180900u 1 2024-05-12 11:23:35 grafana | logger=migrator t=2024-05-12T11:23:09.931232913Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=971.231µs policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1205241123180900u 1 2024-05-12 11:23:35 grafana | logger=migrator t=2024-05-12T11:23:09.93785507Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1205241123180900u 1 2024-05-12 11:23:35 grafana | logger=migrator t=2024-05-12T11:23:09.938705975Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=850.715µs policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1205241123180900u 1 2024-05-12 11:23:35 grafana | logger=migrator t=2024-05-12T11:23:09.945703993Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1205241123181000u 1 2024-05-12 11:23:35 grafana | logger=migrator t=2024-05-12T11:23:09.947204642Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.499918ms policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1205241123181000u 1 2024-05-12 11:23:35 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1205241123181000u 1 2024-05-12 11:23:35 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1205241123181000u 1 2024-05-12 11:23:35 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1205241123181000u 1 2024-05-12 11:23:35 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1205241123181000u 1 2024-05-12 11:23:35 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1205241123181000u 1 2024-05-12 11:23:35 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1205241123181000u 1 2024-05-12 11:23:35 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1205241123181000u 1 2024-05-12 11:23:35 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1205241123181100u 1 2024-05-12 11:23:35 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1205241123181200u 1 2024-05-12 11:23:35 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1205241123181200u 1 2024-05-12 11:23:35 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1205241123181200u 1 2024-05-12 11:23:35 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1205241123181200u 1 2024-05-12 11:23:36 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1205241123181300u 1 2024-05-12 11:23:36 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1205241123181300u 1 2024-05-12 11:23:36 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1205241123181300u 1 2024-05-12 11:23:36 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-05-12T11:23:09.954652493Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-05-12T11:23:09.961962778Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=7.314605ms grafana | logger=migrator t=2024-05-12T11:23:09.970294555Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-05-12T11:23:09.974164059Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=3.868904ms grafana | logger=migrator t=2024-05-12T11:23:09.979463548Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-05-12T11:23:09.980441219Z level=info msg="Migration successfully executed" id="create cache_data table" duration=977.481µs grafana | logger=migrator t=2024-05-12T11:23:09.983443067Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-05-12T11:23:09.98445131Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.007974ms grafana | logger=migrator t=2024-05-12T11:23:09.988953306Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-05-12T11:23:09.989912006Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=958.51µs grafana | logger=migrator t=2024-05-12T11:23:09.997246262Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-05-12T11:23:09.998311068Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.063576ms grafana | logger=migrator t=2024-05-12T11:23:10.003239447Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-05-12T11:23:10.003347063Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=108.646µs grafana | logger=migrator t=2024-05-12T11:23:10.006706588Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-05-12T11:23:10.006834505Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=128.707µs grafana | logger=migrator t=2024-05-12T11:23:10.014339736Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-05-12T11:23:10.015713185Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.372768ms grafana | logger=migrator t=2024-05-12T11:23:10.018837069Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-05-12T11:23:10.020365684Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.531185ms grafana | logger=migrator t=2024-05-12T11:23:10.023601015Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-05-12T11:23:10.025200124Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.598018ms grafana | logger=migrator t=2024-05-12T11:23:10.029917987Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-05-12T11:23:10.029988611Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=71.404µs grafana | logger=migrator t=2024-05-12T11:23:10.036800357Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-05-12T11:23:10.038177816Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.377309ms grafana | logger=migrator t=2024-05-12T11:23:10.044568692Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-05-12T11:23:10.046295888Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.726725ms grafana | logger=migrator t=2024-05-12T11:23:10.11589184Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-05-12T11:23:10.117643547Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.754467ms grafana | logger=migrator t=2024-05-12T11:23:10.124684385Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-05-12T11:23:10.126230771Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.544386ms grafana | logger=migrator t=2024-05-12T11:23:10.132125963Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-05-12T11:23:10.138614945Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.488691ms grafana | logger=migrator t=2024-05-12T11:23:10.148690642Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-05-12T11:23:10.150150195Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.459083ms grafana | logger=migrator t=2024-05-12T11:23:10.156658887Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-05-12T11:23:10.156801764Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=143.387µs grafana | logger=migrator t=2024-05-12T11:23:10.163296965Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-05-12T11:23:10.164827471Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.528666ms grafana | logger=migrator t=2024-05-12T11:23:10.172740312Z 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-05-12T11:23:10.174807074Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=2.065782ms grafana | logger=migrator t=2024-05-12T11:23:10.181962458Z 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-05-12T11:23:10.184431961Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=2.469293ms grafana | logger=migrator t=2024-05-12T11:23:10.191653048Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-05-12T11:23:10.191755873Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=107.105µs grafana | logger=migrator t=2024-05-12T11:23:10.20037195Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-05-12T11:23:10.201473834Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.102425ms grafana | logger=migrator t=2024-05-12T11:23:10.211373694Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-05-12T11:23:10.212498619Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.123675ms grafana | logger=migrator t=2024-05-12T11:23:10.22182394Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2024-05-12T11:23:10.223376837Z 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.552207ms grafana | logger=migrator t=2024-05-12T11:23:10.228553484Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-05-12T11:23:10.229642777Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.089454ms grafana | logger=migrator t=2024-05-12T11:23:10.235302627Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-05-12T11:23:10.241598438Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.295541ms grafana | logger=migrator t=2024-05-12T11:23:10.250280858Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-05-12T11:23:10.251655876Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.381359ms grafana | logger=migrator t=2024-05-12T11:23:10.257844792Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-05-12T11:23:10.259112145Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.270553ms grafana | logger=migrator t=2024-05-12T11:23:10.26507105Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-05-12T11:23:10.296702424Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=31.629914ms grafana | logger=migrator t=2024-05-12T11:23:10.305750062Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-05-12T11:23:10.331876655Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=26.128383ms grafana | logger=migrator t=2024-05-12T11:23:10.335103794Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-05-12T11:23:10.335872582Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=768.628µs grafana | logger=migrator t=2024-05-12T11:23:10.340740693Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-05-12T11:23:10.342117611Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.376868ms grafana | logger=migrator t=2024-05-12T11:23:10.351979079Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-05-12T11:23:10.361248177Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.268328ms grafana | logger=migrator t=2024-05-12T11:23:10.366248015Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-05-12T11:23:10.370327056Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=4.078641ms grafana | logger=migrator t=2024-05-12T11:23:10.376246969Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-05-12T11:23:10.377341164Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.092985ms grafana | logger=migrator t=2024-05-12T11:23:10.383634235Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-05-12T11:23:10.385246645Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.6119ms grafana | logger=migrator t=2024-05-12T11:23:10.391509815Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-05-12T11:23:10.392572197Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.061852ms grafana | logger=migrator t=2024-05-12T11:23:10.398021426Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-05-12T11:23:10.400385094Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=2.362257ms grafana | logger=migrator t=2024-05-12T11:23:10.40942162Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-05-12T11:23:10.409555957Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=135.777µs grafana | logger=migrator t=2024-05-12T11:23:10.414893541Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-05-12T11:23:10.421702148Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.805537ms grafana | logger=migrator t=2024-05-12T11:23:10.426315196Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-05-12T11:23:10.430591198Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.275192ms grafana | logger=migrator t=2024-05-12T11:23:10.433832778Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-05-12T11:23:10.440612933Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.777105ms grafana | logger=migrator t=2024-05-12T11:23:10.44580459Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-05-12T11:23:10.446487314Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=683.114µs grafana | logger=migrator t=2024-05-12T11:23:10.453127933Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-05-12T11:23:10.453918192Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=789.178µs grafana | logger=migrator t=2024-05-12T11:23:10.462319327Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-05-12T11:23:10.468483952Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.169635ms grafana | logger=migrator t=2024-05-12T11:23:10.513047577Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-05-12T11:23:10.518746148Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.703562ms grafana | logger=migrator t=2024-05-12T11:23:10.526416348Z 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-05-12T11:23:10.527340214Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=923.575µs grafana | logger=migrator t=2024-05-12T11:23:10.533625075Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-05-12T11:23:10.542852391Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.226996ms grafana | logger=migrator t=2024-05-12T11:23:10.550255998Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-05-12T11:23:10.560476853Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=10.222185ms grafana | logger=migrator t=2024-05-12T11:23:10.565753304Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-05-12T11:23:10.565822147Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=68.183µs grafana | logger=migrator t=2024-05-12T11:23:10.57133971Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-05-12T11:23:10.573217144Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.877093ms grafana | logger=migrator t=2024-05-12T11:23:10.581352816Z 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-05-12T11:23:10.58244508Z 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.091434ms grafana | logger=migrator t=2024-05-12T11:23:10.588363042Z 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-05-12T11:23:10.590060617Z 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.697025ms grafana | logger=migrator t=2024-05-12T11:23:10.596981269Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-05-12T11:23:10.597109835Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=132.817µs grafana | logger=migrator t=2024-05-12T11:23:10.606132191Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-05-12T11:23:10.615371989Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.240538ms grafana | logger=migrator t=2024-05-12T11:23:10.620528684Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-05-12T11:23:10.627215255Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.68669ms grafana | logger=migrator t=2024-05-12T11:23:10.632685005Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-05-12T11:23:10.639336504Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.651049ms grafana | logger=migrator t=2024-05-12T11:23:10.649015313Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-05-12T11:23:10.658448439Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=9.434226ms grafana | logger=migrator t=2024-05-12T11:23:10.663449027Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-05-12T11:23:10.6689709Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=5.521683ms grafana | logger=migrator t=2024-05-12T11:23:10.673320695Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-05-12T11:23:10.673385828Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=66.743µs grafana | logger=migrator t=2024-05-12T11:23:10.68130634Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-05-12T11:23:10.682157633Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=851.513µs grafana | logger=migrator t=2024-05-12T11:23:10.687409682Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-05-12T11:23:10.696356365Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.947163ms grafana | logger=migrator t=2024-05-12T11:23:10.700056398Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-05-12T11:23:10.700135112Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=78.204µs grafana | logger=migrator t=2024-05-12T11:23:10.705370221Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-05-12T11:23:10.712201168Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.833317ms grafana | logger=migrator t=2024-05-12T11:23:10.719546492Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-05-12T11:23:10.720958171Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.409639ms grafana | logger=migrator t=2024-05-12T11:23:10.728049793Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-05-12T11:23:10.736744233Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.69489ms grafana | logger=migrator t=2024-05-12T11:23:10.742641954Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-05-12T11:23:10.743507367Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=864.303µs grafana | logger=migrator t=2024-05-12T11:23:10.752418119Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-05-12T11:23:10.753998346Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.581278ms grafana | logger=migrator t=2024-05-12T11:23:10.759519439Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-05-12T11:23:10.766567328Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.047039ms grafana | logger=migrator t=2024-05-12T11:23:10.772002187Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-05-12T11:23:10.772973765Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=972.008µs grafana | logger=migrator t=2024-05-12T11:23:10.781670545Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-05-12T11:23:10.783221572Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.550827ms grafana | logger=migrator t=2024-05-12T11:23:10.790721293Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-05-12T11:23:10.791613147Z level=info msg="Migration successfully executed" id="create alert_image table" duration=891.814µs grafana | logger=migrator t=2024-05-12T11:23:10.798635904Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-05-12T11:23:10.800305907Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.669393ms grafana | logger=migrator t=2024-05-12T11:23:10.810413747Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-05-12T11:23:10.810499291Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=87.804µs grafana | logger=migrator t=2024-05-12T11:23:10.814401885Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-05-12T11:23:10.815551351Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.149436ms grafana | logger=migrator t=2024-05-12T11:23:10.821110356Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-05-12T11:23:10.822670634Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.560558ms grafana | logger=migrator t=2024-05-12T11:23:10.83170513Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-05-12T11:23:10.832176444Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-05-12T11:23:10.838339488Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-05-12T11:23:10.839221993Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=883.054µs grafana | logger=migrator t=2024-05-12T11:23:10.846346054Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-05-12T11:23:10.848034918Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.684774ms grafana | logger=migrator t=2024-05-12T11:23:10.858524558Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-05-12T11:23:10.8672764Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.753393ms grafana | logger=migrator t=2024-05-12T11:23:10.873497838Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-05-12T11:23:10.874322288Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=825.06µs grafana | logger=migrator t=2024-05-12T11:23:10.879471753Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-05-12T11:23:10.881268043Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.794189ms grafana | logger=migrator t=2024-05-12T11:23:10.888469458Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-05-12T11:23:10.889379084Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=909.236µs grafana | logger=migrator t=2024-05-12T11:23:10.926960793Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-05-12T11:23:10.929106159Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=2.145797ms grafana | logger=migrator t=2024-05-12T11:23:10.93499326Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-05-12T11:23:10.93621631Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.22285ms grafana | logger=migrator t=2024-05-12T11:23:10.941390016Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-05-12T11:23:10.94146281Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=71.134µs grafana | logger=migrator t=2024-05-12T11:23:10.948232895Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-05-12T11:23:10.948343291Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=111.586µs grafana | logger=migrator t=2024-05-12T11:23:10.954995979Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-05-12T11:23:10.955376878Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=380.339µs grafana | logger=migrator t=2024-05-12T11:23:10.964006205Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-05-12T11:23:10.965774853Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.771128ms grafana | logger=migrator t=2024-05-12T11:23:10.974372828Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-05-12T11:23:10.976327265Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.956957ms grafana | logger=migrator t=2024-05-12T11:23:10.983133351Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-05-12T11:23:11.015197261Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=32.06775ms grafana | logger=migrator t=2024-05-12T11:23:11.020425151Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-05-12T11:23:11.025603738Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.179027ms grafana | logger=migrator t=2024-05-12T11:23:11.029124243Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-05-12T11:23:11.029232258Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=108.125µs grafana | logger=migrator t=2024-05-12T11:23:11.032709932Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-05-12T11:23:11.064373406Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=31.662313ms grafana | logger=migrator t=2024-05-12T11:23:11.069441058Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-05-12T11:23:11.096030929Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=26.589301ms grafana | logger=migrator t=2024-05-12T11:23:11.100105402Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-05-12T11:23:11.1012844Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.182818ms grafana | logger=migrator t=2024-05-12T11:23:11.104862708Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-05-12T11:23:11.105839447Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=976.129µs grafana | logger=migrator t=2024-05-12T11:23:11.111762481Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-05-12T11:23:11.111990332Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=228.181µs grafana | logger=migrator t=2024-05-12T11:23:11.115638214Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-05-12T11:23:11.116491257Z level=info msg="Migration successfully executed" id="create permission table" duration=852.944µs grafana | logger=migrator t=2024-05-12T11:23:11.120487265Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-05-12T11:23:11.121433752Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=945.896µs grafana | logger=migrator t=2024-05-12T11:23:11.126195809Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-05-12T11:23:11.127269382Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.073233ms grafana | logger=migrator t=2024-05-12T11:23:11.13205634Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-05-12T11:23:11.132886231Z level=info msg="Migration successfully executed" id="create role table" duration=829.761µs grafana | logger=migrator t=2024-05-12T11:23:11.137268939Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-05-12T11:23:11.14452683Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.254911ms grafana | logger=migrator t=2024-05-12T11:23:11.151349839Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-05-12T11:23:11.158313206Z level=info msg="Migration successfully executed" id="add column group_name" duration=6.962716ms grafana | logger=migrator t=2024-05-12T11:23:11.162802078Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-05-12T11:23:11.163717623Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=915.505µs grafana | logger=migrator t=2024-05-12T11:23:11.167944264Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-05-12T11:23:11.168897931Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=953.367µs grafana | logger=migrator t=2024-05-12T11:23:11.172723432Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-05-12T11:23:11.173726171Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.002239ms grafana | logger=migrator t=2024-05-12T11:23:11.180182282Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-05-12T11:23:11.180963401Z level=info msg="Migration successfully executed" id="create team role table" duration=780.919µs grafana | logger=migrator t=2024-05-12T11:23:11.197525865Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-05-12T11:23:11.198581427Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.056753ms grafana | logger=migrator t=2024-05-12T11:23:11.216911947Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-05-12T11:23:11.217994212Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.081875ms grafana | logger=migrator t=2024-05-12T11:23:11.232753765Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-05-12T11:23:11.233753315Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=999.829µs grafana | logger=migrator t=2024-05-12T11:23:11.243944571Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-05-12T11:23:11.244759082Z level=info msg="Migration successfully executed" id="create user role table" duration=814.051µs grafana | logger=migrator t=2024-05-12T11:23:11.258917905Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-05-12T11:23:11.260260703Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.347048ms grafana | logger=migrator t=2024-05-12T11:23:11.306144213Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-05-12T11:23:11.307320782Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.179169ms grafana | logger=migrator t=2024-05-12T11:23:11.323877475Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-05-12T11:23:11.324876754Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=999.339µs grafana | logger=migrator t=2024-05-12T11:23:11.336274401Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-05-12T11:23:11.337121003Z level=info msg="Migration successfully executed" id="create builtin role table" duration=846.952µs grafana | logger=migrator t=2024-05-12T11:23:11.346144502Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-05-12T11:23:11.347159822Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.01486ms grafana | logger=migrator t=2024-05-12T11:23:11.363533246Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-05-12T11:23:11.364674573Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.142276ms grafana | logger=migrator t=2024-05-12T11:23:11.375618897Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-05-12T11:23:11.383292338Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.672442ms grafana | logger=migrator t=2024-05-12T11:23:11.390898987Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-05-12T11:23:11.391877965Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=979.018µs grafana | logger=migrator t=2024-05-12T11:23:11.397440572Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-05-12T11:23:11.39842065Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=983.149µs grafana | logger=migrator t=2024-05-12T11:23:11.402259051Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-05-12T11:23:11.403205028Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=950.687µs grafana | logger=migrator t=2024-05-12T11:23:11.408913472Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-05-12T11:23:11.411067889Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=2.160988ms grafana | logger=migrator t=2024-05-12T11:23:11.417278908Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-05-12T11:23:11.418425994Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.147977ms grafana | logger=migrator t=2024-05-12T11:23:11.422262005Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-05-12T11:23:11.423428573Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.166328ms grafana | logger=migrator t=2024-05-12T11:23:11.428584659Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-05-12T11:23:11.437600747Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.011258ms grafana | logger=migrator t=2024-05-12T11:23:11.441348134Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-05-12T11:23:11.451389893Z level=info msg="Migration successfully executed" id="permission kind migration" duration=10.042089ms grafana | logger=migrator t=2024-05-12T11:23:11.455003432Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-05-12T11:23:11.460736168Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.732476ms grafana | logger=migrator t=2024-05-12T11:23:11.470370487Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-05-12T11:23:11.481935731Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=11.567005ms grafana | logger=migrator t=2024-05-12T11:23:11.487632745Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-05-12T11:23:11.489464396Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.830042ms grafana | logger=migrator t=2024-05-12T11:23:11.496422091Z level=info msg="Executing migration" id="add permission action scope role_id index" grafana | logger=migrator t=2024-05-12T11:23:11.497690435Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.267994ms grafana | logger=migrator t=2024-05-12T11:23:11.505673572Z level=info msg="Executing migration" id="remove permission role_id action scope index" grafana | logger=migrator t=2024-05-12T11:23:11.507273401Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.599789ms grafana | logger=migrator t=2024-05-12T11:23:11.51330436Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-05-12T11:23:11.514271549Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=967.599µs grafana | logger=migrator t=2024-05-12T11:23:11.51913442Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-05-12T11:23:11.520276297Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.141637ms grafana | logger=migrator t=2024-05-12T11:23:11.525604222Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-05-12T11:23:11.525676386Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=72.874µs grafana | logger=migrator t=2024-05-12T11:23:11.531673034Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-05-12T11:23:11.531772249Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=100.615µs grafana | logger=migrator t=2024-05-12T11:23:11.538831779Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-05-12T11:23:11.539594808Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=763.519µs grafana | logger=migrator t=2024-05-12T11:23:11.546820536Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-05-12T11:23:11.547922772Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.105176ms grafana | logger=migrator t=2024-05-12T11:23:11.555581312Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-05-12T11:23:11.55695012Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.388399ms grafana | logger=migrator t=2024-05-12T11:23:11.566026401Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-05-12T11:23:11.566262623Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=233.492µs grafana | logger=migrator t=2024-05-12T11:23:11.570671132Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-05-12T11:23:11.571397698Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=726.796µs grafana | logger=migrator t=2024-05-12T11:23:11.578488121Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-05-12T11:23:11.579910011Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.42122ms grafana | logger=migrator t=2024-05-12T11:23:11.583698819Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-05-12T11:23:11.585491199Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.7906ms grafana | logger=migrator t=2024-05-12T11:23:11.598501446Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-05-12T11:23:11.610282521Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=11.777085ms grafana | logger=migrator t=2024-05-12T11:23:11.613930762Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-05-12T11:23:11.614005096Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=74.874µs grafana | logger=migrator t=2024-05-12T11:23:11.618247257Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-05-12T11:23:11.619299009Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.051112ms grafana | logger=migrator t=2024-05-12T11:23:11.624058036Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-05-12T11:23:11.625024384Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=966.298µs grafana | logger=migrator t=2024-05-12T11:23:11.628505307Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-05-12T11:23:11.63017497Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.669964ms grafana | logger=migrator t=2024-05-12T11:23:11.635098145Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-05-12T11:23:11.644035989Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.936964ms grafana | logger=migrator t=2024-05-12T11:23:11.647664739Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-05-12T11:23:11.648413407Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=748.768µs grafana | logger=migrator t=2024-05-12T11:23:11.651733812Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-05-12T11:23:11.652481769Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=747.857µs grafana | logger=migrator t=2024-05-12T11:23:11.680452489Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-05-12T11:23:11.703288094Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=22.834115ms grafana | logger=migrator t=2024-05-12T11:23:11.706664002Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-05-12T11:23:11.707470413Z level=info msg="Migration successfully executed" id="create correlation v2" duration=805.88µs grafana | logger=migrator t=2024-05-12T11:23:11.7118546Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-05-12T11:23:11.712939904Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.085164ms grafana | logger=migrator t=2024-05-12T11:23:11.716719102Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-05-12T11:23:11.717939092Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.2199ms grafana | logger=migrator t=2024-05-12T11:23:11.72190929Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-05-12T11:23:11.723012265Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.102764ms grafana | logger=migrator t=2024-05-12T11:23:11.729032584Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-05-12T11:23:11.729447674Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=415.13µs grafana | logger=migrator t=2024-05-12T11:23:11.733005102Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-05-12T11:23:11.734230012Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.227051ms grafana | logger=migrator t=2024-05-12T11:23:11.73860512Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-05-12T11:23:11.747534184Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.938385ms grafana | logger=migrator t=2024-05-12T11:23:11.751647468Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-05-12T11:23:11.752586045Z level=info msg="Migration successfully executed" id="create entity_events table" duration=938.547µs grafana | logger=migrator t=2024-05-12T11:23:11.756638326Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-05-12T11:23:11.757762232Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.123596ms grafana | logger=migrator t=2024-05-12T11:23:11.762387422Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-05-12T11:23:11.763063515Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-05-12T11:23:11.767282735Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-05-12T11:23:11.768008501Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-05-12T11:23:11.771721426Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-05-12T11:23:11.772577549Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=855.752µs grafana | logger=migrator t=2024-05-12T11:23:11.777113783Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-05-12T11:23:11.778198348Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.084505ms grafana | logger=migrator t=2024-05-12T11:23:11.782164235Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-05-12T11:23:11.783350864Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.186269ms grafana | logger=migrator t=2024-05-12T11:23:11.787426846Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-05-12T11:23:11.789036637Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.608191ms grafana | logger=migrator t=2024-05-12T11:23:11.793669447Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-05-12T11:23:11.795289547Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.620021ms grafana | logger=migrator t=2024-05-12T11:23:11.798724698Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-05-12T11:23:11.800020933Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.295445ms grafana | logger=migrator t=2024-05-12T11:23:11.803246873Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-05-12T11:23:11.804075204Z level=info msg="Migration successfully executed" id="Drop public config table" duration=827.601µs grafana | logger=migrator t=2024-05-12T11:23:11.808229211Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-05-12T11:23:11.809463172Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.235431ms grafana | logger=migrator t=2024-05-12T11:23:11.814200208Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-05-12T11:23:11.815948244Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.747646ms grafana | logger=migrator t=2024-05-12T11:23:11.820577524Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-05-12T11:23:11.822278299Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.698275ms grafana | logger=migrator t=2024-05-12T11:23:11.825540671Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-05-12T11:23:11.826687008Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.145447ms grafana | logger=migrator t=2024-05-12T11:23:11.83014696Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-05-12T11:23:11.853408217Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=23.261047ms grafana | logger=migrator t=2024-05-12T11:23:11.857529001Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-05-12T11:23:11.864772771Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.24259ms grafana | logger=migrator t=2024-05-12T11:23:11.868099457Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-05-12T11:23:11.877257942Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=9.158174ms grafana | logger=migrator t=2024-05-12T11:23:11.881128555Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-05-12T11:23:11.881297393Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=169.008µs grafana | logger=migrator t=2024-05-12T11:23:11.883744765Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-05-12T11:23:11.889862329Z level=info msg="Migration successfully executed" id="add share column" duration=6.117174ms grafana | logger=migrator t=2024-05-12T11:23:11.895296759Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-05-12T11:23:11.89552653Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=230.251µs grafana | logger=migrator t=2024-05-12T11:23:11.899430804Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-05-12T11:23:11.90096075Z level=info msg="Migration successfully executed" id="create file table" duration=1.529546ms grafana | logger=migrator t=2024-05-12T11:23:11.905028312Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-05-12T11:23:11.906493535Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.465893ms grafana | logger=migrator t=2024-05-12T11:23:11.911119285Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-05-12T11:23:11.912281793Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.162008ms grafana | logger=migrator t=2024-05-12T11:23:11.915744745Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-05-12T11:23:11.916620788Z level=info msg="Migration successfully executed" id="create file_meta table" duration=875.493µs grafana | logger=migrator t=2024-05-12T11:23:11.919940103Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-05-12T11:23:11.921140943Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.20053ms grafana | logger=migrator t=2024-05-12T11:23:11.927480538Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-05-12T11:23:11.927552882Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=73.234µs grafana | logger=migrator t=2024-05-12T11:23:11.930885337Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-05-12T11:23:11.930958801Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=87.245µs grafana | logger=migrator t=2024-05-12T11:23:11.935011973Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-05-12T11:23:11.935898917Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=883.313µs grafana | logger=migrator t=2024-05-12T11:23:11.940060734Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-05-12T11:23:11.9403873Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=326.576µs grafana | logger=migrator t=2024-05-12T11:23:11.945255371Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-05-12T11:23:11.946691043Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.437502ms grafana | logger=migrator t=2024-05-12T11:23:11.95104907Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-05-12T11:23:11.964865326Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=13.816936ms grafana | logger=migrator t=2024-05-12T11:23:11.969459675Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-05-12T11:23:11.969658815Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=199.38µs grafana | logger=migrator t=2024-05-12T11:23:11.973322956Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-05-12T11:23:11.974459824Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.136647ms grafana | logger=migrator t=2024-05-12T11:23:11.978976788Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-05-12T11:23:11.979375448Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=399.23µs grafana | logger=migrator t=2024-05-12T11:23:11.983361056Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-05-12T11:23:11.983573296Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=212.49µs grafana | logger=migrator t=2024-05-12T11:23:11.987298391Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-05-12T11:23:11.987757285Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=458.754µs grafana | logger=migrator t=2024-05-12T11:23:11.992252128Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-05-12T11:23:12.001267816Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.014937ms grafana | logger=migrator t=2024-05-12T11:23:12.004913082Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-05-12T11:23:12.015173058Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=10.251126ms grafana | logger=migrator t=2024-05-12T11:23:12.020401849Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-05-12T11:23:12.022400873Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.994724ms grafana | logger=migrator t=2024-05-12T11:23:12.027059385Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-05-12T11:23:12.101293594Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=74.231328ms grafana | logger=migrator t=2024-05-12T11:23:12.106458672Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-05-12T11:23:12.107661984Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.204282ms grafana | logger=migrator t=2024-05-12T11:23:12.111276542Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-05-12T11:23:12.112537367Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.259725ms grafana | logger=migrator t=2024-05-12T11:23:12.116724604Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-05-12T11:23:12.143426758Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=26.702184ms grafana | logger=migrator t=2024-05-12T11:23:12.146797153Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-05-12T11:23:12.153132362Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=6.335929ms grafana | logger=migrator t=2024-05-12T11:23:12.156476145Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-05-12T11:23:12.156804662Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=328.377µs grafana | logger=migrator t=2024-05-12T11:23:12.162010452Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-05-12T11:23:12.162333689Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=331.567µs grafana | logger=migrator t=2024-05-12T11:23:12.166399539Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-05-12T11:23:12.166745468Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=345.769µs grafana | logger=migrator t=2024-05-12T11:23:12.170397887Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-05-12T11:23:12.17065389Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=256.923µs grafana | logger=migrator t=2024-05-12T11:23:12.17393294Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-05-12T11:23:12.174215565Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=281.645µs grafana | logger=migrator t=2024-05-12T11:23:12.179026685Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-05-12T11:23:12.180968646Z level=info msg="Migration successfully executed" id="create folder table" duration=1.945921ms grafana | logger=migrator t=2024-05-12T11:23:12.185275078Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-05-12T11:23:12.18664026Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.364512ms grafana | logger=migrator t=2024-05-12T11:23:12.191518462Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-05-12T11:23:12.1928257Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.303178ms grafana | logger=migrator t=2024-05-12T11:23:12.197530875Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-05-12T11:23:12.197617779Z level=info msg="Migration successfully executed" id="Update folder title length" duration=95.855µs grafana | logger=migrator t=2024-05-12T11:23:12.20208485Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-05-12T11:23:12.203482613Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.398433ms grafana | logger=migrator t=2024-05-12T11:23:12.207107771Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-05-12T11:23:12.208794369Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.687037ms grafana | logger=migrator t=2024-05-12T11:23:12.212990786Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-05-12T11:23:12.214278973Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.284637ms grafana | logger=migrator t=2024-05-12T11:23:12.2180859Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-05-12T11:23:12.218713202Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=630.702µs grafana | logger=migrator t=2024-05-12T11:23:12.22233563Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-05-12T11:23:12.222643166Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=306.466µs grafana | logger=migrator t=2024-05-12T11:23:12.227411563Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-05-12T11:23:12.228739673Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.32944ms grafana | logger=migrator t=2024-05-12T11:23:12.232865286Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-05-12T11:23:12.234421627Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.559681ms grafana | logger=migrator t=2024-05-12T11:23:12.238314309Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-05-12T11:23:12.239510461Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.201353ms grafana | logger=migrator t=2024-05-12T11:23:12.243615944Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-05-12T11:23:12.24490815Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.291586ms grafana | logger=migrator t=2024-05-12T11:23:12.248287386Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-05-12T11:23:12.249410234Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.123078ms grafana | logger=migrator t=2024-05-12T11:23:12.254405083Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-05-12T11:23:12.255396074Z level=info msg="Migration successfully executed" id="create anon_device table" duration=988.501µs grafana | logger=migrator t=2024-05-12T11:23:12.26070198Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-05-12T11:23:12.263107024Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.418855ms grafana | logger=migrator t=2024-05-12T11:23:12.266813546Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-05-12T11:23:12.268052421Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.238655ms grafana | logger=migrator t=2024-05-12T11:23:12.272516582Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-05-12T11:23:12.274101565Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.579712ms grafana | logger=migrator t=2024-05-12T11:23:12.278316913Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-05-12T11:23:12.280040632Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.723059ms grafana | logger=migrator t=2024-05-12T11:23:12.283741064Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-05-12T11:23:12.285019211Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.276587ms grafana | logger=migrator t=2024-05-12T11:23:12.289824259Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-05-12T11:23:12.290150207Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=326.638µs grafana | logger=migrator t=2024-05-12T11:23:12.29348473Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-05-12T11:23:12.30409786Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=10.61269ms grafana | logger=migrator t=2024-05-12T11:23:12.309062077Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-05-12T11:23:12.309924622Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=862.925µs grafana | logger=migrator t=2024-05-12T11:23:12.314591034Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-05-12T11:23:12.315838389Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.246855ms grafana | logger=migrator t=2024-05-12T11:23:12.319042085Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-05-12T11:23:12.320251387Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.209422ms grafana | logger=migrator t=2024-05-12T11:23:12.323538858Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-05-12T11:23:12.324686197Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.147349ms grafana | logger=migrator t=2024-05-12T11:23:12.329329589Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-05-12T11:23:12.330553592Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.220812ms grafana | logger=migrator t=2024-05-12T11:23:12.335157421Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-05-12T11:23:12.336345072Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.184181ms grafana | logger=migrator t=2024-05-12T11:23:12.339716376Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-05-12T11:23:12.340829675Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.113269ms grafana | logger=migrator t=2024-05-12T11:23:12.3474878Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-05-12T11:23:12.348319923Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=832.722µs grafana | logger=migrator t=2024-05-12T11:23:12.351735Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-05-12T11:23:12.352032376Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=297.726µs grafana | logger=migrator t=2024-05-12T11:23:12.355653353Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-05-12T11:23:12.355752058Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=99.485µs grafana | logger=migrator t=2024-05-12T11:23:12.3611816Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-05-12T11:23:12.372801622Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=11.620542ms grafana | logger=migrator t=2024-05-12T11:23:12.376359146Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-05-12T11:23:12.383044074Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=6.733249ms grafana | logger=migrator t=2024-05-12T11:23:12.386821709Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-05-12T11:23:12.387163127Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=342.168µs grafana | logger=migrator t=2024-05-12T11:23:12.391350714Z level=info msg="migrations completed" performed=548 skipped=0 duration=4.441200046s grafana | logger=sqlstore t=2024-05-12T11:23:12.401208685Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-05-12T11:23:12.401512661Z level=info msg="Created default organization" grafana | logger=secrets t=2024-05-12T11:23:12.405299678Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-05-12T11:23:12.435283252Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-05-12T11:23:12.481569972Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-05-12T11:23:12.481610334Z level=info msg="Plugins loaded" count=55 duration=46.327662ms grafana | logger=query_data t=2024-05-12T11:23:12.484540336Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-05-12T11:23:12.488613007Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-05-12T11:23:12.502778111Z level=info msg=Starting grafana | logger=ngalert.migration t=2024-05-12T11:23:12.503518881Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false grafana | logger=ngalert.migration orgID=1 t=2024-05-12T11:23:12.50408002Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-05-12T11:23:12.504855989Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration t=2024-05-12T11:23:12.507144838Z level=info msg="Completed alerting migration" grafana | logger=ngalert.state.manager t=2024-05-12T11:23:12.536187724Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-05-12T11:23:12.538770508Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-05-12T11:23:12.541370673Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-05-12T11:23:12.556044363Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-05-12T11:23:12.556067216Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-05-12T11:23:12.556461156Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-05-12T11:23:12.558382585Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2024-05-12T11:23:12.559399978Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.multiorg.alertmanager t=2024-05-12T11:23:12.569801247Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.state.manager t=2024-05-12T11:23:12.635191388Z level=info msg="State cache has been initialized" states=0 duration=76.804473ms grafana | logger=ngalert.scheduler t=2024-05-12T11:23:12.635255191Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-05-12T11:23:12.635325545Z level=info msg=starting first_tick=2024-05-12T11:23:20Z grafana | logger=grafana.update.checker t=2024-05-12T11:23:12.6570129Z level=info msg="Update check succeeded" duration=100.625268ms grafana | logger=provisioning.dashboard t=2024-05-12T11:23:12.660576924Z level=info msg="starting to provision dashboards" grafana | logger=plugins.update.checker t=2024-05-12T11:23:12.687580754Z level=info msg="Update check succeeded" duration=130.279015ms grafana | logger=provisioning.dashboard t=2024-05-12T11:23:12.937958647Z level=info msg="finished to provision dashboards" grafana | logger=grafana-apiserver t=2024-05-12T11:23:12.980028289Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-05-12T11:23:12.980765887Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=infra.usagestats t=2024-05-12T11:23:55.563267565Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing prometheus ... done Removing grafana ... 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 + rsync /w/workspace/policy-api-master-project-csit-api/compose/docker_compose.log /w/workspace/policy-api-master-project-csit-api/csit/archives/api + [[ -n /tmp/tmp.FPLYs1PcAv ]] + rsync -av /tmp/tmp.FPLYs1PcAv/ /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,796 bytes received 95 bytes 2,713,782.00 bytes/sec total size is 1,356,150 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 2067 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! -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/jenkins6116534520138689147.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins15040540369546365325.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/jenkins15217799272780088304.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-aFjK from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-aFjK/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins5262402508326565613.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config8501295697236171968tmp 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/jenkins9750766131082641486.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins11245526232038671844.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-aFjK from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-aFjK/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins2287928676345158567.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins5621463405356745081.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-aFjK 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-aFjK/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/jenkins6554716934114413867.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-aFjK from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-aFjK/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1641 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-2412 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 875 27085 0 4206 30835 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:1d:ea:2f brd ff:ff:ff:ff:ff:ff inet 10.30.106.146/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 85993sec preferred_lft 85993sec inet6 fe80::f816:3eff:fe1d:ea2f/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:4e:3c:d5:82 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-2412) 05/12/24 _x86_64_ (8 CPU) 11:19:28 LINUX RESTART (8 CPU) 11:20:02 tps rtps wtps bread/s bwrtn/s 11:21:01 388.33 72.60 315.73 4699.22 32953.47 11:22:01 96.23 13.76 82.47 1125.15 28830.13 11:23:01 152.28 9.68 142.60 1699.13 72988.27 11:24:01 301.50 15.01 286.49 802.23 38282.09 11:25:01 14.90 0.00 14.90 0.00 19546.86 11:26:01 67.82 1.97 65.86 112.38 23455.76 Average: 169.61 18.69 150.91 1397.63 36020.73 11:20:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:21:01 30139404 31692744 2799816 8.50 67212 1798088 1444184 4.25 879004 1633252 128872 11:22:01 29829668 31655868 3109552 9.44 82716 2042712 1476496 4.34 936472 1856328 140076 11:23:01 27790652 31630336 5148568 15.63 116504 3946976 1450756 4.27 1032396 3683936 387668 11:24:01 26382276 30265420 6556944 19.91 130692 3966816 4566160 13.43 2483368 3609448 756 11:25:01 26445884 30329660 6493336 19.71 130748 3967240 4497496 13.23 2419864 3609180 60 11:26:01 27743652 31582656 5195568 15.77 132592 3931444 1480912 4.36 1203120 3557048 2348 Average: 28055256 31192781 4883964 14.83 110077 3275546 2486001 7.31 1492371 2991532 109963 11:20:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:21:01 lo 1.69 1.69 0.19 0.19 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 ens3 371.10 232.05 1518.16 73.91 0.00 0.00 0.00 0.00 11:22:01 lo 1.13 1.13 0.12 0.12 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 ens3 46.44 34.81 641.09 7.44 0.00 0.00 0.00 0.00 11:23:01 lo 8.33 8.33 0.77 0.77 0.00 0.00 0.00 0.00 11:23:01 br-09b55743b483 0.00 0.00 0.00 0.00 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 ens3 323.30 202.48 10393.41 16.16 0.00 0.00 0.00 0.00 11:24:01 vetha69772b 0.58 0.82 0.06 0.31 0.00 0.00 0.00 0.00 11:24:01 veth6910a8f 88.81 74.00 27.39 87.26 0.00 0.00 0.00 0.01 11:24:01 lo 4.58 4.58 4.34 4.34 0.00 0.00 0.00 0.00 11:24:01 br-09b55743b483 2.12 2.27 2.29 2.31 0.00 0.00 0.00 0.00 11:25:01 vetha69772b 0.25 0.18 0.02 0.01 0.00 0.00 0.00 0.00 11:25:01 veth6910a8f 25.65 21.30 10.11 25.87 0.00 0.00 0.00 0.00 11:25:01 lo 7.92 7.92 4.33 4.33 0.00 0.00 0.00 0.00 11:25:01 br-09b55743b483 2.05 2.25 3.90 0.23 0.00 0.00 0.00 0.00 11:26:01 lo 6.63 6.63 0.59 0.59 0.00 0.00 0.00 0.00 11:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:26:01 ens3 814.61 533.34 12680.95 125.99 0.00 0.00 0.00 0.00 Average: lo 5.06 5.06 1.73 1.73 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: ens3 133.95 87.27 2107.23 20.80 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-2412) 05/12/24 _x86_64_ (8 CPU) 11:19:28 LINUX RESTART (8 CPU) 11:20:02 CPU %user %nice %system %iowait %steal %idle 11:21:01 all 11.20 0.00 1.19 3.40 0.04 84.17 11:21:01 0 3.33 0.00 0.81 1.63 0.02 94.21 11:21:01 1 33.71 0.00 3.36 5.81 0.07 57.05 11:21:01 2 21.01 0.00 1.53 0.59 0.03 76.83 11:21:01 3 4.87 0.00 0.75 9.45 0.03 84.90 11:21:01 4 6.65 0.00 1.07 0.34 0.02 91.92 11:21:01 5 11.30 0.00 0.85 0.85 0.03 86.97 11:21:01 6 3.82 0.00 0.71 7.88 0.05 87.53 11:21:01 7 4.87 0.00 0.41 0.66 0.03 94.03 11:22:01 all 8.56 0.00 0.56 4.93 0.03 85.92 11:22:01 0 1.05 0.00 0.20 2.27 0.02 96.47 11:22:01 1 19.46 0.00 1.07 2.90 0.05 76.52 11:22:01 2 12.35 0.00 0.75 3.47 0.05 83.38 11:22:01 3 4.12 0.00 0.30 6.40 0.02 89.16 11:22:01 4 23.22 0.00 0.90 2.36 0.05 73.47 11:22:01 5 2.34 0.00 0.48 3.95 0.02 93.21 11:22:01 6 5.42 0.00 0.73 18.11 0.03 75.70 11:22:01 7 0.53 0.00 0.05 0.00 0.05 99.36 11:23:01 all 9.68 0.00 3.45 6.77 0.07 80.03 11:23:01 0 7.12 0.00 2.66 0.69 0.07 89.47 11:23:01 1 13.74 0.00 3.57 2.24 0.07 80.37 11:23:01 2 10.34 0.00 3.25 0.67 0.05 85.68 11:23:01 3 9.14 0.00 3.68 24.91 0.07 62.20 11:23:01 4 11.85 0.00 4.73 2.34 0.10 80.98 11:23:01 5 5.79 0.00 2.84 23.09 0.07 68.21 11:23:01 6 10.45 0.00 4.45 0.03 0.07 85.00 11:23:01 7 9.00 0.00 2.40 0.17 0.07 88.36 11:24:01 all 16.81 0.00 2.33 7.56 0.06 73.23 11:24:01 0 12.24 0.00 1.87 24.30 0.07 61.52 11:24:01 1 15.76 0.00 2.42 8.62 0.05 73.15 11:24:01 2 23.32 0.00 2.83 2.98 0.07 70.80 11:24:01 3 18.99 0.00 2.39 5.61 0.05 72.96 11:24:01 4 20.51 0.00 2.71 3.42 0.07 73.29 11:24:01 5 7.75 0.00 1.39 5.41 0.05 85.41 11:24:01 6 15.70 0.00 2.41 8.87 0.07 72.95 11:24:01 7 20.23 0.00 2.68 1.19 0.05 75.86 11:25:01 all 1.34 0.00 0.13 1.67 0.02 96.85 11:25:01 0 2.41 0.00 0.13 12.28 0.02 85.17 11:25:01 1 1.40 0.00 0.12 0.02 0.02 98.45 11:25:01 2 1.00 0.00 0.12 0.00 0.00 98.88 11:25:01 3 0.77 0.00 0.23 0.55 0.02 98.43 11:25:01 4 1.19 0.00 0.07 0.00 0.03 98.71 11:25:01 5 1.90 0.00 0.10 0.28 0.02 97.70 11:25:01 6 1.48 0.00 0.17 0.27 0.02 98.07 11:25:01 7 0.60 0.00 0.07 0.00 0.02 99.32 11:26:01 all 7.50 0.00 0.65 2.44 0.03 89.37 11:26:01 0 0.74 0.00 0.40 12.70 0.03 86.13 11:26:01 1 3.35 0.00 0.53 0.33 0.02 95.76 11:26:01 2 0.85 0.00 0.42 0.43 0.02 98.28 11:26:01 3 3.95 0.00 0.55 0.28 0.02 95.20 11:26:01 4 15.07 0.00 0.85 4.51 0.05 79.52 11:26:01 5 24.10 0.00 1.10 0.74 0.05 74.01 11:26:01 6 7.51 0.00 0.78 0.55 0.03 91.12 11:26:01 7 4.43 0.00 0.57 0.07 0.02 94.92 Average: all 9.17 0.00 1.38 4.46 0.04 84.94 Average: 0 4.48 0.00 1.01 9.01 0.04 85.46 Average: 1 14.51 0.00 1.84 3.31 0.04 80.29 Average: 2 11.45 0.00 1.48 1.36 0.04 85.68 Average: 3 6.97 0.00 1.31 7.82 0.03 83.86 Average: 4 13.10 0.00 1.72 2.16 0.05 82.97 Average: 5 8.85 0.00 1.13 5.71 0.04 84.27 Average: 6 7.40 0.00 1.54 5.96 0.04 85.06 Average: 7 6.61 0.00 1.03 0.35 0.04 91.98