Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-20152 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-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-e0CBWV7JUr2x/agent.2079 SSH_AGENT_PID=2081 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_3048339731654667465.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_3048339731654667465.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-montreal-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/montreal^{commit} # timeout=10 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) > git config core.sparsecheckout # timeout=10 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 Commit message: "Set Montreal default branch" > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # 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-montreal-project-csit-api] $ /bin/bash /tmp/jenkins2173275519118168858.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-An2g 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-An2g/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-An2g/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.3 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.75 botocore==1.34.75 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.3 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.2.0 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.1 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.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.34.0 requests==2.31.0 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.10.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins4890005726926784783.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-montreal-project-csit-api] $ /bin/sh -xe /tmp/jenkins6069957669700100052.sh + /w/workspace/policy-api-montreal-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-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-montreal-project-csit-api + rm -rf /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.ju4EhS0DsO ++ echo ROBOT_VENV=/tmp/tmp.ju4EhS0DsO +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.ju4EhS0DsO ++ source /tmp/tmp.ju4EhS0DsO/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.ju4EhS0DsO +++ 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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.ju4EhS0DsO/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.ju4EhS0DsO) ' '!=' x ']' +++ PS1='(tmp.ju4EhS0DsO) ' +++ 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-montreal-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.2.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.ju4EhS0DsO/src/onap ++ rm -rf /tmp/tmp.ju4EhS0DsO/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==1.0.0 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.2.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.ju4EhS0DsO/bin/activate + '[' -z /tmp/tmp.ju4EhS0DsO/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.ju4EhS0DsO/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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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.ju4EhS0DsO ++ 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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.ju4EhS0DsO/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.ju4EhS0DsO) ' ++ '[' 'x(tmp.ju4EhS0DsO) ' '!=' x ']' ++ PS1='(tmp.ju4EhS0DsO) (tmp.ju4EhS0DsO) ' ++ 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-montreal-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.ox58IDnSsu + cd /tmp/tmp.ox58IDnSsu + 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-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview +++ GERRIT_BRANCH=montreal +++ echo GERRIT_BRANCH=montreal GERRIT_BRANCH=montreal +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-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-montreal-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.0.2)... 3.0.2: Pulling from onap/policy-db-migrator Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 3.0.2: Pulling from onap/policy-api Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:dec2018ae55885fed717f25c289b8c9cff0bf5fbb9e619fb49b6161ac493c016 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:753bbb971071480d6630d3aa0d55345188c02f39456664f67c1ea443593638d0 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating 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-montreal-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 11 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-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 ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt top - 18:14:47 up 3 min, 0 users, load average: 2.28, 0.88, 0.33 Tasks: 177 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.1 us, 2.3 sy, 0.0 ni, 83.1 id, 3.4 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.4G 26G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 8963cd6e1d5b policy-api 0.41% 505MiB / 31.41GiB 1.57% 998kB / 710kB 0B / 0B 57 b0b689f6f0c4 grafana 0.09% 54.78MiB / 31.41GiB 0.17% 18.5kB / 3.12kB 0B / 24.6MB 16 ae9663c22c13 mariadb 0.02% 100.3MiB / 31.41GiB 0.31% 985kB / 1.18MB 10.8MB / 67.8MB 26 265a9c463f41 prometheus 0.00% 18.68MiB / 31.41GiB 0.06% 1.45kB / 158B 102kB / 0B 13 + echo + cd /tmp/tmp.ox58IDnSsu + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' api-slas.robot' + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-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.ox58IDnSsu/output.xml Log: /tmp/tmp.ox58IDnSsu/log.html Report: /tmp/tmp.ox58IDnSsu/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-montreal-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 - 18:15:59 up 4 min, 0 users, load average: 0.85, 0.76, 0.34 Tasks: 175 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.4 us, 1.8 sy, 0.0 ni, 85.9 id, 2.8 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.6G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 8963cd6e1d5b policy-api 0.10% 659.3MiB / 31.41GiB 2.05% 7MB / 2.55MB 0B / 0B 56 b0b689f6f0c4 grafana 0.03% 60.75MiB / 31.41GiB 0.19% 19.4kB / 4.34kB 0B / 24.6MB 16 ae9663c22c13 mariadb 0.02% 101.3MiB / 31.41GiB 0.31% 2.39MB / 7.04MB 10.8MB / 68.1MB 18 265a9c463f41 prometheus 0.00% 25.3MiB / 31.41GiB 0.08% 55.5kB / 6.57kB 102kB / 0B 14 + echo + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose ++ cd /w/workspace/policy-api-montreal-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 mariadb | 2024-04-02 18:14:20+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-02 18:14:20+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-04-02 18:14:20+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-02 18:14:20+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-04-02 18:14:20 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-04-02 18:14:20 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-02 18:14:20 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-04-02 18:14:22+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-04-02 18:14:22+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-04-02 18:14:22+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-04-02 18:14:22 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... mariadb | 2024-04-02 18:14:22 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-04-02 18:14:22 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-02 18:14:22 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-02 18:14:22 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-02 18:14:22 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-04-02 18:14:22 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-02 18:14:22 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-04-02 18:14:22 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-02 18:14:22 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-04-02 18:14:22 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-02 18:14:22 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-04-02 18:14:22 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-04-02 18:14:22 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-04-02 18:14:22 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-02 18:14:22 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-02 18:14:22 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-02 18:14:22 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-02 18:14:22 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-04-02 18:14:23+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-04-02 18:14:25+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-04-02 18:14:25+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-04-02 18:14:25+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-04-02 18:14:25+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 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-04-02 18:14:25+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-04-02 18:14:25 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-04-02 18:14:25 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-04-02 18:14:25 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-04-02 18:14:25 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-04-02 18:14:25 0 [Note] InnoDB: Buffer pool(s) dump completed at 240402 18:14:25 mariadb | 2024-04-02 18:14:26 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-04-02 18:14:26 0 [Note] InnoDB: Shutdown completed; log sequence number 322052; transaction id 298 mariadb | 2024-04-02 18:14:26 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-04-02 18:14:26+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-04-02 18:14:26+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-04-02 18:14:26 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-04-02 18:14:26 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-04-02 18:14:26 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-02 18:14:26 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-02 18:14:26 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-02 18:14:26 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-04-02 18:14:26 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-02 18:14:26 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-04-02 18:14:26 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-02 18:14:26 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-04-02 18:14:26 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-02 18:14:26 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-04-02 18:14:26 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-04-02 18:14:26 0 [Note] InnoDB: log sequence number 322052; transaction id 299 mariadb | 2024-04-02 18:14:26 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-02 18:14:26 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-04-02 18:14:26 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-02 18:14:26 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-04-02 18:14:26 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-04-02 18:14:26 0 [Note] Server socket created on IP: '::'. mariadb | 2024-04-02 18:14:26 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 policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2024-04-02T18:14:35.604+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 22 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-04-02T18:14:35.606+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-04-02T18:14:37.291+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-04-02T18:14:37.382+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 81 ms. Found 6 JPA repository interfaces. policy-api | [2024-04-02T18:14:37.791+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-04-02T18:14:37.792+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-04-02T18:14:38.451+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-04-02T18:14:38.461+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-04-02T18:14:38.463+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-04-02T18:14:38.463+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2024-04-02T18:14:38.554+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-04-02T18:14:38.555+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2870 ms policy-api | [2024-04-02T18:14:38.928+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-04-02T18:14:38.996+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-04-02T18:14:38.999+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-04-02T18:14:39.039+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-04-02T18:14:39.369+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-04-02T18:14:39.389+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-04-02T18:14:39.484+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b policy-api | [2024-04-02T18:14:39.487+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-04-02T18:14:39.521+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) policy-api | [2024-04-02T18:14:39.523+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-04-02T18:14:41.356+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-04-02T18:14:41.359+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-04-02T18:14:42.607+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-04-02T18:14:43.339+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-04-02T18:14:44.417+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-04-02T18:14:44.634+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@58a01e47, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6149184e, org.springframework.security.web.context.SecurityContextHolderFilter@234a08ea, org.springframework.security.web.header.HeaderWriterFilter@2e26841f, org.springframework.security.web.authentication.logout.LogoutFilter@c7a7d3, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@3413effc, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@56d3e4a9, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2542d320, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6f3a8d5e, org.springframework.security.web.access.ExceptionTranslationFilter@19bd1f98, org.springframework.security.web.access.intercept.AuthorizationFilter@729f8c5d] policy-api | [2024-04-02T18:14:45.505+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-04-02T18:14:45.562+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-04-02T18:14:45.584+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-04-02T18:14:45.601+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.707 seconds (process running for 11.26) policy-api | [2024-04-02T18:14:50.829+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-3] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-04-02T18:14:50.829+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Initializing Servlet 'dispatcherServlet' policy-api | [2024-04-02T18:14:50.831+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Completed initialization in 1 ms policy-api | [2024-04-02T18:14:53.928+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-04-02T18:14:54.084+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-04-02T18:14:54.356+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-04-02T18:14:55.559+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policies policy-api | [2024-04-02T18:14:57.585+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-04-02T18:14:57.935+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-04-02T18:14:58.165+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-04-02T18:14:58.398+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-04-02T18:14:58.636+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-04-02T18:14:58.871+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- mariadb | 2024-04-02 18:14:26 0 [Note] InnoDB: Buffer pool(s) load completed at 240402 18:14:26 mariadb | 2024-04-02 18:14:27 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2024-04-02 18:14:27 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 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 | -------------- 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 grafana | logger=settings t=2024-04-02T18:14:19.361891811Z level=info msg="Starting Grafana" version=10.4.1 commit=d94d597d847c05085542c29dfad6b3f469cc77e1 branch=v10.4.x compiled=2024-04-02T18:14:19Z grafana | logger=settings t=2024-04-02T18:14:19.363035575Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-04-02T18:14:19.363210825Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-04-02T18:14:19.363524606Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-04-02T18:14:19.363534006Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-04-02T18:14:19.363539166Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-02T18:14:19.363547466Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-02T18:14:19.363551846Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-04-02T18:14:19.363557296Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-04-02T18:14:19.363564116Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-04-02T18:14:19.363567936Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-02T18:14:19.363573117Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-02T18:14:19.363581077Z level=info msg=Target target=[all] grafana | logger=settings t=2024-04-02T18:14:19.363639147Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-04-02T18:14:19.363644787Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-04-02T18:14:19.363649107Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-04-02T18:14:19.363695207Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-04-02T18:14:19.363700257Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-04-02T18:14:19.363768327Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-04-02T18:14:19.364242839Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-04-02T18:14:19.364275709Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-04-02T18:14:19.365248122Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-04-02T18:14:19.366185275Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-04-02T18:14:19.367002548Z level=info msg="Migration successfully executed" id="create migration_log table" duration=816.523µs grafana | logger=migrator t=2024-04-02T18:14:19.370642929Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-04-02T18:14:19.371272821Z level=info msg="Migration successfully executed" id="create user table" duration=627.452µs grafana | logger=migrator t=2024-04-02T18:14:19.374456192Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-04-02T18:14:19.375131874Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=675.282µs grafana | logger=migrator t=2024-04-02T18:14:19.378595555Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-04-02T18:14:19.379284077Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=688.682µs grafana | logger=migrator t=2024-04-02T18:14:19.384743115Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-04-02T18:14:19.385399987Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=656.452µs grafana | logger=migrator t=2024-04-02T18:14:19.388504817Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-04-02T18:14:19.389223469Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=716.522µs grafana | logger=migrator t=2024-04-02T18:14:19.39262845Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-04-02T18:14:19.396276272Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.646482ms grafana | logger=migrator t=2024-04-02T18:14:19.51695575Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-04-02T18:14:19.518546245Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.589005ms grafana | logger=migrator t=2024-04-02T18:14:19.5230877Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-04-02T18:14:19.524618775Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.542385ms grafana | logger=migrator t=2024-04-02T18:14:19.528151386Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-04-02T18:14:19.528885809Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=733.713µs grafana | logger=migrator t=2024-04-02T18:14:19.534345526Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-04-02T18:14:19.534725767Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=380.181µs grafana | logger=migrator t=2024-04-02T18:14:19.538103068Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-04-02T18:14:19.538920421Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=815.183µs grafana | logger=migrator t=2024-04-02T18:14:19.542649333Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-04-02T18:14:19.544535169Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.879596ms grafana | logger=migrator t=2024-04-02T18:14:19.54798882Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-04-02T18:14:19.54802023Z level=info msg="Migration successfully executed" id="Update user table charset" duration=32µs 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) 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) grafana | logger=migrator t=2024-04-02T18:14:19.553991809Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-04-02T18:14:19.555070873Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.077774ms grafana | logger=migrator t=2024-04-02T18:14:19.558233033Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-04-02T18:14:19.558601554Z level=info msg="Migration successfully executed" id="Add missing user data" duration=367.751µs grafana | logger=migrator t=2024-04-02T18:14:19.561992875Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-04-02T18:14:19.56348446Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.492495ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:19.566391689Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-04-02T18:14:19.567086762Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=694.163µs grafana | logger=migrator t=2024-04-02T18:14:19.572981311Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-04-02T18:14:19.574800196Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.818245ms grafana | logger=migrator t=2024-04-02T18:14:19.578195387Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-04-02T18:14:19.587985799Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.790862ms grafana | logger=migrator t=2024-04-02T18:14:19.591156799Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-04-02T18:14:19.592266743Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.109444ms grafana | logger=migrator t=2024-04-02T18:14:19.598878804Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-04-02T18:14:19.599124755Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=245.931µs grafana | logger=migrator t=2024-04-02T18:14:19.602113204Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-04-02T18:14:19.603233678Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.120004ms grafana | logger=migrator t=2024-04-02T18:14:19.606732539Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" grafana | logger=migrator t=2024-04-02T18:14:19.607207981Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=475.282µs grafana | logger=migrator t=2024-04-02T18:14:19.61025494Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-04-02T18:14:19.611106953Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=851.863µs grafana | logger=migrator t=2024-04-02T18:14:19.617154473Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-04-02T18:14:19.618213536Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.058903ms grafana | logger=migrator t=2024-04-02T18:14:19.621804098Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-04-02T18:14:19.622911301Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.106623ms grafana | logger=migrator t=2024-04-02T18:14:19.626338002Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-04-02T18:14:19.627058335Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=719.693µs grafana | logger=migrator t=2024-04-02T18:14:19.632621752Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-04-02T18:14:19.633475565Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=852.363µs grafana | logger=migrator t=2024-04-02T18:14:19.636624555Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-04-02T18:14:19.636661215Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=37.69µs grafana | logger=migrator t=2024-04-02T18:14:19.639742415Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-04-02T18:14:19.640743629Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.000584ms grafana | logger=migrator t=2024-04-02T18:14:19.646892338Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-04-02T18:14:19.64754151Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=648.942µs grafana | logger=migrator t=2024-04-02T18:14:19.65050713Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-04-02T18:14:19.651474593Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=963.433µs grafana | logger=migrator t=2024-04-02T18:14:19.654810524Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-04-02T18:14:19.655775217Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=963.963µs grafana | logger=migrator t=2024-04-02T18:14:19.661297135Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-02T18:14:19.664221114Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=2.924239ms grafana | logger=migrator t=2024-04-02T18:14:19.667165644Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-04-02T18:14:19.667966766Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=803.602µs grafana | logger=migrator t=2024-04-02T18:14:19.670986416Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-04-02T18:14:19.671682968Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=695.722µs grafana | logger=migrator t=2024-04-02T18:14:19.677881738Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-04-02T18:14:19.679080242Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.198534ms grafana | logger=migrator t=2024-04-02T18:14:19.682403943Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-04-02T18:14:19.683635797Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.231624ms grafana | logger=migrator t=2024-04-02T18:14:19.687080828Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-04-02T18:14:19.68780204Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=721.402µs grafana | logger=migrator t=2024-04-02T18:14:19.692565075Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-04-02T18:14:19.692963817Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=397.292µs grafana | logger=migrator t=2024-04-02T18:14:19.696113496Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-04-02T18:14:19.697034449Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=920.963µs grafana | logger=migrator t=2024-04-02T18:14:19.700713701Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 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 | -------------- grafana | logger=migrator t=2024-04-02T18:14:19.701313223Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=599.372µs grafana | logger=migrator t=2024-04-02T18:14:19.704532993Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-04-02T18:14:19.705152345Z level=info msg="Migration successfully executed" id="create star table" duration=619.132µs grafana | logger=migrator t=2024-04-02T18:14:19.710430682Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-04-02T18:14:19.711253604Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=820.512µs grafana | logger=migrator t=2024-04-02T18:14:19.714648765Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-04-02T18:14:19.715833439Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.184094ms grafana | logger=migrator t=2024-04-02T18:14:19.71939589Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-04-02T18:14:19.720114402Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=718.552µs grafana | logger=migrator t=2024-04-02T18:14:19.722977761Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-04-02T18:14:19.723661964Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=683.723µs grafana | logger=migrator t=2024-04-02T18:14:19.728560299Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-04-02T18:14:19.729719753Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.157054ms grafana | logger=migrator t=2024-04-02T18:14:19.733309444Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-04-02T18:14:19.734589408Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.279394ms grafana | logger=migrator t=2024-04-02T18:14:19.738189389Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-04-02T18:14:19.738955052Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=764.983µs grafana | logger=migrator t=2024-04-02T18:14:19.742632353Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-04-02T18:14:19.742675874Z level=info msg="Migration successfully executed" id="Update org table charset" duration=44.291µs grafana | logger=migrator t=2024-04-02T18:14:19.747615029Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-04-02T18:14:19.747655689Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=41.63µs grafana | logger=migrator t=2024-04-02T18:14:19.750696219Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-04-02T18:14:19.750867719Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=169.9µs grafana | logger=migrator t=2024-04-02T18:14:19.752999536Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-04-02T18:14:19.753763709Z level=info msg="Migration successfully executed" id="create dashboard table" duration=763.473µs grafana | logger=migrator t=2024-04-02T18:14:19.756606788Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-04-02T18:14:19.75738137Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=773.272µs grafana | logger=migrator t=2024-04-02T18:14:19.762266305Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-04-02T18:14:19.763092728Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=825.893µs grafana | logger=migrator t=2024-04-02T18:14:19.765971817Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-04-02T18:14:19.767086251Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.112434ms grafana | logger=migrator t=2024-04-02T18:14:19.770466671Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-04-02T18:14:19.771684065Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.216524ms grafana | logger=migrator t=2024-04-02T18:14:19.776649951Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-04-02T18:14:19.777346603Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=696.192µs grafana | logger=migrator t=2024-04-02T18:14:19.780495663Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-04-02T18:14:19.785487709Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=4.990586ms grafana | logger=migrator t=2024-04-02T18:14:19.788547429Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-04-02T18:14:19.789273861Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=725.982µs grafana | logger=migrator t=2024-04-02T18:14:19.794674068Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-04-02T18:14:19.795403Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=728.392µs grafana | logger=migrator t=2024-04-02T18:14:19.79836286Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-04-02T18:14:19.799190262Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=826.883µs grafana | logger=migrator t=2024-04-02T18:14:19.802631533Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-04-02T18:14:19.803151334Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=519.081µs grafana | logger=migrator t=2024-04-02T18:14:19.808312631Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-04-02T18:14:19.809610545Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.297444ms grafana | logger=migrator t=2024-04-02T18:14:19.812923275Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-04-02T18:14:19.813028206Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=105.841µs grafana | logger=migrator t=2024-04-02T18:14:19.816596347Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-04-02T18:14:19.818513993Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.918296ms grafana | logger=migrator t=2024-04-02T18:14:19.82401233Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-04-02T18:14:19.825792476Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.779496ms 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:19.828910736Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-04-02T18:14:19.830673391Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.762615ms grafana | logger=migrator t=2024-04-02T18:14:19.833716481Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-04-02T18:14:19.834538284Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=819.423µs grafana | logger=migrator t=2024-04-02T18:14:19.839197058Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-04-02T18:14:19.840978484Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.781096ms grafana | logger=migrator t=2024-04-02T18:14:19.844346804Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-04-02T18:14:19.845165337Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=817.823µs grafana | logger=migrator t=2024-04-02T18:14:19.875967274Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-04-02T18:14:19.877207388Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.240354ms grafana | logger=migrator t=2024-04-02T18:14:19.88091717Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-04-02T18:14:19.88095715Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=44.49µs grafana | logger=migrator t=2024-04-02T18:14:19.884898773Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-04-02T18:14:19.884940513Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=42.78µs grafana | logger=migrator t=2024-04-02T18:14:19.888625585Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-04-02T18:14:19.891854285Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.22822ms grafana | logger=migrator t=2024-04-02T18:14:19.896497729Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-04-02T18:14:19.898585926Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.088827ms grafana | logger=migrator t=2024-04-02T18:14:19.901874826Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-04-02T18:14:19.903833343Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.957977ms grafana | logger=migrator t=2024-04-02T18:14:19.907125593Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-04-02T18:14:19.909157759Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.033096ms grafana | logger=migrator t=2024-04-02T18:14:19.913500843Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-04-02T18:14:19.913721844Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=220.351µs grafana | logger=migrator t=2024-04-02T18:14:19.916839284Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-04-02T18:14:19.917622986Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=783.302µs grafana | logger=migrator t=2024-04-02T18:14:19.921208998Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-04-02T18:14:19.92190705Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=697.343µs grafana | logger=migrator t=2024-04-02T18:14:19.926606644Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-04-02T18:14:19.926651974Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=44.69µs grafana | logger=migrator t=2024-04-02T18:14:19.930773107Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-04-02T18:14:19.931973431Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.197914ms grafana | logger=migrator t=2024-04-02T18:14:19.935721103Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-04-02T18:14:19.936504935Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=783.232µs grafana | logger=migrator t=2024-04-02T18:14:19.939939686Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-02T18:14:19.945130703Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.190377ms grafana | logger=migrator t=2024-04-02T18:14:19.949602907Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-04-02T18:14:19.950328749Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=689.342µs grafana | logger=migrator t=2024-04-02T18:14:19.9536363Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-04-02T18:14:19.954418832Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=782.032µs grafana | logger=migrator t=2024-04-02T18:14:19.957848883Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-04-02T18:14:19.958635835Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=786.412µs grafana | logger=migrator t=2024-04-02T18:14:19.96312434Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-04-02T18:14:19.963608301Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=483.661µs grafana | logger=migrator t=2024-04-02T18:14:19.967112002Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-04-02T18:14:19.967890255Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=777.833µs grafana | logger=migrator t=2024-04-02T18:14:19.971703717Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-04-02T18:14:19.974952087Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.24811ms grafana | logger=migrator t=2024-04-02T18:14:19.979835092Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-04-02T18:14:19.980611685Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=776.083µs grafana | logger=migrator t=2024-04-02T18:14:19.984870078Z level=info msg="Executing migration" id="delete tags for deleted dashboards" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-04-02T18:14:19.98531044Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=425.482µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:19.989201082Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 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)) prometheus | ts=2024-04-02T18:14:18.420Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d grafana | logger=migrator t=2024-04-02T18:14:19.989605833Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=405.041µs policy-db-migrator | -------------- prometheus | ts=2024-04-02T18:14:18.421Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.1, branch=HEAD, revision=855b5ac4b80956874eb1790a04c92327f2f99e38)" grafana | logger=migrator t=2024-04-02T18:14:19.994070967Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | prometheus | ts=2024-04-02T18:14:18.421Z caller=main.go:622 level=info build_context="(go=go1.22.1, platform=linux/amd64, user=root@d3785d7783f2, date=20240328-09:27:30, tags=netgo,builtinassets,stringlabels)" grafana | logger=migrator t=2024-04-02T18:14:19.99491214Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=841.103µs policy-db-migrator | prometheus | ts=2024-04-02T18:14:18.421Z 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))" grafana | logger=migrator t=2024-04-02T18:14:19.998429501Z level=info msg="Executing migration" id="Add isPublic for dashboard" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql prometheus | ts=2024-04-02T18:14:18.421Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" grafana | logger=migrator t=2024-04-02T18:14:20.000728038Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.298387ms policy-db-migrator | -------------- prometheus | ts=2024-04-02T18:14:18.421Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" grafana | logger=migrator t=2024-04-02T18:14:20.004031159Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) prometheus | ts=2024-04-02T18:14:18.425Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 grafana | logger=migrator t=2024-04-02T18:14:20.005079428Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.047709ms policy-db-migrator | -------------- prometheus | ts=2024-04-02T18:14:18.426Z caller=main.go:1129 level=info msg="Starting TSDB ..." grafana | logger=migrator t=2024-04-02T18:14:20.009304139Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | prometheus | ts=2024-04-02T18:14:18.428Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 grafana | logger=migrator t=2024-04-02T18:14:20.010101465Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=797.036µs policy-db-migrator | prometheus | ts=2024-04-02T18:14:18.428Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 grafana | logger=migrator t=2024-04-02T18:14:20.01373164Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql prometheus | ts=2024-04-02T18:14:18.430Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" grafana | logger=migrator t=2024-04-02T18:14:20.01504194Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.30992ms policy-db-migrator | -------------- prometheus | ts=2024-04-02T18:14:18.430Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.95µs grafana | logger=migrator t=2024-04-02T18:14:20.018897117Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 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)) prometheus | ts=2024-04-02T18:14:18.430Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" grafana | logger=migrator t=2024-04-02T18:14:20.019790393Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=892.796µs policy-db-migrator | -------------- prometheus | ts=2024-04-02T18:14:18.431Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 grafana | logger=migrator t=2024-04-02T18:14:20.024360835Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | prometheus | ts=2024-04-02T18:14:18.431Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=26.66µs wal_replay_duration=827.236µs wbl_replay_duration=180ns total_replay_duration=880.616µs grafana | logger=migrator t=2024-04-02T18:14:20.025668405Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.30705ms policy-db-migrator | prometheus | ts=2024-04-02T18:14:18.435Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC grafana | logger=migrator t=2024-04-02T18:14:20.029468831Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql prometheus | ts=2024-04-02T18:14:18.435Z caller=main.go:1153 level=info msg="TSDB started" grafana | logger=migrator t=2024-04-02T18:14:20.036220989Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=6.748908ms policy-db-migrator | -------------- prometheus | ts=2024-04-02T18:14:18.435Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml grafana | logger=migrator t=2024-04-02T18:14:20.039410981Z level=info msg="Executing migration" id="create data_source table 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)) prometheus | ts=2024-04-02T18:14:18.436Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.115415ms db_storage=1.68µs remote_storage=2.09µs web_handler=550ns query_engine=910ns scrape=310.799µs scrape_sd=155.179µs notify=25.74µs notify_sd=12.29µs rules=1.72µs tracing=6.17µs grafana | logger=migrator t=2024-04-02T18:14:20.040293347Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=882.026µs policy-db-migrator | -------------- prometheus | ts=2024-04-02T18:14:18.436Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." grafana | logger=migrator t=2024-04-02T18:14:20.044607808Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | prometheus | ts=2024-04-02T18:14:18.436Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-04-02T18:14:20.045393843Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=785.745µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.048887888Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-04-02T18:14:20.049695834Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=807.666µs grafana | logger=migrator t=2024-04-02T18:14:20.053119008Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-04-02T18:14:20.053613581Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=494.423µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.05772946Z level=info msg="Executing migration" id="Add column with_credentials" 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-04-02T18:14:20.061413076Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.682736ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.065061562Z level=info msg="Executing migration" id="Add secure json data column" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.06766941Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.606658ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.070865542Z level=info msg="Executing migration" id="Update data_source table charset" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-04-02T18:14:20.070892283Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=27.041µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.074897551Z level=info msg="Executing migration" id="Update initial version to 1" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-04-02T18:14:20.075081492Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=184.251µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.078100043Z level=info msg="Executing migration" id="Add read_only data column" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.080354459Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.252426ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.08336413Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-04-02T18:14:20.083546992Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=182.852µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.086870455Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-04-02T18:14:20.087022466Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=152.301µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.091060405Z level=info msg="Executing migration" id="Add uid column" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.09475004Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.688946ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.097928203Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-04-02T18:14:20.098221205Z level=info msg="Migration successfully executed" id="Update uid value" duration=293.142µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.100850973Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-04-02T18:14:20.101609919Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=758.556µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.105408105Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.106160491Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=751.886µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.109112621Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-04-02T18:14:20.109892157Z level=info msg="Migration successfully executed" id="create api_key table" duration=779.016µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.113027699Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-04-02T18:14:20.113946665Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=912.766µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.117838123Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-04-02T18:14:20.118639788Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=801.075µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.121582619Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-04-02T18:14:20.122396015Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=812.306µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.125388436Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.126100811Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=712.275µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.129818577Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-04-02T18:14:20.130552152Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=733.265µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.132874509Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-04-02T18:14:20.133563263Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=688.174µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.138407928Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.147560242Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=9.152945ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.150779165Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-04-02T18:14:20.1515476Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=768.285µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.154819733Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-04-02T18:14:20.155566658Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=747.425µs grafana | logger=migrator t=2024-04-02T18:14:20.159638727Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.160944996Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.306989ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.1642936Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.165592969Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.298939ms policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-04-02T18:14:20.168940492Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.169276885Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=337.613µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-04-02T18:14:20.173057651Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.173585655Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=527.454µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.176664277Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.176693157Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=28.71µs policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-04-02T18:14:20.179889509Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.182342957Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.458828ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-04-02T18:14:20.185534239Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.188869892Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.334113ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.193370084Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.193653096Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=285.482µs policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-04-02T18:14:20.1970338Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.199548828Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.511818ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-04-02T18:14:20.227905747Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.231725094Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=3.817937ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.235988754Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.23680699Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=817.766µs policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-04-02T18:14:20.239834131Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.240362765Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=527.854µs policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-04-02T18:14:20.24400239Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.244863246Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=862.826µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.249356108Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.250885619Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.531481ms policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-04-02T18:14:20.254190092Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.255611202Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.42054ms policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-04-02T18:14:20.259112516Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.259860562Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=747.376µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.263702389Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.263772059Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=69.99µs policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-04-02T18:14:20.26667835Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.26670623Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=26.1µ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-04-02T18:14:20.269663051Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.272289799Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.625988ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-04-02T18:14:20.276318587Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.27950239Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.182583ms 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-04-02T18:14:20.283575809Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.283647029Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=72.15µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.286771021Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.287531676Z level=info msg="Migration successfully executed" id="create quota table v1" duration=760.685µs policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-04-02T18:14:20.290244985Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.291045271Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=799.596µs 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-04-02T18:14:20.29509624Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.29512455Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=28.12µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.298106311Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.298918826Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=811.475µs policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-04-02T18:14:20.302008148Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.302828214Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=819.396µ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-04-02T18:14:20.307602958Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.310510128Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.90515ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.313571709Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.31359799Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=27.101µs policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-04-02T18:14:20.315893686Z level=info msg="Executing migration" id="create session table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.316720192Z level=info msg="Migration successfully executed" id="create session table" duration=826.486µ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-04-02T18:14:20.320585889Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.320668119Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=82.46µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.323519389Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.32359459Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=72.941µs policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-04-02T18:14:20.32648289Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.327142365Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=659.575µ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-04-02T18:14:20.330147526Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.330860351Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=712.665µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.334777079Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.334799569Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=23.12µs policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-04-02T18:14:20.338026491Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.338053092Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=25.271µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-02T18:14:20.340418438Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.343379139Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=2.960751ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.347287157Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.350437029Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.148882ms policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-04-02T18:14:20.35345573Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.353567551Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=111.731µs 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-04-02T18:14:20.356499811Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.356586422Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=85.771µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.359443412Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.360225218Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=781.326µs policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-04-02T18:14:20.364219846Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.364249606Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=30.33µs 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-04-02T18:14:20.367186197Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.370345179Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.157972ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.373161359Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.37330573Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=144.181µs policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-04-02T18:14:20.376529613Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.379578065Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.046072ms 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-04-02T18:14:20.383473232Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.386596294Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.122562ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.389649966Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-04-02T18:14:20.389758867Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=110.421µs policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-04-02T18:14:20.393325082Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.401184388Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=7.856836ms 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-04-02T18:14:20.404589562Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.405864231Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.280359ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.411089118Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.4128742Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.784312ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-04-02T18:14:20.415931572Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.416801838Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=868.026µs policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-04-02T18:14:20.422370908Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.424418902Z level=info msg="Migration successfully executed" id="add index alert state" duration=2.049444ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.427976307Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.428852493Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=876.266µs policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-04-02T18:14:20.43400799Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.434706025Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=697.845µs policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-04-02T18:14:20.440046033Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.44105624Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.009417ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.4439608Z 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-04-02T18:14:20.444768896Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=807.476µs policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-04-02T18:14:20.448003229Z 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-04-02T18:14:20.458752445Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=10.748676ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-04-02T18:14:20.463957882Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.464581226Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=623.044µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.470488728Z 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-04-02T18:14:20.471903688Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.41505ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-04-02T18:14:20.47503607Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.475476313Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=440.063µs policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2024-04-02T18:14:20.481558416Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.48203803Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=477.524µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.4848985Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.485882157Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=984.027µs policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-04-02T18:14:20.492263312Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.495971139Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.707867ms 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-04-02T18:14:20.500805883Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.505254164Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.451641ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.510877764Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.517664672Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=6.786018ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-04-02T18:14:20.522727788Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.526793027Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=4.065419ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.532067134Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.533758636Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.672082ms policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-04-02T18:14:20.540077121Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.540285472Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=209.261µs policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-04-02T18:14:20.54562518Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.545745661Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=121.851µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.549704829Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.550631795Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=924.156µs policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-02T18:14:20.556083294Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.557580925Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.497591ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-04-02T18:14:20.603456939Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.605633715Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=2.173706ms policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-02T18:14:20.612873886Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.613873653Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=999.997µs policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-04-02T18:14:20.620203778Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-04-02T18:14:20.627368389Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=7.158191ms policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-04-02T18:14:20.63461244Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-04-02T18:14:20.641810561Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=7.197271ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.645092004Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.647789463Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=2.697049ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.652113044Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-02T18:14:20.652274375Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=161.061µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.655017974Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-04-02T18:14:20.655970061Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=947.287µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.658829081Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.659700138Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=870.907µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.666594607Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-04-02T18:14:20.670716626Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.1215ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.674050029Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 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-04-02T18:14:20.67411706Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=67.611µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.676741878Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.677560194Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=818.216µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.687583335Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-04-02T18:14:20.688786933Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.206978ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.694945407Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-04-02T18:14:20.695101278Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=143.431µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.69959523Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.701335792Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.743512ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.706345938Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-04-02T18:14:20.707204864Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=856.886µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.709935773Z level=info msg="Executing migration" id="add index annotation 1 v3" 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-04-02T18:14:20.710768769Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=832.546µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.713540209Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.714409105Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=869.226µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.719657052Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-04-02T18:14:20.720596539Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=942.607µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.723327878Z level=info msg="Executing migration" id="add index annotation 4 v3" 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-04-02T18:14:20.724237975Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=910.047µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.729488422Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.729512982Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=26.79µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.732887656Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-04-02T18:14:20.739921445Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=7.021939ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.744146855Z level=info msg="Executing migration" id="Drop category_id index" 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-04-02T18:14:20.745601876Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.455221ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.750183908Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.757599981Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=7.417403ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.761658859Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-04-02T18:14:20.76322318Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=1.563651ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.766707135Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 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-04-02T18:14:20.767595461Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=888.596µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.77298571Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.773785775Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=800.285µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.777122969Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-04-02T18:14:20.78863419Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=11.510321ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.791930953Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.792762769Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=831.356µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.7970452Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-04-02T18:14:20.797890266Z 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=844.996µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.801211439Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-04-02T18:14:20.801485191Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=273.882µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.805153957Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.805659831Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=506.064µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.813926269Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-04-02T18:14:20.814105831Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=180.012µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.817226833Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-04-02T18:14:20.82115954Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=3.932497ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.825234459Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.829628641Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.393251ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.835027629Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-04-02T18:14:20.835970656Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=942.607µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.839637941Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-04-02T18:14:20.840638818Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=999.647µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.845871145Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.846111987Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=240.492µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.85072841Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-04-02T18:14:20.857403807Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.674197ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.865870887Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.866688423Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=817.316µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.871181195Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-04-02T18:14:20.871482787Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=301.942µs grafana | logger=migrator t=2024-04-02T18:14:20.878134714Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-04-02T18:14:20.878835269Z level=info msg="Migration successfully executed" id="Move region to single row" duration=700.205µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.88462425Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.886177251Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.552341ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.891481078Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-04-02T18:14:20.89319512Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.718042ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.897587192Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-04-02T18:14:20.898569509Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=981.528µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.904777592Z 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-04-02T18:14:20.906273333Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.494831ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.909664707Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-04-02T18:14:20.911046557Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.37823ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.916424545Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.917357331Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=950.446µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.920765856Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-04-02T18:14:20.920858386Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=92.44µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.926705698Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-04-02T18:14:20.928006207Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.299789ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.932579839Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.933860388Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.279639ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.969488771Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-04-02T18:14:20.971018461Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.52895ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.975606124Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-04-02T18:14:20.977263726Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.656722ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.983043357Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-04-02T18:14:20.983292858Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=249.551µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.987587949Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.987967711Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=379.812µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:20.992732145Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-04-02T18:14:20.992822026Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=90.371µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:20.997459809Z level=info msg="Executing migration" id="create team table" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-04-02T18:14:20.998247704Z level=info msg="Migration successfully executed" id="create team table" duration=787.595µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:21.004301997Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:21.005987807Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.6853ms policy-db-migrator | msg grafana | logger=migrator t=2024-04-02T18:14:21.011066945Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-04-02T18:14:21.012024208Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=957.103µs policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:21.017455046Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-04-02T18:14:21.024735599Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.276263ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:21.029736195Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-04-02T18:14:21.029937536Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=201.221µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:21.035226383Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:21.036805968Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.579455ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:21.042100305Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-04-02T18:14:21.043480159Z level=info msg="Migration successfully executed" id="create team member table" duration=1.378124ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:21.049674859Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-04-02T18:14:21.050750953Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.076214ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:21.056777122Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:21.057776415Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=999.243µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:21.06222545Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-04-02T18:14:21.063316182Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.090272ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:21.067686296Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:21.07520961Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.517924ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:21.079368414Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-04-02T18:14:21.082849875Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.481381ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:21.088171522Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-04-02T18:14:21.092876237Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.704285ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:21.097299712Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:21.098740996Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.440595ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:21.105478328Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 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-04-02T18:14:21.107413774Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.937236ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:21.113454104Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:21.114585807Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.131024ms policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:21.123451536Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-04-02T18:14:21.125593543Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=2.146557ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:21.129980047Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 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-04-02T18:14:21.13098379Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.003983ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:21.135939016Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:21.136921049Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.006163ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:21.141732745Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 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-04-02T18:14:21.142770428Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.040983ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:21.147764124Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | grafana | logger=migrator t=2024-04-02T18:14:21.1496162Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.850886ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:21.154891187Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-04-02T18:14:21.155445829Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=559.552µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-02T18:14:21.161263997Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1300) policy-db-migrator | name version policy-db-migrator | policyadmin 1300 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:27 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:27 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:27 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:27 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:27 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:27 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:28 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 grafana | logger=migrator t=2024-04-02T18:14:21.161513138Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=249.511µs grafana | logger=migrator t=2024-04-02T18:14:21.166602955Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-04-02T18:14:21.167741888Z level=info msg="Migration successfully executed" id="create tag table" duration=1.138743ms grafana | logger=migrator t=2024-04-02T18:14:21.173834848Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-04-02T18:14:21.175820524Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.980826ms grafana | logger=migrator t=2024-04-02T18:14:21.181663822Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-04-02T18:14:21.182403775Z level=info msg="Migration successfully executed" id="create login attempt table" duration=734.633µs grafana | logger=migrator t=2024-04-02T18:14:21.189045105Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-04-02T18:14:21.19051563Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.470195ms grafana | logger=migrator t=2024-04-02T18:14:21.195178785Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-04-02T18:14:21.196653129Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.473254ms grafana | logger=migrator t=2024-04-02T18:14:21.203038029Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-02T18:14:21.217359424Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=14.321205ms grafana | logger=migrator t=2024-04-02T18:14:21.221071726Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-04-02T18:14:21.221647087Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=575.201µs grafana | logger=migrator t=2024-04-02T18:14:21.227105834Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-04-02T18:14:21.228048077Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=941.833µs grafana | logger=migrator t=2024-04-02T18:14:21.234553368Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-04-02T18:14:21.235040459Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=487.591µs grafana | logger=migrator t=2024-04-02T18:14:21.239649684Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-04-02T18:14:21.240641407Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=991.613µs grafana | logger=migrator t=2024-04-02T18:14:21.245791363Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-04-02T18:14:21.247070757Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.280354ms grafana | logger=migrator t=2024-04-02T18:14:21.252583374Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-04-02T18:14:21.25434958Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.759986ms grafana | logger=migrator t=2024-04-02T18:14:21.257953531Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-04-02T18:14:21.258104021Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=151.11µs grafana | logger=migrator t=2024-04-02T18:14:21.262082634Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-04-02T18:14:21.26720511Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.122316ms grafana | logger=migrator t=2024-04-02T18:14:21.272223615Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-04-02T18:14:21.277419902Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.195507ms grafana | logger=migrator t=2024-04-02T18:14:21.281598835Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-04-02T18:14:21.286787251Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.187456ms grafana | logger=migrator t=2024-04-02T18:14:21.338843694Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-04-02T18:14:21.345961756Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=7.119922ms grafana | logger=migrator t=2024-04-02T18:14:21.35058778Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-04-02T18:14:21.351714044Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.126414ms grafana | logger=migrator t=2024-04-02T18:14:21.35689508Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-04-02T18:14:21.364940165Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.046055ms grafana | logger=migrator t=2024-04-02T18:14:21.374366575Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-04-02T18:14:21.3759917Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.630685ms grafana | logger=migrator t=2024-04-02T18:14:21.37914432Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-04-02T18:14:21.380705005Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.555165ms grafana | logger=migrator t=2024-04-02T18:14:21.385143948Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-04-02T18:14:21.38574531Z level=info msg="Migration successfully executed" id="create user auth token table" duration=600.992µs grafana | logger=migrator t=2024-04-02T18:14:21.393224144Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-04-02T18:14:21.394817309Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.596195ms grafana | logger=migrator t=2024-04-02T18:14:21.400772817Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-04-02T18:14:21.402727163Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.957816ms grafana | logger=migrator t=2024-04-02T18:14:21.40798812Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-04-02T18:14:21.409363104Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.380284ms grafana | logger=migrator t=2024-04-02T18:14:21.413541777Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:29 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:30 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:31 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:31 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:31 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:31 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:31 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:31 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:31 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:31 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:31 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:31 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:31 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:31 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:31 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:31 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:31 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:31 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:31 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:32 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:32 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0204241814270800u 1 2024-04-02 18:14:32 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0204241814270900u 1 2024-04-02 18:14:32 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0204241814270900u 1 2024-04-02 18:14:32 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0204241814270900u 1 2024-04-02 18:14:32 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0204241814270900u 1 2024-04-02 18:14:32 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0204241814270900u 1 2024-04-02 18:14:32 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0204241814270900u 1 2024-04-02 18:14:32 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0204241814270900u 1 2024-04-02 18:14:32 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0204241814270900u 1 2024-04-02 18:14:32 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0204241814270900u 1 2024-04-02 18:14:32 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0204241814270900u 1 2024-04-02 18:14:32 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0204241814270900u 1 2024-04-02 18:14:32 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0204241814270900u 1 2024-04-02 18:14:32 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0204241814270900u 1 2024-04-02 18:14:32 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0204241814271000u 1 2024-04-02 18:14:32 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0204241814271000u 1 2024-04-02 18:14:32 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0204241814271000u 1 2024-04-02 18:14:32 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0204241814271000u 1 2024-04-02 18:14:32 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0204241814271000u 1 2024-04-02 18:14:33 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0204241814271000u 1 2024-04-02 18:14:33 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0204241814271000u 1 2024-04-02 18:14:33 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0204241814271000u 1 2024-04-02 18:14:33 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0204241814271000u 1 2024-04-02 18:14:33 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0204241814271100u 1 2024-04-02 18:14:33 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0204241814271200u 1 2024-04-02 18:14:33 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0204241814271200u 1 2024-04-02 18:14:33 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0204241814271200u 1 2024-04-02 18:14:33 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0204241814271200u 1 2024-04-02 18:14:33 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 0204241814271300u 1 2024-04-02 18:14:33 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 0204241814271300u 1 2024-04-02 18:14:33 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 0204241814271300u 1 2024-04-02 18:14:33 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-04-02T18:14:21.421311241Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=7.770164ms grafana | logger=migrator t=2024-04-02T18:14:21.425534335Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-04-02T18:14:21.426578648Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.043583ms grafana | logger=migrator t=2024-04-02T18:14:21.432126015Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-04-02T18:14:21.433097408Z level=info msg="Migration successfully executed" id="create cache_data table" duration=970.343µs grafana | logger=migrator t=2024-04-02T18:14:21.435904287Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-04-02T18:14:21.437433272Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.528265ms grafana | logger=migrator t=2024-04-02T18:14:21.442615338Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-04-02T18:14:21.443712582Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.098854ms grafana | logger=migrator t=2024-04-02T18:14:21.450142082Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-04-02T18:14:21.451179275Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.036753ms grafana | logger=migrator t=2024-04-02T18:14:21.453826643Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-04-02T18:14:21.453893333Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=69.49µs grafana | logger=migrator t=2024-04-02T18:14:21.458006096Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-04-02T18:14:21.458087107Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=81.331µs grafana | logger=migrator t=2024-04-02T18:14:21.501907804Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-04-02T18:14:21.503180788Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.225523ms grafana | logger=migrator t=2024-04-02T18:14:21.509004046Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-04-02T18:14:21.510643011Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.637725ms grafana | logger=migrator t=2024-04-02T18:14:21.515424836Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-04-02T18:14:21.517670873Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=2.249127ms grafana | logger=migrator t=2024-04-02T18:14:21.524054013Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-04-02T18:14:21.524120203Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=65.91µs grafana | logger=migrator t=2024-04-02T18:14:21.528686957Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-04-02T18:14:21.529943851Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.256294ms grafana | logger=migrator t=2024-04-02T18:14:21.534048304Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-04-02T18:14:21.535605829Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.553255ms grafana | logger=migrator t=2024-04-02T18:14:21.540037343Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-04-02T18:14:21.541160086Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.122173ms grafana | logger=migrator t=2024-04-02T18:14:21.545899051Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-04-02T18:14:21.547260055Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.364144ms grafana | logger=migrator t=2024-04-02T18:14:21.553586595Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-04-02T18:14:21.559640504Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.052829ms grafana | logger=migrator t=2024-04-02T18:14:21.564470599Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-04-02T18:14:21.565476402Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.006783ms grafana | logger=migrator t=2024-04-02T18:14:21.573452557Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-04-02T18:14:21.573563308Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=111.591µs grafana | logger=migrator t=2024-04-02T18:14:21.579232885Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-04-02T18:14:21.580330129Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.096854ms grafana | logger=migrator t=2024-04-02T18:14:21.583368188Z 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-04-02T18:14:21.584543842Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.171794ms grafana | logger=migrator t=2024-04-02T18:14:21.59032558Z 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-04-02T18:14:21.591330593Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.001943ms grafana | logger=migrator t=2024-04-02T18:14:21.596241708Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-04-02T18:14:21.596307699Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=66.501µs grafana | logger=migrator t=2024-04-02T18:14:21.601548615Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-04-02T18:14:21.60298179Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.433375ms grafana | logger=migrator t=2024-04-02T18:14:21.609813441Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-04-02T18:14:21.610807444Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=993.363µs grafana | logger=migrator t=2024-04-02T18:14:21.615262098Z 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-04-02T18:14:21.617108594Z 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.844956ms grafana | logger=migrator t=2024-04-02T18:14:21.623053472Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-04-02T18:14:21.624058555Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.002013ms grafana | logger=migrator t=2024-04-02T18:14:21.629721793Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-04-02T18:14:21.635690362Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.970319ms grafana | logger=migrator t=2024-04-02T18:14:21.641657841Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-04-02T18:14:21.642353413Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=695.352µs grafana | logger=migrator t=2024-04-02T18:14:21.64805711Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-04-02T18:14:21.649836496Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.783146ms grafana | logger=migrator t=2024-04-02T18:14:21.654751741Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-04-02T18:14:21.682180497Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=27.424736ms grafana | logger=migrator t=2024-04-02T18:14:21.707160835Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-04-02T18:14:21.735385293Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=28.226618ms grafana | logger=migrator t=2024-04-02T18:14:21.740899281Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-04-02T18:14:21.741907884Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.007543ms grafana | logger=migrator t=2024-04-02T18:14:21.747803552Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-04-02T18:14:21.749441607Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.637415ms grafana | logger=migrator t=2024-04-02T18:14:21.758102924Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-04-02T18:14:21.763864353Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.761219ms grafana | logger=migrator t=2024-04-02T18:14:21.766669341Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-04-02T18:14:21.772273409Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.602738ms grafana | logger=migrator t=2024-04-02T18:14:21.778381308Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-04-02T18:14:21.780156384Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.782446ms grafana | logger=migrator t=2024-04-02T18:14:21.787112815Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-04-02T18:14:21.788101248Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=989.363µs grafana | logger=migrator t=2024-04-02T18:14:21.794699149Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-04-02T18:14:21.795712012Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.012983ms grafana | logger=migrator t=2024-04-02T18:14:21.800636488Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-04-02T18:14:21.801724891Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.088713ms grafana | logger=migrator t=2024-04-02T18:14:21.806909687Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-04-02T18:14:21.806986007Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=76.55µs grafana | logger=migrator t=2024-04-02T18:14:21.812363254Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-04-02T18:14:21.819493436Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.130202ms grafana | logger=migrator t=2024-04-02T18:14:21.82392354Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-04-02T18:14:21.829939109Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.014169ms grafana | logger=migrator t=2024-04-02T18:14:21.833818911Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-04-02T18:14:21.83985907Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.038889ms grafana | logger=migrator t=2024-04-02T18:14:21.844179753Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-04-02T18:14:21.845166527Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=991.684µs grafana | logger=migrator t=2024-04-02T18:14:21.850195703Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-04-02T18:14:21.852060848Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.864235ms grafana | logger=migrator t=2024-04-02T18:14:21.857301665Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-04-02T18:14:21.863901195Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.59965ms grafana | logger=migrator t=2024-04-02T18:14:21.867908858Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-04-02T18:14:21.873952837Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.043219ms grafana | logger=migrator t=2024-04-02T18:14:21.87835142Z 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-04-02T18:14:21.879391194Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.039294ms grafana | logger=migrator t=2024-04-02T18:14:21.885276632Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-04-02T18:14:21.894984512Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.70705ms grafana | logger=migrator t=2024-04-02T18:14:21.899422316Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-04-02T18:14:21.904992494Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.571058ms grafana | logger=migrator t=2024-04-02T18:14:21.909664298Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-04-02T18:14:21.909731459Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=68.051µs grafana | logger=migrator t=2024-04-02T18:14:21.915261466Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-04-02T18:14:21.917203812Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.941706ms grafana | logger=migrator t=2024-04-02T18:14:21.921998407Z 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-04-02T18:14:21.923115141Z 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.116673ms grafana | logger=migrator t=2024-04-02T18:14:21.927308353Z 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-04-02T18:14:21.928484627Z 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.172654ms grafana | logger=migrator t=2024-04-02T18:14:21.935152898Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-04-02T18:14:21.935230858Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=75.56µs grafana | logger=migrator t=2024-04-02T18:14:21.938431168Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-04-02T18:14:21.94858434Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=10.147982ms grafana | logger=migrator t=2024-04-02T18:14:21.9519407Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-04-02T18:14:21.956520785Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.581865ms grafana | logger=migrator t=2024-04-02T18:14:21.960735978Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-04-02T18:14:21.967357919Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.621361ms grafana | logger=migrator t=2024-04-02T18:14:21.970635249Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-04-02T18:14:21.976998549Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.36344ms grafana | logger=migrator t=2024-04-02T18:14:21.981398913Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-04-02T18:14:21.987629042Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.229519ms grafana | logger=migrator t=2024-04-02T18:14:21.992885399Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-04-02T18:14:21.992958469Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=73.54µs grafana | logger=migrator t=2024-04-02T18:14:21.996932271Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-04-02T18:14:21.997722874Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=790.323µs grafana | logger=migrator t=2024-04-02T18:14:22.002071077Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-04-02T18:14:22.011766421Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.696114ms grafana | logger=migrator t=2024-04-02T18:14:22.017680394Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-04-02T18:14:22.017754304Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=72.41µs grafana | logger=migrator t=2024-04-02T18:14:22.020294062Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-04-02T18:14:22.030715967Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=10.435245ms grafana | logger=migrator t=2024-04-02T18:14:22.054068034Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-04-02T18:14:22.055855627Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.787893ms grafana | logger=migrator t=2024-04-02T18:14:22.061047044Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-04-02T18:14:22.069524365Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.478931ms grafana | logger=migrator t=2024-04-02T18:14:22.074171778Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-04-02T18:14:22.074985934Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=813.566µs grafana | logger=migrator t=2024-04-02T18:14:22.080479173Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-04-02T18:14:22.0814526Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=973.537µs grafana | logger=migrator t=2024-04-02T18:14:22.087578224Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-04-02T18:14:22.095118218Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.538384ms grafana | logger=migrator t=2024-04-02T18:14:22.099473159Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-04-02T18:14:22.100243534Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=769.875µs grafana | logger=migrator t=2024-04-02T18:14:22.10526099Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-04-02T18:14:22.106240917Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=979.517µs grafana | logger=migrator t=2024-04-02T18:14:22.109617191Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-04-02T18:14:22.111009341Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.39035ms grafana | logger=migrator t=2024-04-02T18:14:22.115377502Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-04-02T18:14:22.116560531Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.181069ms grafana | logger=migrator t=2024-04-02T18:14:22.119945385Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-04-02T18:14:22.120051756Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=107.001µs grafana | logger=migrator t=2024-04-02T18:14:22.123628731Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-04-02T18:14:22.125166973Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.537161ms grafana | logger=migrator t=2024-04-02T18:14:22.130061638Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-04-02T18:14:22.131050365Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=988.128µs grafana | logger=migrator t=2024-04-02T18:14:22.134385088Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-04-02T18:14:22.134824542Z 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-04-02T18:14:22.138580168Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-04-02T18:14:22.139415574Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=835.226µs grafana | logger=migrator t=2024-04-02T18:14:22.142712168Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-04-02T18:14:22.144672712Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.961124ms grafana | logger=migrator t=2024-04-02T18:14:22.148356268Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-04-02T18:14:22.15973925Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=11.381722ms grafana | logger=migrator t=2024-04-02T18:14:22.162986293Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-04-02T18:14:22.164608265Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.621382ms grafana | logger=migrator t=2024-04-02T18:14:22.167839688Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-04-02T18:14:22.168948816Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.108368ms grafana | logger=migrator t=2024-04-02T18:14:22.172055988Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-04-02T18:14:22.172900544Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=843.826µs grafana | logger=migrator t=2024-04-02T18:14:22.175745754Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-04-02T18:14:22.177574727Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.825763ms grafana | logger=migrator t=2024-04-02T18:14:22.180897621Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-04-02T18:14:22.182700594Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.802213ms grafana | logger=migrator t=2024-04-02T18:14:22.188392845Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-04-02T18:14:22.188419885Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=27.46µs grafana | logger=migrator t=2024-04-02T18:14:22.191243795Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-04-02T18:14:22.191314856Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=71.191µs grafana | logger=migrator t=2024-04-02T18:14:22.194555769Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-04-02T18:14:22.194991812Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=436.723µs grafana | logger=migrator t=2024-04-02T18:14:22.199393463Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-04-02T18:14:22.201054415Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.658942ms grafana | logger=migrator t=2024-04-02T18:14:22.207220709Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-04-02T18:14:22.208107506Z level=info msg="Migration successfully executed" id="create secrets table" duration=886.207µs grafana | logger=migrator t=2024-04-02T18:14:22.210936136Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-04-02T18:14:22.24366918Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=32.729794ms grafana | logger=migrator t=2024-04-02T18:14:22.247022244Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-04-02T18:14:22.253783412Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.756618ms grafana | logger=migrator t=2024-04-02T18:14:22.259333462Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-04-02T18:14:22.259478983Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=146.041µs grafana | logger=migrator t=2024-04-02T18:14:22.262486475Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-04-02T18:14:22.294437783Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=31.950838ms grafana | logger=migrator t=2024-04-02T18:14:22.305488412Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-04-02T18:14:22.347387562Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=41.89257ms grafana | logger=migrator t=2024-04-02T18:14:22.355618111Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-04-02T18:14:22.356298456Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=680.015µs grafana | logger=migrator t=2024-04-02T18:14:22.364473604Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-04-02T18:14:22.366336287Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.860963ms grafana | logger=migrator t=2024-04-02T18:14:22.414468652Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-04-02T18:14:22.414833564Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=365.652µs grafana | logger=migrator t=2024-04-02T18:14:22.418982124Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-04-02T18:14:22.424399373Z level=info msg="Migration successfully executed" id="create permission table" duration=5.408299ms grafana | logger=migrator t=2024-04-02T18:14:22.430382476Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-04-02T18:14:22.431464003Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.082467ms grafana | logger=migrator t=2024-04-02T18:14:22.434486655Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-04-02T18:14:22.435585373Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.097868ms grafana | logger=migrator t=2024-04-02T18:14:22.439306319Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-04-02T18:14:22.440187586Z level=info msg="Migration successfully executed" id="create role table" duration=877.897µs grafana | logger=migrator t=2024-04-02T18:14:22.445862886Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-04-02T18:14:22.453581231Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.718675ms grafana | logger=migrator t=2024-04-02T18:14:22.456710994Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-04-02T18:14:22.464262098Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.550264ms grafana | logger=migrator t=2024-04-02T18:14:22.468316417Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-04-02T18:14:22.469339224Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.025187ms grafana | logger=migrator t=2024-04-02T18:14:22.474502631Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-04-02T18:14:22.47575693Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.253639ms grafana | logger=migrator t=2024-04-02T18:14:22.480203242Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-04-02T18:14:22.481934724Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.733832ms grafana | logger=migrator t=2024-04-02T18:14:22.486258915Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-04-02T18:14:22.487758276Z level=info msg="Migration successfully executed" id="create team role table" duration=1.498971ms grafana | logger=migrator t=2024-04-02T18:14:22.494359533Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-04-02T18:14:22.495789323Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.43105ms grafana | logger=migrator t=2024-04-02T18:14:22.498608394Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-04-02T18:14:22.499744482Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.137038ms grafana | logger=migrator t=2024-04-02T18:14:22.502674063Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-04-02T18:14:22.50371713Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.042417ms grafana | logger=migrator t=2024-04-02T18:14:22.508481874Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-04-02T18:14:22.509388831Z level=info msg="Migration successfully executed" id="create user role table" duration=906.367µs grafana | logger=migrator t=2024-04-02T18:14:22.512734235Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-04-02T18:14:22.513794762Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.061687ms grafana | logger=migrator t=2024-04-02T18:14:22.517503519Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-04-02T18:14:22.518646467Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.142388ms grafana | logger=migrator t=2024-04-02T18:14:22.525872939Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-04-02T18:14:22.526947066Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.071187ms grafana | logger=migrator t=2024-04-02T18:14:22.530728483Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-04-02T18:14:22.532153383Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.42449ms grafana | logger=migrator t=2024-04-02T18:14:22.53586654Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-04-02T18:14:22.536946998Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.080098ms grafana | logger=migrator t=2024-04-02T18:14:22.543000881Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-04-02T18:14:22.544813234Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.809883ms grafana | logger=migrator t=2024-04-02T18:14:22.551968225Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-04-02T18:14:22.564106462Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=12.137577ms grafana | logger=migrator t=2024-04-02T18:14:22.56943179Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-04-02T18:14:22.570646499Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.214229ms grafana | logger=migrator t=2024-04-02T18:14:22.576532321Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-04-02T18:14:22.577670879Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.136738ms grafana | logger=migrator t=2024-04-02T18:14:22.581233185Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-04-02T18:14:22.582809776Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.576352ms grafana | logger=migrator t=2024-04-02T18:14:22.586604033Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-04-02T18:14:22.588345255Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.740632ms grafana | logger=migrator t=2024-04-02T18:14:22.592990049Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-04-02T18:14:22.59452244Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.536421ms grafana | logger=migrator t=2024-04-02T18:14:22.597932304Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-04-02T18:14:22.599094762Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.161838ms grafana | logger=migrator t=2024-04-02T18:14:22.602523087Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-04-02T18:14:22.610781356Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.257399ms grafana | logger=migrator t=2024-04-02T18:14:22.615183377Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-04-02T18:14:22.623129294Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.945267ms grafana | logger=migrator t=2024-04-02T18:14:22.626338757Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-04-02T18:14:22.631944457Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.60539ms grafana | logger=migrator t=2024-04-02T18:14:22.635273261Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-04-02T18:14:22.643385159Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.111428ms grafana | logger=migrator t=2024-04-02T18:14:22.64770936Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-04-02T18:14:22.648891948Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.181488ms grafana | logger=migrator t=2024-04-02T18:14:22.652266043Z level=info msg="Executing migration" id="add permission action scope role_id index" grafana | logger=migrator t=2024-04-02T18:14:22.653424461Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.157638ms grafana | logger=migrator t=2024-04-02T18:14:22.656853985Z level=info msg="Executing migration" id="remove permission role_id action scope index" grafana | logger=migrator t=2024-04-02T18:14:22.657833772Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=979.457µs grafana | logger=migrator t=2024-04-02T18:14:22.661941802Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-04-02T18:14:22.662832348Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=889.966µs grafana | logger=migrator t=2024-04-02T18:14:22.666220102Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-04-02T18:14:22.667970435Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.750303ms grafana | logger=migrator t=2024-04-02T18:14:22.671362109Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-04-02T18:14:22.67146158Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=100.281µs grafana | logger=migrator t=2024-04-02T18:14:22.676060893Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-04-02T18:14:22.676116413Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=53.14µs grafana | logger=migrator t=2024-04-02T18:14:22.679721929Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-04-02T18:14:22.680444504Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=722.565µs grafana | logger=migrator t=2024-04-02T18:14:22.683768428Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-04-02T18:14:22.684628054Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=860.766µs grafana | logger=migrator t=2024-04-02T18:14:22.687894717Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-04-02T18:14:22.688547352Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=652.275µs grafana | logger=migrator t=2024-04-02T18:14:22.692587411Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-04-02T18:14:22.692791382Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=204.081µs grafana | logger=migrator t=2024-04-02T18:14:22.695925715Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-04-02T18:14:22.69663271Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=706.315µs grafana | logger=migrator t=2024-04-02T18:14:22.701087882Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-04-02T18:14:22.702403641Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.311559ms grafana | logger=migrator t=2024-04-02T18:14:22.70647884Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-04-02T18:14:22.707572678Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.091368ms grafana | logger=migrator t=2024-04-02T18:14:22.710868402Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-04-02T18:14:22.718774668Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.905776ms grafana | logger=migrator t=2024-04-02T18:14:22.722054812Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-04-02T18:14:22.722119812Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=65.2µs grafana | logger=migrator t=2024-04-02T18:14:22.72465779Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-04-02T18:14:22.725688788Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.030418ms grafana | logger=migrator t=2024-04-02T18:14:22.764515005Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-04-02T18:14:22.766155267Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.639982ms grafana | logger=migrator t=2024-04-02T18:14:22.769741813Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-04-02T18:14:22.771440695Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.698652ms grafana | logger=migrator t=2024-04-02T18:14:22.77487624Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-04-02T18:14:22.783084038Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.208408ms grafana | logger=migrator t=2024-04-02T18:14:22.787269118Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-04-02T18:14:22.78891454Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.642992ms grafana | logger=migrator t=2024-04-02T18:14:22.792200443Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-04-02T18:14:22.793840415Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.639262ms grafana | logger=migrator t=2024-04-02T18:14:22.798123466Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-02T18:14:22.824768446Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=26.63355ms grafana | logger=migrator t=2024-04-02T18:14:22.828403652Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-04-02T18:14:22.829540851Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.138309ms grafana | logger=migrator t=2024-04-02T18:14:22.832758324Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-04-02T18:14:22.833550229Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=791.355µs grafana | logger=migrator t=2024-04-02T18:14:22.837610368Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-04-02T18:14:22.839529862Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.918764ms grafana | logger=migrator t=2024-04-02T18:14:22.842992077Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-04-02T18:14:22.844676279Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.683462ms grafana | logger=migrator t=2024-04-02T18:14:22.848088583Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-04-02T18:14:22.848363495Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=273.942µs grafana | logger=migrator t=2024-04-02T18:14:22.852429434Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-04-02T18:14:22.85327646Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=842.466µs grafana | logger=migrator t=2024-04-02T18:14:22.856630414Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-04-02T18:14:22.867294281Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.660497ms grafana | logger=migrator t=2024-04-02T18:14:22.870830886Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-04-02T18:14:22.872309946Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.4805ms grafana | logger=migrator t=2024-04-02T18:14:22.876750688Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-04-02T18:14:22.878547511Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.795193ms grafana | logger=migrator t=2024-04-02T18:14:22.881751604Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-02T18:14:22.882192737Z 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-04-02T18:14:22.884582584Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-02T18:14:22.885021137Z 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-04-02T18:14:22.889154207Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-04-02T18:14:22.889915162Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=760.445µs grafana | logger=migrator t=2024-04-02T18:14:22.893215656Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-04-02T18:14:22.894249063Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.033147ms grafana | logger=migrator t=2024-04-02T18:14:22.898393233Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-02T18:14:22.899532691Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.141178ms grafana | logger=migrator t=2024-04-02T18:14:22.902698114Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-02T18:14:22.903838832Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.139728ms grafana | logger=migrator t=2024-04-02T18:14:22.907017115Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-04-02T18:14:22.908039342Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.021257ms grafana | logger=migrator t=2024-04-02T18:14:22.912067261Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-04-02T18:14:22.913111308Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.044177ms grafana | logger=migrator t=2024-04-02T18:14:22.916327281Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-04-02T18:14:22.917116817Z level=info msg="Migration successfully executed" id="Drop public config table" duration=789.296µs grafana | logger=migrator t=2024-04-02T18:14:22.9203645Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-04-02T18:14:22.921553629Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.188809ms grafana | logger=migrator t=2024-04-02T18:14:22.925811779Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-04-02T18:14:22.926920517Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.182108ms grafana | logger=migrator t=2024-04-02T18:14:22.930118Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-04-02T18:14:22.931440539Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.320819ms grafana | logger=migrator t=2024-04-02T18:14:22.93576735Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-04-02T18:14:22.937497023Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.728733ms grafana | logger=migrator t=2024-04-02T18:14:22.940855157Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-04-02T18:14:22.962617882Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=21.763085ms grafana | logger=migrator t=2024-04-02T18:14:22.965792485Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-04-02T18:14:22.97209319Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.300215ms grafana | logger=migrator t=2024-04-02T18:14:22.976185679Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-04-02T18:14:22.984514419Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.32799ms grafana | logger=migrator t=2024-04-02T18:14:22.987981494Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-04-02T18:14:22.988216995Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=235.101µs grafana | logger=migrator t=2024-04-02T18:14:22.991732671Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-04-02T18:14:23.00001936Z level=info msg="Migration successfully executed" id="add share column" duration=8.286749ms grafana | logger=migrator t=2024-04-02T18:14:23.003505865Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-04-02T18:14:23.003721756Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=217.211µs grafana | logger=migrator t=2024-04-02T18:14:23.00796336Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-04-02T18:14:23.008959462Z level=info msg="Migration successfully executed" id="create file table" duration=995.342µs grafana | logger=migrator t=2024-04-02T18:14:23.012433424Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-04-02T18:14:23.013503477Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.069793ms grafana | logger=migrator t=2024-04-02T18:14:23.016954339Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-04-02T18:14:23.018021502Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.066283ms grafana | logger=migrator t=2024-04-02T18:14:23.022153466Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-04-02T18:14:23.022973399Z level=info msg="Migration successfully executed" id="create file_meta table" duration=818.983µs grafana | logger=migrator t=2024-04-02T18:14:23.02632219Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-04-02T18:14:23.027413404Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.092864ms grafana | logger=migrator t=2024-04-02T18:14:23.03243617Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-04-02T18:14:23.032520931Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=84.581µs grafana | logger=migrator t=2024-04-02T18:14:23.035755052Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-04-02T18:14:23.035859232Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=104.52µs grafana | logger=migrator t=2024-04-02T18:14:23.040123806Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-04-02T18:14:23.040983499Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=859.833µs grafana | logger=migrator t=2024-04-02T18:14:23.044478531Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-04-02T18:14:23.044705101Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=226.31µs grafana | logger=migrator t=2024-04-02T18:14:23.047752982Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-04-02T18:14:23.049115386Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.362034ms grafana | logger=migrator t=2024-04-02T18:14:23.052871899Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-04-02T18:14:23.061826719Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.95386ms grafana | logger=migrator t=2024-04-02T18:14:23.066200293Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-04-02T18:14:23.066613405Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=418.362µs grafana | logger=migrator t=2024-04-02T18:14:23.068799102Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-04-02T18:14:23.069947186Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.152924ms grafana | logger=migrator t=2024-04-02T18:14:23.072571994Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-04-02T18:14:23.073066806Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=495.112µs grafana | logger=migrator t=2024-04-02T18:14:23.076667718Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-04-02T18:14:23.076908099Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=240.291µs grafana | logger=migrator t=2024-04-02T18:14:23.080623651Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-04-02T18:14:23.081040173Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=416.232µs grafana | logger=migrator t=2024-04-02T18:14:23.108495394Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-04-02T18:14:23.115876809Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=7.379195ms grafana | logger=migrator t=2024-04-02T18:14:23.120031423Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-04-02T18:14:23.126391374Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.359051ms grafana | logger=migrator t=2024-04-02T18:14:23.129325874Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-04-02T18:14:23.130479968Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.156384ms grafana | logger=migrator t=2024-04-02T18:14:23.133530188Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-04-02T18:14:23.206704178Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=73.17118ms grafana | logger=migrator t=2024-04-02T18:14:23.211398053Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-04-02T18:14:23.212205616Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=806.883µs grafana | logger=migrator t=2024-04-02T18:14:23.215435876Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-04-02T18:14:23.21642206Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=984.994µs grafana | logger=migrator t=2024-04-02T18:14:23.219778661Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-04-02T18:14:23.246588958Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=26.809607ms grafana | logger=migrator t=2024-04-02T18:14:23.251473274Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-04-02T18:14:23.257737264Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=6.26387ms grafana | logger=migrator t=2024-04-02T18:14:23.261324306Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-04-02T18:14:23.261644287Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=320.051µs grafana | logger=migrator t=2024-04-02T18:14:23.265453169Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-04-02T18:14:23.26564515Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=191.371µs grafana | logger=migrator t=2024-04-02T18:14:23.270166014Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-04-02T18:14:23.270532575Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=366.181µs grafana | logger=migrator t=2024-04-02T18:14:23.274294378Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-04-02T18:14:23.274614309Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=319.781µs grafana | logger=migrator t=2024-04-02T18:14:23.278324891Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-04-02T18:14:23.278646782Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=320.661µs grafana | logger=migrator t=2024-04-02T18:14:23.282453484Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-04-02T18:14:23.283872409Z level=info msg="Migration successfully executed" id="create folder table" duration=1.421945ms grafana | logger=migrator t=2024-04-02T18:14:23.288854105Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-04-02T18:14:23.290972232Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.117537ms grafana | logger=migrator t=2024-04-02T18:14:23.294110312Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-04-02T18:14:23.295490717Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.379915ms grafana | logger=migrator t=2024-04-02T18:14:23.298862358Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-04-02T18:14:23.298892488Z level=info msg="Migration successfully executed" id="Update folder title length" duration=30.56µs grafana | logger=migrator t=2024-04-02T18:14:23.303052411Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-02T18:14:23.304442366Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.389645ms grafana | logger=migrator t=2024-04-02T18:14:23.307856757Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-02T18:14:23.309099321Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.303744ms grafana | logger=migrator t=2024-04-02T18:14:23.312344841Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-04-02T18:14:23.314083647Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.737846ms grafana | logger=migrator t=2024-04-02T18:14:23.318552142Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-04-02T18:14:23.319159424Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=606.482µs grafana | logger=migrator t=2024-04-02T18:14:23.322527385Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-04-02T18:14:23.322885256Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=357.151µs grafana | logger=migrator t=2024-04-02T18:14:23.326433277Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-04-02T18:14:23.327576791Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.143254ms grafana | logger=migrator t=2024-04-02T18:14:23.331963405Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-04-02T18:14:23.33325393Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.289115ms grafana | logger=migrator t=2024-04-02T18:14:23.33648652Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-04-02T18:14:23.337636484Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.149454ms grafana | logger=migrator t=2024-04-02T18:14:23.340907514Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-04-02T18:14:23.342171188Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.264624ms grafana | logger=migrator t=2024-04-02T18:14:23.346324422Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-04-02T18:14:23.347550466Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.217034ms grafana | logger=migrator t=2024-04-02T18:14:23.350542446Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-04-02T18:14:23.351629899Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.086723ms grafana | logger=migrator t=2024-04-02T18:14:23.355570582Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-04-02T18:14:23.356902816Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.331084ms grafana | logger=migrator t=2024-04-02T18:14:23.360065437Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-04-02T18:14:23.361345281Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.279784ms grafana | logger=migrator t=2024-04-02T18:14:23.364710672Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-04-02T18:14:23.365769935Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.059143ms grafana | logger=migrator t=2024-04-02T18:14:23.369884968Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-04-02T18:14:23.371134463Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.248935ms grafana | logger=migrator t=2024-04-02T18:14:23.374338953Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-04-02T18:14:23.375635687Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.294094ms grafana | logger=migrator t=2024-04-02T18:14:23.378572997Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-04-02T18:14:23.378873908Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=301.231µs grafana | logger=migrator t=2024-04-02T18:14:23.3827678Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-04-02T18:14:23.392674103Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.907303ms grafana | logger=migrator t=2024-04-02T18:14:23.395669822Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-04-02T18:14:23.396204934Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=535.612µs grafana | logger=migrator t=2024-04-02T18:14:23.398909333Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-02T18:14:23.399721625Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=811.512µs grafana | logger=migrator t=2024-04-02T18:14:23.403527228Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-02T18:14:23.404657322Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.129614ms grafana | logger=migrator t=2024-04-02T18:14:23.408514624Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-02T18:14:23.409646198Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.134154ms grafana | logger=migrator t=2024-04-02T18:14:23.412798768Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-04-02T18:14:23.414041972Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.242564ms grafana | logger=migrator t=2024-04-02T18:14:23.418046355Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-02T18:14:23.419275699Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.228904ms grafana | logger=migrator t=2024-04-02T18:14:23.42247223Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-04-02T18:14:23.423550363Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.077813ms grafana | logger=migrator t=2024-04-02T18:14:23.428410729Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-04-02T18:14:23.429195471Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=785.972µs grafana | logger=migrator t=2024-04-02T18:14:23.463081272Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-04-02T18:14:23.463512003Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=431.511µs grafana | logger=migrator t=2024-04-02T18:14:23.467379606Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-04-02T18:14:23.467482266Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=103.92µs grafana | logger=migrator t=2024-04-02T18:14:23.470739396Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-04-02T18:14:23.480263968Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=9.525332ms grafana | logger=migrator t=2024-04-02T18:14:23.485637695Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-04-02T18:14:23.49645596Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=10.786585ms grafana | logger=migrator t=2024-04-02T18:14:23.549161641Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-04-02T18:14:23.549654363Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=504.712µs grafana | logger=migrator t=2024-04-02T18:14:23.553140665Z level=info msg="migrations completed" performed=548 skipped=0 duration=4.18698678s grafana | logger=sqlstore t=2024-04-02T18:14:23.563495698Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-04-02T18:14:23.563788489Z level=info msg="Created default organization" grafana | logger=secrets t=2024-04-02T18:14:23.569257307Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-04-02T18:14:23.590819827Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-04-02T18:14:23.65030271Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-04-02T18:14:23.65033515Z level=info msg="Plugins loaded" count=55 duration=59.517443ms grafana | logger=query_data t=2024-04-02T18:14:23.652804699Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-04-02T18:14:23.656692481Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-04-02T18:14:23.763138067Z level=info msg=Starting grafana | logger=ngalert.migration t=2024-04-02T18:14:23.763791249Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false grafana | logger=ngalert.migration orgID=1 t=2024-04-02T18:14:23.764293511Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-04-02T18:14:23.765056733Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration t=2024-04-02T18:14:23.766745809Z level=info msg="Completed alerting migration" grafana | logger=ngalert.state.manager t=2024-04-02T18:14:23.820159273Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-04-02T18:14:23.824071625Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-04-02T18:14:23.828047718Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-04-02T18:14:23.846332158Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-04-02T18:14:23.846350528Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-04-02T18:14:23.846644409Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-04-02T18:14:23.846765559Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.state.manager t=2024-04-02T18:14:23.84715978Z level=info msg="State cache has been initialized" states=0 duration=392.951µs grafana | logger=ngalert.multiorg.alertmanager t=2024-04-02T18:14:23.847280251Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.scheduler t=2024-04-02T18:14:23.848335754Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-04-02T18:14:23.848460795Z level=info msg=starting first_tick=2024-04-02T18:14:30Z grafana | logger=provisioning.dashboard t=2024-04-02T18:14:23.849244007Z level=info msg="starting to provision dashboards" grafana | logger=http.server t=2024-04-02T18:14:23.850820682Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=sqlstore.transactions t=2024-04-02T18:14:23.89626825Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-04-02T18:14:23.897183403Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-04-02T18:14:23.909874894Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=plugins.update.checker t=2024-04-02T18:14:23.930943493Z level=info msg="Update check succeeded" duration=82.98898ms grafana | logger=grafana.update.checker t=2024-04-02T18:14:23.933751852Z level=info msg="Update check succeeded" duration=86.729072ms grafana | logger=provisioning.dashboard t=2024-04-02T18:14:24.180539647Z level=info msg="finished to provision dashboards" grafana | logger=grafana-apiserver t=2024-04-02T18:14:24.536302855Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-04-02T18:14:24.53694843Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=infra.usagestats t=2024-04-02T18:15:17.857572009Z 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 grafana ... done Removing policy-api ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-montreal-project-csit-api + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.ox58IDnSsu ]] + rsync -av /tmp/tmp.ox58IDnSsu/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,345,261 bytes received 95 bytes 2,690,712.00 bytes/sec total size is 1,344,615 speedup is 1.00 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2081 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1491038896763273400.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins11053369938661311638.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-montreal-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-montreal-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-montreal-project-csit-api ']' + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-montreal-project-csit-api/archives/ [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins10929697998005351598.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-An2g from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-An2g/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12536865549920227505.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config15852996356188262781tmp 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-montreal-project-csit-api] $ /bin/bash /tmp/jenkins17713763305396423381.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins15856016582092259874.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-An2g from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-An2g/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins2120956531228697252.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins4998750938807660347.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-An2g 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-An2g/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins10398098973556138153.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-An2g from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-An2g/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/143 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-20152 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 816 27344 0 4005 30894 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:71:b6:96 brd ff:ff:ff:ff:ff:ff inet 10.30.107.72/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86062sec preferred_lft 86062sec inet6 fe80::f816:3eff:fe71:b696/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:91:d8:08:85 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-20152) 04/02/24 _x86_64_ (8 CPU) 18:11:23 LINUX RESTART (8 CPU) 18:12:01 tps rtps wtps bread/s bwrtn/s 18:13:01 98.42 17.73 80.69 1021.66 29224.26 18:14:01 146.59 23.01 123.58 2759.54 36142.91 18:15:01 376.45 12.16 364.29 814.65 84147.06 18:16:01 15.60 0.02 15.58 4.27 22932.58 Average: 159.26 13.23 146.03 1150.02 43111.12 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30112160 31711992 2827060 8.58 71344 1838648 1439452 4.24 861184 1673072 173540 18:14:01 28380728 31678220 4558492 13.84 107888 3445312 1585340 4.66 979296 3182308 1407496 18:15:01 27150628 30821520 5788592 17.57 128820 3764764 3991524 11.74 1922016 3410040 16 18:16:01 27152216 30824220 5787004 17.57 128876 3765588 4087944 12.03 1920256 3409664 820 Average: 28198933 31258988 4740287 14.39 109232 3203578 2776065 8.17 1420688 2918771 395468 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 lo 1.67 1.67 0.18 0.18 0.00 0.00 0.00 0.00 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:01 ens3 57.48 40.34 970.35 7.87 0.00 0.00 0.00 0.00 18:14:01 lo 9.40 9.40 0.87 0.87 0.00 0.00 0.00 0.00 18:14:01 br-2420d8d411fa 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 ens3 319.45 203.47 10042.91 18.81 0.00 0.00 0.00 0.00 18:15:01 lo 6.95 6.95 8.34 8.34 0.00 0.00 0.00 0.00 18:15:01 veth315a284 130.73 159.82 114.58 38.95 0.00 0.00 0.00 0.01 18:15:01 br-2420d8d411fa 3.57 4.03 6.17 2.51 0.00 0.00 0.00 0.00 18:15:01 vethdff004a 0.05 0.37 0.00 0.02 0.00 0.00 0.00 0.00 18:16:01 lo 8.12 8.12 0.56 0.56 0.00 0.00 0.00 0.00 18:16:01 veth315a284 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 br-2420d8d411fa 1.73 1.93 0.14 0.18 0.00 0.00 0.00 0.00 18:16:01 vethdff004a 0.77 1.03 0.10 0.88 0.00 0.00 0.00 0.00 Average: lo 6.53 6.53 2.49 2.49 0.00 0.00 0.00 0.00 Average: veth315a284 32.68 39.96 28.64 9.74 0.00 0.00 0.00 0.00 Average: br-2420d8d411fa 1.32 1.49 1.58 0.67 0.00 0.00 0.00 0.00 Average: vethdff004a 0.20 0.35 0.03 0.23 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-20152) 04/02/24 _x86_64_ (8 CPU) 18:11:23 LINUX RESTART (8 CPU) 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 10.30 0.00 0.77 2.12 0.03 86.78 18:13:01 0 0.39 0.00 0.20 2.21 0.02 97.19 18:13:01 1 13.64 0.00 0.93 0.67 0.07 84.69 18:13:01 2 3.33 0.00 0.45 4.03 0.03 92.16 18:13:01 3 37.78 0.00 1.97 2.12 0.07 58.07 18:13:01 4 12.73 0.00 0.83 6.77 0.03 79.63 18:13:01 5 6.82 0.00 0.70 0.52 0.02 91.95 18:13:01 6 6.89 0.00 0.73 0.60 0.03 91.74 18:13:01 7 0.83 0.00 0.33 0.10 0.00 98.73 18:14:01 all 12.15 0.00 2.86 2.23 0.06 82.71 18:14:01 0 19.96 0.00 3.53 0.37 0.05 76.09 18:14:01 1 32.20 0.00 3.82 1.74 0.07 62.16 18:14:01 2 6.53 0.00 2.41 7.51 0.03 83.51 18:14:01 3 12.13 0.00 2.83 0.52 0.08 84.43 18:14:01 4 10.23 0.00 3.83 0.12 0.07 85.76 18:14:01 5 5.90 0.00 1.54 7.03 0.03 85.50 18:14:01 6 5.37 0.00 2.64 0.40 0.03 91.55 18:14:01 7 4.83 0.00 2.20 0.13 0.05 92.79 18:15:01 all 17.13 0.00 2.88 4.71 0.06 75.22 18:15:01 0 11.66 0.00 2.43 0.89 0.07 84.96 18:15:01 1 19.02 0.00 3.17 1.73 0.07 76.02 18:15:01 2 20.05 0.00 2.24 1.84 0.07 75.80 18:15:01 3 15.42 0.00 2.81 0.30 0.05 81.42 18:15:01 4 23.44 0.00 2.92 1.39 0.08 72.16 18:15:01 5 15.79 0.00 3.73 25.23 0.07 55.19 18:15:01 6 16.74 0.00 3.08 2.38 0.05 77.75 18:15:01 7 14.91 0.00 2.70 3.96 0.03 78.40 18:16:01 all 0.32 0.00 0.07 1.02 0.02 98.57 18:16:01 0 1.03 0.00 0.10 0.00 0.02 98.85 18:16:01 1 0.08 0.00 0.10 0.00 0.02 99.80 18:16:01 2 0.17 0.00 0.15 0.00 0.03 99.65 18:16:01 3 0.25 0.00 0.07 0.00 0.02 99.67 18:16:01 4 0.13 0.00 0.05 0.02 0.00 99.80 18:16:01 5 0.28 0.00 0.05 3.05 0.02 96.60 18:16:01 6 0.52 0.00 0.05 5.01 0.02 94.40 18:16:01 7 0.10 0.00 0.07 0.05 0.02 99.77 Average: all 9.96 0.00 1.64 2.52 0.04 85.84 Average: 0 8.24 0.00 1.56 0.86 0.04 89.29 Average: 1 16.21 0.00 2.00 1.03 0.05 80.70 Average: 2 7.51 0.00 1.31 3.33 0.04 87.80 Average: 3 16.41 0.00 1.91 0.74 0.05 80.89 Average: 4 11.61 0.00 1.90 2.08 0.05 84.36 Average: 5 7.18 0.00 1.50 8.93 0.03 82.35 Average: 6 7.37 0.00 1.62 2.10 0.03 88.87 Average: 7 5.15 0.00 1.32 1.06 0.03 92.44