Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-23120 (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-zayVf3lJEFYC/agent.2052 SSH_AGENT_PID=2054 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_7715746289697125665.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_7715746289697125665.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/jenkins1979446738622213834.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-877M 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-877M/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-877M/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.84 botocore==1.34.84 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.4 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.7 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.1 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.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.11.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/jenkins12644741800861535074.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/jenkins12190205459212138550.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.5AL8CZ41Wa ++ echo ROBOT_VENV=/tmp/tmp.5AL8CZ41Wa +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.5AL8CZ41Wa ++ source /tmp/tmp.5AL8CZ41Wa/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.5AL8CZ41Wa +++ 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.5AL8CZ41Wa/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.5AL8CZ41Wa) ' '!=' x ']' +++ PS1='(tmp.5AL8CZ41Wa) ' +++ 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.7 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.2.1 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.5AL8CZ41Wa/src/onap ++ rm -rf /tmp/tmp.5AL8CZ41Wa/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.7 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.2.1 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.5AL8CZ41Wa/bin/activate + '[' -z /tmp/tmp.5AL8CZ41Wa/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.5AL8CZ41Wa/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.5AL8CZ41Wa ++ 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.5AL8CZ41Wa/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.5AL8CZ41Wa) ' ++ '[' 'x(tmp.5AL8CZ41Wa) ' '!=' x ']' ++ PS1='(tmp.5AL8CZ41Wa) (tmp.5AL8CZ41Wa) ' ++ 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.6egK5xI9XE + cd /tmp/tmp.6egK5xI9XE + 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:4f6c47e39a9064028766e8c95890ed15690c30f00c4ba14e7ce6ae1ded0295b1 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:7d5faae481a4c6f436c99e98af11534f7fd5e8d3e35213552dd1dd02bc393d2e Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-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 12 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-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 + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:14:51 up 3 min, 0 users, load average: 1.89, 0.76, 0.29 Tasks: 181 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.4 us, 2.1 sy, 0.0 ni, 84.5 id, 3.0 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.7G 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 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 e4fd81432ab1 policy-api 0.10% 787.1MiB / 31.41GiB 2.45% 998kB / 710kB 0B / 0B 55 0dbc5d685b99 grafana 0.03% 57.48MiB / 31.41GiB 0.18% 18.9kB / 3.25kB 0B / 24.6MB 16 39b1c2e3f68e mariadb 0.02% 100.3MiB / 31.41GiB 0.31% 985kB / 1.18MB 11MB / 67.9MB 27 adef02b9a5e0 prometheus 0.12% 18.67MiB / 31.41GiB 0.06% 1.52kB / 158B 233kB / 0B 13 + echo + cd /tmp/tmp.6egK5xI9XE + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + 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.6egK5xI9XE/output.xml Log: /tmp/tmp.6egK5xI9XE/log.html Report: /tmp/tmp.6egK5xI9XE/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:16:01 up 4 min, 0 users, load average: 0.71, 0.66, 0.29 Tasks: 179 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.7 us, 1.7 sy, 0.0 ni, 87.2 id, 2.3 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 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 e4fd81432ab1 policy-api 0.10% 956.7MiB / 31.41GiB 2.97% 7MB / 2.55MB 0B / 0B 56 0dbc5d685b99 grafana 0.04% 60.73MiB / 31.41GiB 0.19% 19.8kB / 4.39kB 0B / 24.6MB 16 39b1c2e3f68e mariadb 0.01% 101.5MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 68.3MB 18 adef02b9a5e0 prometheus 0.10% 24.77MiB / 31.41GiB 0.08% 55.4kB / 6.48kB 233kB / 0B 13 + 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 policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2024-04-13T18:14:38.022+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 21 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-04-13T18:14:38.024+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-04-13T18:14:39.613+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-04-13T18:14:39.698+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 76 ms. Found 6 JPA repository interfaces. policy-api | [2024-04-13T18:14:40.071+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-13T18:14:40.072+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-13T18:14:40.690+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-04-13T18:14:40.699+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-04-13T18:14:40.700+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-04-13T18:14:40.701+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2024-04-13T18:14:40.786+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-04-13T18:14:40.786+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2699 ms policy-api | [2024-04-13T18:14:41.177+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-04-13T18:14:41.250+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-04-13T18:14:41.253+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-04-13T18:14:41.297+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-04-13T18:14:41.593+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-04-13T18:14:41.612+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-04-13T18:14:41.705+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b policy-api | [2024-04-13T18:14:41.707+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-04-13T18:14:41.734+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-13T18:14:41.735+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-04-13T18:14:43.528+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-04-13T18:14:43.532+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-04-13T18:14:44.679+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-04-13T18:14:45.346+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-04-13T18:14:46.397+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-13T18:14:46.592+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@607c7f58, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4bbb00a4, org.springframework.security.web.context.SecurityContextHolderFilter@6e11d059, org.springframework.security.web.header.HeaderWriterFilter@1d123972, org.springframework.security.web.authentication.logout.LogoutFilter@54e1e8a7, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@206d4413, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@19bd1f98, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@69cf9acb, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@543d242e, org.springframework.security.web.access.ExceptionTranslationFilter@5b3063b7, org.springframework.security.web.access.intercept.AuthorizationFilter@407bfc49] policy-api | [2024-04-13T18:14:47.388+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-04-13T18:14:47.443+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-04-13T18:14:47.464+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-04-13T18:14:47.484+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.132 seconds (process running for 10.726) policy-api | [2024-04-13T18:14:54.158+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-04-13T18:14:54.158+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-04-13T18:14:54.160+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-04-13T18:14:56.267+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-04-13T18:14:56.402+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-04-13T18:14:56.707+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-04-13T18:14:57.904+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-api | [2024-04-13T18:14:59.800+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-04-13T18:15:00.127+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-04-13T18:15:00.353+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-04-13T18:15:00.567+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-04-13T18:15:00.780+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-04-13T18:15:00.997+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=settings t=2024-04-13T18:14:22.749509278Z level=info msg="Starting Grafana" version=10.4.2 commit=701c851be7a930e04fbc6ebb1cd4254da80edd4c branch=v10.4.x compiled=2024-04-13T18:14:22Z grafana | logger=settings t=2024-04-13T18:14:22.74977547Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-04-13T18:14:22.74978901Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-04-13T18:14:22.74979326Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-04-13T18:14:22.74979822Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-04-13T18:14:22.74980153Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-13T18:14:22.7498051Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-13T18:14:22.7498091Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-04-13T18:14:22.7498169Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-04-13T18:14:22.74982249Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-04-13T18:14:22.74982859Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" mariadb | 2024-04-13 18:14:23+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-13 18:14:23+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-04-13 18:14:23+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-13 18:14:24+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-04-13 18:14:24 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-13 18:14:24 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-13 18:14:24 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-13 18:14:25+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-04-13 18:14:25+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-04-13 18:14:25+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-04-13 18:14:25 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... mariadb | 2024-04-13 18:14:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-04-13 18:14:25 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-13 18:14:25 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-13 18:14:25 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-13 18:14:25 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=settings t=2024-04-13T18:14:22.74983392Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" mariadb | 2024-04-13 18:14:25 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=settings t=2024-04-13T18:14:22.74983811Z level=info msg=Target target=[all] policy-db-migrator | Waiting for mariadb port 3306... prometheus | ts=2024-04-13T18:14:21.796Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d mariadb | 2024-04-13 18:14:25 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=settings t=2024-04-13T18:14:22.74984561Z level=info msg="Path Home" path=/usr/share/grafana policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused prometheus | ts=2024-04-13T18:14:21.796Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.2, branch=HEAD, revision=b4c0ab52c3e9b940ab803581ddae9b3d9a452337)" mariadb | 2024-04-13 18:14:25 0 [Note] InnoDB: Completed initialization of buffer pool grafana | logger=settings t=2024-04-13T18:14:22.74984948Z level=info msg="Path Data" path=/var/lib/grafana policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused prometheus | ts=2024-04-13T18:14:21.796Z caller=main.go:622 level=info build_context="(go=go1.22.2, platform=linux/amd64, user=root@b63f02a423d9, date=20240410-14:05:54, tags=netgo,builtinassets,stringlabels)" mariadb | 2024-04-13 18:14:25 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=settings t=2024-04-13T18:14:22.74985393Z level=info msg="Path Logs" path=/var/log/grafana policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused prometheus | ts=2024-04-13T18:14:21.796Z caller=main.go:623 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" mariadb | 2024-04-13 18:14:26 0 [Note] InnoDB: 128 rollback segments are active. grafana | logger=settings t=2024-04-13T18:14:22.74986065Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused prometheus | ts=2024-04-13T18:14:21.796Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" mariadb | 2024-04-13 18:14:26 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... grafana | logger=settings t=2024-04-13T18:14:22.74987921Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused prometheus | ts=2024-04-13T18:14:21.796Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" mariadb | 2024-04-13 18:14:26 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. grafana | logger=settings t=2024-04-13T18:14:22.74988465Z level=info msg="App mode production" policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused prometheus | ts=2024-04-13T18:14:21.805Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 mariadb | 2024-04-13 18:14:26 0 [Note] InnoDB: log sequence number 46590; transaction id 14 grafana | logger=sqlstore t=2024-04-13T18:14:22.751095287Z level=info msg="Connecting to DB" dbtype=sqlite3 policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! prometheus | ts=2024-04-13T18:14:21.806Z caller=main.go:1129 level=info msg="Starting TSDB ..." mariadb | 2024-04-13 18:14:26 0 [Note] Plugin 'FEEDBACK' is disabled. grafana | logger=sqlstore t=2024-04-13T18:14:22.751125487Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db policy-db-migrator | 321 blocks prometheus | ts=2024-04-13T18:14:21.808Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 mariadb | 2024-04-13 18:14:26 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. grafana | logger=migrator t=2024-04-13T18:14:22.752309903Z level=info msg="Starting DB migrations" policy-db-migrator | Preparing upgrade release version: 0800 prometheus | ts=2024-04-13T18:14:21.808Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 mariadb | 2024-04-13 18:14:26 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. grafana | logger=migrator t=2024-04-13T18:14:22.757480031Z level=info msg="Executing migration" id="create migration_log table" policy-db-migrator | Preparing upgrade release version: 0900 prometheus | ts=2024-04-13T18:14:21.809Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" mariadb | 2024-04-13 18:14:26 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. grafana | logger=migrator t=2024-04-13T18:14:22.759894974Z level=info msg="Migration successfully executed" id="create migration_log table" duration=2.423393ms policy-db-migrator | Preparing upgrade release version: 1000 prometheus | ts=2024-04-13T18:14:21.809Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.45µs mariadb | 2024-04-13 18:14:26 0 [Note] mariadbd: ready for connections. grafana | logger=migrator t=2024-04-13T18:14:22.764099317Z level=info msg="Executing migration" id="create user table" policy-db-migrator | Preparing upgrade release version: 1100 prometheus | ts=2024-04-13T18:14:21.809Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution grafana | logger=migrator t=2024-04-13T18:14:22.764992331Z level=info msg="Migration successfully executed" id="create user table" duration=892.514µs policy-db-migrator | Preparing upgrade release version: 1200 prometheus | ts=2024-04-13T18:14:21.810Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 mariadb | 2024-04-13 18:14:26+00:00 [Note] [Entrypoint]: Temporary server started. grafana | logger=migrator t=2024-04-13T18:14:22.771223035Z level=info msg="Executing migration" id="add unique index user.login" policy-db-migrator | Preparing upgrade release version: 1300 prometheus | ts=2024-04-13T18:14:21.810Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=26.202µs wal_replay_duration=947.208µs wbl_replay_duration=220ns total_replay_duration=1.006711ms mariadb | 2024-04-13 18:14:28+00:00 [Note] [Entrypoint]: Creating user policy_user grafana | logger=migrator t=2024-04-13T18:14:22.772006739Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=782.844µs policy-db-migrator | Done prometheus | ts=2024-04-13T18:14:21.814Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC mariadb | 2024-04-13 18:14:28+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) grafana | logger=migrator t=2024-04-13T18:14:22.775493508Z level=info msg="Executing migration" id="add unique index user.email" policy-db-migrator | name version prometheus | ts=2024-04-13T18:14:21.814Z caller=main.go:1153 level=info msg="TSDB started" mariadb | grafana | logger=migrator t=2024-04-13T18:14:22.776245342Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=751.434µs policy-db-migrator | policyadmin 0 prometheus | ts=2024-04-13T18:14:21.814Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml mariadb | 2024-04-13 18:14:28+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf grafana | logger=migrator t=2024-04-13T18:14:22.779749951Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 prometheus | ts=2024-04-13T18:14:21.815Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.254604ms db_storage=1.42µs remote_storage=2.17µs web_handler=1.11µs query_engine=740ns scrape=341.768µs scrape_sd=140.267µs notify=38.682µs notify_sd=25.011µs rules=1.77µs tracing=7.451µs mariadb | grafana | logger=migrator t=2024-04-13T18:14:22.780479825Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=727.704µs policy-db-migrator | upgrade: 0 -> 1300 prometheus | ts=2024-04-13T18:14:21.816Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." mariadb | 2024-04-13 18:14:28+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh grafana | logger=migrator t=2024-04-13T18:14:22.785375681Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" policy-db-migrator | prometheus | ts=2024-04-13T18:14:21.816Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." mariadb | #!/bin/bash -xv grafana | logger=migrator t=2024-04-13T18:14:22.786066195Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=689.834µs policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved grafana | logger=migrator t=2024-04-13T18:14:22.790012826Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 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) grafana | logger=migrator t=2024-04-13T18:14:22.794036747Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.020361ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:22.798060919Z level=info msg="Executing migration" id="create user table v2" policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-13T18:14:22.798919203Z level=info msg="Migration successfully executed" id="create user table v2" duration=857.824µs 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) grafana | logger=migrator t=2024-04-13T18:14:22.804311892Z level=info msg="Executing migration" id="create index UQE_user_login - v2" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:22.805901951Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.589179ms policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql grafana | logger=migrator t=2024-04-13T18:14:22.813903024Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 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) grafana | logger=migrator t=2024-04-13T18:14:22.814714558Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=810.484µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:22.817815635Z level=info msg="Executing migration" id="copy data_source v1 to v2" policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql grafana | logger=migrator t=2024-04-13T18:14:22.818302387Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=486.052µs 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) grafana | logger=migrator t=2024-04-13T18:14:22.822356819Z level=info msg="Executing migration" id="Drop old table user_v1" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:22.823199894Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=842.565µs policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql grafana | logger=migrator t=2024-04-13T18:14:22.827097005Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 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) grafana | logger=migrator t=2024-04-13T18:14:22.829070615Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.97254ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:22.832598794Z level=info msg="Executing migration" id="Update user table charset" policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql grafana | logger=migrator t=2024-04-13T18:14:22.832628404Z level=info msg="Migration successfully executed" id="Update user table charset" duration=30.2µs 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) grafana | logger=migrator t=2024-04-13T18:14:22.835806701Z level=info msg="Executing migration" id="Add last_seen_at column to user" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:22.836946337Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.139276ms policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2024-04-13T18:14:22.84113574Z level=info msg="Executing migration" id="Add missing user data" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T18:14:22.841619003Z level=info msg="Migration successfully executed" id="Add missing user data" duration=482.673µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:22.845451403Z level=info msg="Executing migration" id="Add is_disabled column to user" policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2024-04-13T18:14:22.847375443Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.92298ms 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) grafana | logger=migrator t=2024-04-13T18:14:22.850673411Z level=info msg="Executing migration" id="Add index user.login/user.email" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:22.851433175Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=759.094µs policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2024-04-13T18:14:22.854897114Z level=info msg="Executing migration" id="Add is_service_account column to user" 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) grafana | logger=migrator t=2024-04-13T18:14:22.85604175Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.144016ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:22.860184152Z level=info msg="Executing migration" id="Update is_service_account column to nullable" policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2024-04-13T18:14:22.868169825Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=7.983103ms 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) grafana | logger=migrator t=2024-04-13T18:14:22.871625844Z level=info msg="Executing migration" id="Add uid column to user" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:22.87289021Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.263776ms policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-04-13T18:14:22.876231458Z level=info msg="Executing migration" id="Update uid column values for users" 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) grafana | logger=migrator t=2024-04-13T18:14:22.87648766Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=254.262µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:22.879763197Z level=info msg="Executing migration" id="Add unique index user_uid" 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) grafana | logger=migrator t=2024-04-13T18:14:22.880544801Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=781.494µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:22.885106096Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" policy-db-migrator | mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. grafana | logger=migrator t=2024-04-13T18:14:22.885660439Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=553.463µs mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); grafana | logger=migrator t=2024-04-13T18:14:22.889731981Z level=info msg="Executing migration" id="create temp user table v1-7" mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at grafana | logger=migrator t=2024-04-13T18:14:22.891050128Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.316967ms mariadb | # grafana | logger=migrator t=2024-04-13T18:14:22.896121195Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql mariadb | # http://www.apache.org/licenses/LICENSE-2.0 grafana | logger=migrator t=2024-04-13T18:14:22.897425652Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.303417ms policy-db-migrator | -------------- mariadb | # grafana | logger=migrator t=2024-04-13T18:14:22.90267561Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 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) mariadb | # Unless required by applicable law or agreed to in writing, software grafana | logger=migrator t=2024-04-13T18:14:22.903429864Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=753.444µs policy-db-migrator | -------------- mariadb | # distributed under the License is distributed on an "AS IS" BASIS, grafana | logger=migrator t=2024-04-13T18:14:22.907271565Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" policy-db-migrator | mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. grafana | logger=migrator t=2024-04-13T18:14:22.908064519Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=793.144µs policy-db-migrator | mariadb | # See the License for the specific language governing permissions and grafana | logger=migrator t=2024-04-13T18:14:22.91195333Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql mariadb | # limitations under the License. grafana | logger=migrator t=2024-04-13T18:14:22.912773764Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=819.904µs policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-04-13T18:14:22.917696931Z level=info msg="Executing migration" id="Update temp_user table charset" 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) mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-04-13T18:14:22.917841351Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=144.43µs mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" grafana | logger=migrator t=2024-04-13T18:14:22.921678862Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done grafana | logger=migrator t=2024-04-13T18:14:22.922701188Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.022205ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' grafana | logger=migrator t=2024-04-13T18:14:22.926268117Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-04-13T18:14:22.9269169Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=647.543µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-04-13T18:14:22.931841687Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' grafana | logger=migrator t=2024-04-13T18:14:22.932487Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=643.963µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-04-13T18:14:22.936044749Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-04-13T18:14:22.937087795Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.041846ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' grafana | logger=migrator t=2024-04-13T18:14:22.940802075Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-04-13T18:14:22.943960602Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.158217ms mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-04-13T18:14:22.948917448Z level=info msg="Executing migration" id="create temp_user v2" mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" grafana | logger=migrator t=2024-04-13T18:14:22.949744263Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=825.655µs mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql grafana | logger=migrator t=2024-04-13T18:14:22.953532843Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | grafana | logger=migrator t=2024-04-13T18:14:22.954239427Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=703.654µs mariadb | 2024-04-13 18:14:29+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-04-13 18:14:29 0 [Note] mariadbd (initiated by: unknown): Normal shutdown grafana | logger=migrator t=2024-04-13T18:14:22.957800466Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Starting shutdown... grafana | logger=migrator t=2024-04-13T18:14:22.958998392Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.201096ms mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Buffer pool(s) dump completed at 240413 18:14:29 grafana | logger=migrator t=2024-04-13T18:14:22.962617652Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Shutdown completed; log sequence number 340420; transaction id 298 grafana | logger=migrator t=2024-04-13T18:14:22.963811978Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.189986ms mariadb | 2024-04-13 18:14:29 0 [Note] mariadbd: Shutdown complete mariadb | grafana | logger=migrator t=2024-04-13T18:14:22.968368482Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" mariadb | 2024-04-13 18:14:29+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | grafana | logger=migrator t=2024-04-13T18:14:22.969592329Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.223257ms mariadb | 2024-04-13 18:14:29+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | grafana | logger=migrator t=2024-04-13T18:14:22.973696211Z level=info msg="Executing migration" id="copy temp_user v1 to v2" mariadb | 2024-04-13 18:14:29 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2024-04-13T18:14:22.974287964Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=591.363µs mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2024-04-13T18:14:22.977922024Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" mariadb | 2024-04-13 18:14:29 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-13 18:14:29 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=migrator t=2024-04-13T18:14:22.978409356Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=487.072µs mariadb | 2024-04-13 18:14:29 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2024-04-13T18:14:22.98289854Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2024-04-13T18:14:22.983249182Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=350.282µs mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... grafana | logger=migrator t=2024-04-13T18:14:22.98659582Z level=info msg="Executing migration" id="create star table" mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: log sequence number 340420; transaction id 299 grafana | logger=migrator t=2024-04-13T18:14:22.987549205Z level=info msg="Migration successfully executed" id="create star table" duration=952.465µs mariadb | 2024-04-13 18:14:29 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2024-04-13T18:14:22.991015934Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" mariadb | 2024-04-13 18:14:29 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-13 18:14:29 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. grafana | logger=migrator t=2024-04-13T18:14:22.99214909Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.131796ms mariadb | 2024-04-13 18:14:29 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-04-13 18:14:29 0 [Note] Server socket created on IP: '::'. grafana | logger=migrator t=2024-04-13T18:14:22.995466608Z level=info msg="Executing migration" id="create org table v1" mariadb | 2024-04-13 18:14:29 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 grafana | logger=migrator t=2024-04-13T18:14:22.996206912Z level=info msg="Migration successfully executed" id="create org table v1" duration=740.684µs mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Buffer pool(s) load completed at 240413 18:14:29 mariadb | 2024-04-13 18:14:30 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) grafana | logger=migrator t=2024-04-13T18:14:23.001064738Z level=info msg="Executing migration" id="create index UQE_org_name - v1" mariadb | 2024-04-13 18:14:30 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2024-04-13T18:14:23.002277605Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.211767ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.005799294Z level=info msg="Executing migration" id="create org_user table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.007133282Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.333988ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.010334989Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.011595416Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.262377ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.014799504Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.015600268Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=799.984µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.020888357Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.021667441Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=778.774µs policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2024-04-13T18:14:23.025201241Z level=info msg="Executing migration" id="Update org table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.025250191Z level=info msg="Migration successfully executed" id="Update org table charset" duration=44.36µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.029015372Z level=info msg="Executing migration" id="Update org_user table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.029057462Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=48.57µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.032861913Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.033172634Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=310.441µs policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2024-04-13T18:14:23.04151968Z level=info msg="Executing migration" id="create dashboard table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.042746337Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.226227ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.045813844Z level=info msg="Executing migration" id="add index dashboard.account_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.047161871Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.346687ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.050685741Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.052075358Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.388728ms policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-04-13T18:14:23.055517027Z level=info msg="Executing migration" id="create dashboard_tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.056213451Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=698.134µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.061764961Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.062591316Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=825.995µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.065900694Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.067112201Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.210837ms policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-04-13T18:14:23.071298564Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-04-13T18:14:23.079346858Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=8.048794ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.08521696Z level=info msg="Executing migration" id="create dashboard v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.085786213Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=569.203µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.088770999Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.089336732Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=565.483µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.092820652Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-04-13T18:14:23.094194609Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.373247ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.0999029Z level=info msg="Executing migration" id="copy dashboard v1 to v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.100284772Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=381.802µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.103616761Z level=info msg="Executing migration" id="drop table dashboard_v1" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.104576236Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=960.045µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.108275816Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-04-13T18:14:23.108390837Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=113.831µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.114223859Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.117154545Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.930486ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.120847355Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.12362968Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.781245ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.127307241Z level=info msg="Executing migration" id="Add column gnetId in dashboard" policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-04-13T18:14:23.129158711Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.8507ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.135086193Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.136429981Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.344898ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.140586763Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.143501209Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.913306ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.14725796Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-04-13T18:14:23.148653068Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.394168ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.155000063Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.155804717Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=804.784µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.159285716Z level=info msg="Executing migration" id="Update dashboard table charset" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-04-13T18:14:23.159312606Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=28.21µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.162696735Z level=info msg="Executing migration" id="Update dashboard_tag table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.162725485Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=29.27µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.168867939Z level=info msg="Executing migration" id="Add column folder_id in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.171900425Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.031426ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.175402384Z level=info msg="Executing migration" id="Add column isFolder in dashboard" policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-04-13T18:14:23.177371555Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.968451ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.180648393Z level=info msg="Executing migration" id="Add column has_acl in dashboard" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.182567964Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.918941ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.185728921Z level=info msg="Executing migration" id="Add column uid in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.187628851Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.89916ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.193869816Z level=info msg="Executing migration" id="Update uid column values in dashboard" policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-04-13T18:14:23.194257258Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=386.872µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.197660446Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.198939973Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.278867ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.202332342Z level=info msg="Executing migration" id="Remove unique index org_id_slug" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.203086976Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=754.654µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.209344891Z level=info msg="Executing migration" id="Update dashboard title length" policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-04-13T18:14:23.209379831Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=36.97µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.212767089Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.214054576Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.286917ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.217571946Z level=info msg="Executing migration" id="create dashboard_provisioning" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.218639471Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.068045ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.224870876Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-04-13T18:14:23.230030714Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.159528ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.233258202Z level=info msg="Executing migration" id="create dashboard_provisioning v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.234016096Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=758.094µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.237505815Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.23837107Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=865.895µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.244287672Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-04-13T18:14:23.245205527Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=918.545µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.248441435Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.249002588Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=561.713µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.252553617Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.253505563Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=949.716µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.26034322Z level=info msg="Executing migration" id="Add check_sum column" policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-04-13T18:14:23.262433902Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.090942ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.266013881Z level=info msg="Executing migration" id="Add index for dashboard_title" 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-13T18:14:23.266894696Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=880.835µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.270298815Z level=info msg="Executing migration" id="delete tags for deleted dashboards" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.270514706Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=215.411µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.274372597Z level=info msg="Executing migration" id="delete stars for deleted dashboards" policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-04-13T18:14:23.274699059Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=326.782µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.280467221Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-04-13T18:14:23.281710447Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.244266ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.285242037Z level=info msg="Executing migration" id="Add isPublic for dashboard" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.288598175Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.355358ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.292375236Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-04-13T18:14:23.293319041Z level=info msg="Migration successfully executed" id="create data_source table" duration=943.465µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.299286904Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.300536781Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.250117ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.30398969Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.305271197Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.280707ms policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-04-13T18:14:23.308737066Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.309429369Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=692.683µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.313991184Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.314848059Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=854.125µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.319022692Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.327446578Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.425776ms policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-04-13T18:14:23.332062453Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.333033159Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=971.196µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T18:14:23.336703729Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.337701884Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=997.015µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.37878694Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.380272298Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.486238ms policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-04-13T18:14:23.387151626Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.388091521Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=939.575µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-13T18:14:23.392134293Z level=info msg="Executing migration" id="Add column with_credentials" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.395908204Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.772601ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.399274372Z level=info msg="Executing migration" id="Add secure json data column" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.401616985Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.342243ms policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-04-13T18:14:23.40803075Z level=info msg="Executing migration" id="Update data_source table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.40805198Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=22.34µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.411522569Z level=info msg="Executing migration" id="Update initial version to 1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.411800771Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=277.962µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.415184229Z level=info msg="Executing migration" id="Add read_only data column" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.418752759Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.56617ms policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-04-13T18:14:23.422520259Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.422931822Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=410.493µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-13T18:14:23.428865604Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.429089746Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=223.582µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.432800876Z level=info msg="Executing migration" id="Add uid column" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.436092204Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.289038ms policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-04-13T18:14:23.439491733Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.439892455Z level=info msg="Migration successfully executed" id="Update uid value" duration=404.752µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-13T18:14:23.443633795Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.44449401Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=859.775µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.450577283Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.45185805Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.280547ms policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-04-13T18:14:23.455568361Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.456999009Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.428728ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.460265316Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.461151691Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=886.155µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.466084548Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.467126354Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.040636ms policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-04-13T18:14:23.471058086Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.472459173Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.400657ms grafana | logger=migrator t=2024-04-13T18:14:23.475979183Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-04-13T18:14:23.476824547Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=843.784µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-13T18:14:23.482007546Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.483295123Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.287867ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.487026883Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.48828538Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.258657ms policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-04-13T18:14:23.493928361Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.501699694Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=7.772313ms 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 | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.506312789Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.507141814Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=830.315µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.510407461Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-04-13T18:14:23.511293526Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=885.925µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.516511415Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.51741169Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=900.235µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.520463367Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.521371482Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=908.025µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.524561459Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-04-13T18:14:23.524991561Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=429.162µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.529985649Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.530645702Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=657.743µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.534010371Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.534131282Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=119.64µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.537653441Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-04-13T18:14:23.541653733Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.000412ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.546850841Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-13T18:14:23.549382375Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.531184ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.552875194Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.553124036Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=248.492µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.556203863Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-04-13T18:14:23.558731396Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.526443ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.564080486Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.56672726Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.643584ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.569817057Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.570647562Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=830.005µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.573568548Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-04-13T18:14:23.574166161Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=596.703µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.580821138Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.581734523Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=911.445µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.585546973Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-04-13T18:14:23.586971621Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.424698ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.590881963Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.592360221Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.478068ms policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-04-13T18:14:23.598021972Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.598925127Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=900.985µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-13T18:14:23.602613997Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.602853378Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=238.551µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.606562019Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.606683829Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=120.99µs policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-04-13T18:14:23.61049218Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.613199075Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.704685ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.618573335Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.62132979Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.756305ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.624583868Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.624751748Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=166.48µs policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-04-13T18:14:23.628150787Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.629005962Z level=info msg="Migration successfully executed" id="create quota table v1" duration=854.775µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.634478132Z 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-13T18:14:23.635376657Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=897.785µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.638844386Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.638962736Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=117.6µs policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.643982544Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-13T18:14:23.645456012Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.472738ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.652956423Z 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-13T18:14:23.653922028Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=965.535µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.659510269Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-04-13T18:14:23.664054464Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.542315ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.667943445Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.668119306Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=172.551µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.671603715Z level=info msg="Executing migration" id="create session table" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.672555831Z level=info msg="Migration successfully executed" id="create session table" duration=951.766µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.679480069Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-04-13T18:14:23.67966223Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=184.331µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.683285819Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.68347268Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=186.101µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.687330202Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.688615099Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.283277ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.695246225Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-04-13T18:14:23.696824674Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.68601ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.700531204Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-13T18:14:23.700828066Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=297.992µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.704511286Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.704670777Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=160.061µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.707758144Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-04-13T18:14:23.710920041Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.162117ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.716095799Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.719231837Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.135418ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.722914667Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.723104358Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=189.291µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.726626567Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-04-13T18:14:23.726813468Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=186.521µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.733008962Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.734336089Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.323677ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.73813719Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.738200591Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=64.161µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.740842435Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-04-13T18:14:23.743907572Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.064267ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.746945809Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-13T18:14:23.74718576Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=238.892µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.752245338Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.755381205Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.133817ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.758582412Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-04-13T18:14:23.76173772Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.155188ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.766188104Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-04-13T18:14:23.766346065Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=157.921µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-13T18:14:23.771974106Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.773170622Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.196636ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.777205204Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.778690843Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.485719ms policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-04-13T18:14:23.782160202Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.783519069Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.358127ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.78914933Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.790133565Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=983.195µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.793409083Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-04-13T18:14:23.794312548Z level=info msg="Migration successfully executed" id="add index alert state" duration=903.715µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.797462246Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-13T18:14:23.798399981Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=936.955µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.804567864Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.805447169Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=879.595µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.813144862Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-04-13T18:14:23.814023766Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=878.384µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.817151203Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.81835873Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.204317ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.823499408Z 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-13T18:14:23.834581759Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=11.084651ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.839047954Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-04-13T18:14:23.839649797Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=593.133µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.84565198Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.846252153Z 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=599.773µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.851034969Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-04-13T18:14:23.851306091Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=271.312µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.85482455Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.855319343Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=494.913µs grafana | logger=migrator t=2024-04-13T18:14:23.858781152Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-04-13T18:14:23.860104529Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.321487ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.864874235Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.870271415Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.39728ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.878110378Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.881995629Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.880361ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.885579139Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-04-13T18:14:23.889367489Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.78818ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.895339742Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-13T18:14:23.901668547Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=6.331665ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.907327278Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.908944717Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.616839ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.914485707Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-04-13T18:14:23.914515607Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=30.67µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.917444613Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-13T18:14:23.917470464Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=26.871µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.921181454Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.922444391Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.263007ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.929390369Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-04-13T18:14:23.930250524Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=859.535µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.933961824Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.935516093Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.554029ms grafana | logger=migrator t=2024-04-13T18:14:23.941921238Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.945377757Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=3.454269ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.953829283Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.95509921Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.272517ms policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-04-13T18:14:23.96247993Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.965324786Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=2.844466ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.971074678Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.974237075Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.161937ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.977955745Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.978087916Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=133.051µs policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.981023592Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-13T18:14:23.981671036Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=646.934µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.986661233Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.987236406Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=573.453µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:23.990037252Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-04-13T18:14:23.992641066Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=2.603414ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:23.995509682Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-04-13T18:14:23.995558092Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=48.42µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.00247506Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.003067293Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=592.863µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.005377775Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-04-13T18:14:24.006046709Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=669.044µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.008995145Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2024-04-13T18:14:24.009057395Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=62.411µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.014027971Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.014688395Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=659.944µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.017962073Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.018552786Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=589.813µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-13T18:14:24.022090055Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.022678008Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=588.053µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.028371308Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.028990242Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=616.734µs policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-04-13T18:14:24.031712016Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.03238053Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=668.834µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-04-13T18:14:24.034955514Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.035590587Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=635.483µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.040798565Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.040816265Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=17.58µs policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-04-13T18:14:24.043468789Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.046429485Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=2.961646ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-13T18:14:24.04915628Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.049736903Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=580.363µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.0566226Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.060026248Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.407798ms grafana | logger=migrator t=2024-04-13T18:14:24.06590405Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-04-13T18:14:24.066665524Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=761.024µs policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-04-13T18:14:24.070477664Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.072075823Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.596979ms 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-13T18:14:24.0753462Z 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-13T18:14:24.076223465Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=876.375µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.081274942Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.09570491Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=14.429738ms policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-04-13T18:14:24.099262989Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.099786332Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=523.343µs policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-04-13T18:14:24.10515265Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.106192986Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.039266ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.112828272Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.113365254Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=542.163µs policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-04-13T18:14:24.11630735Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.116968764Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=649.274µs policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-04-13T18:14:24.123238917Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.123420388Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=181.951µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.126633236Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-04-13T18:14:24.130906798Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.272762ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.135038021Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-04-13T18:14:24.139364154Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.325483ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.145327166Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.146255361Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=928.105µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.149946101Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-04-13T18:14:24.151230048Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.283256ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.158664617Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-04-13T18:14:24.15913119Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=470.513µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.163014761Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.167348914Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.333953ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.171935189Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-04-13T18:14:24.172842893Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=907.664µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.177412278Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-04-13T18:14:24.177579169Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=166.771µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.182118193Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.182477675Z level=info msg="Migration successfully executed" id="Move region to single row" duration=354.602µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.186582387Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-04-13T18:14:24.187909394Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.326387ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.19269174Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-04-13T18:14:24.193499634Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=807.764µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.197700257Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.198553631Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=853.024µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.202352942Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-04-13T18:14:24.203190856Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=837.264µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.207937362Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-04-13T18:14:24.209066398Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.128896ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.212829148Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.214347316Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.518618ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.219803035Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-04-13T18:14:24.219868616Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=65.831µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.223488245Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-04-13T18:14:24.22435301Z level=info msg="Migration successfully executed" id="create test_data table" duration=864.525µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.228230251Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.229604168Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.373057ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.234834706Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-04-13T18:14:24.235709681Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=876.815µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.240433896Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-04-13T18:14:24.241412071Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=977.735µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.248028377Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.248204568Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=176.551µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.254872003Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-04-13T18:14:24.255396796Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=524.833µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.266054793Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-04-13T18:14:24.266153364Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=99.351µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.274469259Z level=info msg="Executing migration" id="create team table" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.275564334Z level=info msg="Migration successfully executed" id="create team table" duration=1.094525ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.281063144Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-04-13T18:14:24.282574152Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.512668ms policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-04-13T18:14:24.28965174Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.291011397Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.358867ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.296523987Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.30451802Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.992963ms policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-04-13T18:14:24.309607307Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.309732968Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=125.631µs policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-04-13T18:14:24.314652614Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.316247763Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.594669ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.321540011Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.322677107Z level=info msg="Migration successfully executed" id="create team member table" duration=1.136166ms policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-04-13T18:14:24.327917755Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.3288057Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=887.445µ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-13T18:14:24.333333124Z 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-13T18:14:24.334704802Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.373338ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.341281107Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.342613424Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.331707ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-04-13T18:14:24.34740355Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.357846686Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=10.439236ms 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-13T18:14:24.364787253Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.372292733Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=7.50579ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.378184105Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.385128952Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=6.944087ms policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-04-13T18:14:24.388848192Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.389769557Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=921.325µ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-13T18:14:24.395730909Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.396865825Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.133466ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.401991923Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.403595661Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.603168ms policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-04-13T18:14:24.408404917Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.409384542Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=979.295µ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-13T18:14:24.415324554Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.416876313Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.550439ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.42202503Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.423763249Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.737599ms policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-04-13T18:14:24.429654821Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.431110399Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.454668ms 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-13T18:14:24.434849479Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.435800134Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=948.305µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.442248489Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.443081963Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=830.354µs policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-04-13T18:14:24.449192126Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.449619388Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=426.692µ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-13T18:14:24.454990137Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.456366484Z level=info msg="Migration successfully executed" id="create tag table" duration=1.375537ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.461874104Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.462842099Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=966.105µs policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-04-13T18:14:24.467247503Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.467975527Z level=info msg="Migration successfully executed" id="create login attempt table" duration=728.624µ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-13T18:14:24.472626972Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.47418659Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.555528ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.47783364Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.479594629Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.762029ms policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.485002408Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-13T18:14:24.502326711Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.316973ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.509041907Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.510576805Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=1.538728ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.516925649Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-04-13T18:14:24.517886784Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=961.085µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.524188368Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 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-13T18:14:24.52449003Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=301.452µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.531483317Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.532439892Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=956.765µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.537175818Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-04-13T18:14:24.538415735Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.238696ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.5431013Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 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-13T18:14:24.543983594Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=881.834µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.550334288Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.550437659Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=104.901µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.554071869Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-04-13T18:14:24.5618938Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.822192ms policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-04-13T18:14:24.567160199Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.572109405Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.948846ms 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-13T18:14:24.580682901Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.589189587Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=8.491506ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.593804372Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.600193536Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=6.388654ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-04-13T18:14:24.608967443Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.609969308Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.001775ms policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-04-13T18:14:24.616639044Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.624762758Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.122774ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.656440038Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.657891885Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.452007ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-04-13T18:14:24.663224084Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.664838893Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.610319ms policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-04-13T18:14:24.671263437Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.672780205Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.522198ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.6810747Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.682105085Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.030355ms policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-04-13T18:14:24.687415334Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.689106243Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.690459ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-04-13T18:14:24.695799279Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.697770629Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.97133ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.703155008Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.712474298Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=9.31391ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-04-13T18:14:24.71659635Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.717406915Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=810.495µ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-13T18:14:24.722643503Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.724222501Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.575458ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.728901556Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.731081318Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=2.179532ms policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-04-13T18:14:24.735358361Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.736243306Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=884.845µs 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-13T18:14:24.744054408Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.745813377Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.758459ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.754451313Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.754533754Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=83.111µs policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-04-13T18:14:24.761640992Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.761842593Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=201.671µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.767950786Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.769574545Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.622329ms policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-04-13T18:14:24.77612284Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.777640818Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.525008ms policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-04-13T18:14:24.781342068Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.782373053Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.030905ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.789724473Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.789841023Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=117.06µs policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-13T18:14:24.796257168Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.798019647Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.762419ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-04-13T18:14:24.804364941Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.805435037Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.067956ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.853459315Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.855156884Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.700019ms policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-13T18:14:24.861442627Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.863287337Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.84702ms policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-04-13T18:14:24.868993078Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-04-13T18:14:24.87502429Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.030362ms policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-04-13T18:14:24.880671411Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-04-13T18:14:24.882705491Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=2.035151ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.886997774Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.887262206Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=368.092µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.895776572Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-13T18:14:24.897611031Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.83991ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.902822799Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-04-13T18:14:24.904477518Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.654259ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.911861078Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.913585067Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.723669ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.919539279Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-04-13T18:14:24.919605309Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=66.07µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.926505246Z level=info msg="Executing migration" id="drop alert_definition_version table" 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-13T18:14:24.927380041Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=875.075µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.933880736Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.935342564Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.465068ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.940559142Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-04-13T18:14:24.941808978Z 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.248556ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.945540068Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-04-13T18:14:24.946692285Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.151357ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.951010958Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.958186566Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.175208ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.966429721Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-04-13T18:14:24.968053859Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.629148ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.972964096Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 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)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:24.97382891Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=864.414µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:24.979694372Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.007184507Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=27.490875ms policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-04-13T18:14:25.012192362Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.035937831Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=23.741919ms 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-13T18:14:25.040652744Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.041465769Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=813.084µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.046323333Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.048541224Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=2.216531ms policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-04-13T18:14:25.055376618Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.061510589Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.128791ms 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-13T18:14:25.066164562Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.071870331Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.705949ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.078947316Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.079951631Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.004195ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-04-13T18:14:25.085601589Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.086634465Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.032696ms 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-13T18:14:25.090782855Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.092705025Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.92185ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.098979156Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.100082912Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.103346ms policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-04-13T18:14:25.107172387Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.107402199Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=237.092µs policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-04-13T18:14:25.112301343Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.119313518Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.015095ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.124836676Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.129159958Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.322812ms policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-04-13T18:14:25.135444109Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.141291928Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.846849ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-04-13T18:14:25.147788511Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.148828586Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.040675ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.15357962Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.154587705Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.007275ms policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-04-13T18:14:25.163111808Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.170481144Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.374006ms policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-04-13T18:14:25.174772196Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.181410679Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.638513ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.1875887Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.188779706Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.190696ms policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-04-13T18:14:25.194526355Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.202525135Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=7.99778ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-04-13T18:14:25.209686871Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.214791726Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.104155ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.218649526Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.218718496Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=69.08µs policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-04-13T18:14:25.224026723Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-04-13T18:14:25.225225469Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.198666ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.23157268Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.23351928Z 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.94545ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.239190298Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-04-13T18:14:25.240294964Z 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.104426ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.247349069Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.24745714Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=108.991µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.252418915Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-04-13T18:14:25.263300449Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=10.880154ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.268814897Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-04-13T18:14:25.2734237Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.608003ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.278150524Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.284941228Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.788394ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.290826337Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-04-13T18:14:25.297004338Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.171291ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.301674051Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.307732482Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.057651ms policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-04-13T18:14:25.312886897Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.312953808Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=65.881µs policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-04-13T18:14:25.318157694Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.318937368Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=779.534µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.324763977Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.332913208Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.149521ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-04-13T18:14:25.336151834Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.336218504Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=67.41µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.340657706Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.347884763Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=7.215687ms policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-04-13T18:14:25.353841852Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.354853108Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.011486ms policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-04-13T18:14:25.361166349Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-04-13T18:14:25.36924665Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.080721ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.374500026Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.3753613Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=860.824µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.38136131Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-04-13T18:14:25.382401475Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.039865ms policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-04-13T18:14:25.386061384Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-04-13T18:14:25.392568566Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.506412ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.397813343Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-04-13T18:14:25.398690857Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=874.884µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.40733462Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.409737582Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=2.402452ms policy-db-migrator | msg grafana | logger=migrator t=2024-04-13T18:14:25.415956413Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-04-13T18:14:25.416792058Z level=info msg="Migration successfully executed" id="create alert_image table" duration=838.245µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.422288045Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-04-13T18:14:25.42323011Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=941.625µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.430595487Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.430837678Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=241.791µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.435780293Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | grafana | logger=migrator t=2024-04-13T18:14:25.437748303Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.96733ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-04-13T18:14:25.443088619Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T18:14:25.444896688Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.807069ms policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | TRUNCATE TABLE sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1300) policy-db-migrator | name version policy-db-migrator | policyadmin 1300 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 grafana | logger=migrator t=2024-04-13T18:14:25.450841548Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-04-13T18:14:25.451490911Z 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-13T18:14:25.456632407Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-04-13T18:14:25.457034129Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=401.622µs grafana | logger=migrator t=2024-04-13T18:14:25.46117036Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-04-13T18:14:25.462157645Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=987.225µs grafana | logger=migrator t=2024-04-13T18:14:25.465992744Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-04-13T18:14:25.472760418Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.767264ms grafana | logger=migrator t=2024-04-13T18:14:25.475831683Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-04-13T18:14:25.476939229Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.107076ms grafana | logger=migrator t=2024-04-13T18:14:25.481712773Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-04-13T18:14:25.483505152Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.791799ms grafana | logger=migrator t=2024-04-13T18:14:25.488929999Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-04-13T18:14:25.490188185Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.257586ms grafana | logger=migrator t=2024-04-13T18:14:25.4951898Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-04-13T18:14:25.496284186Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.093866ms grafana | logger=migrator t=2024-04-13T18:14:25.500143285Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-04-13T18:14:25.501538902Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.394147ms grafana | logger=migrator t=2024-04-13T18:14:25.507342281Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-04-13T18:14:25.507381741Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=43.98µs grafana | logger=migrator t=2024-04-13T18:14:25.51105612Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-04-13T18:14:25.51116692Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=111.77µs grafana | logger=migrator t=2024-04-13T18:14:25.515008788Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-04-13T18:14:25.515449781Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=443.193µs grafana | logger=migrator t=2024-04-13T18:14:25.51929794Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-04-13T18:14:25.521018659Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.720698ms grafana | logger=migrator t=2024-04-13T18:14:25.526668907Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-04-13T18:14:25.527830023Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.160546ms grafana | logger=migrator t=2024-04-13T18:14:25.532224405Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-04-13T18:14:25.562735217Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=30.510162ms grafana | logger=migrator t=2024-04-13T18:14:25.565883723Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-04-13T18:14:25.571626332Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.742729ms grafana | logger=migrator t=2024-04-13T18:14:25.577439051Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-04-13T18:14:25.577594512Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=155.771µs grafana | logger=migrator t=2024-04-13T18:14:25.581506741Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-04-13T18:14:25.616062384Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=34.554703ms grafana | logger=migrator t=2024-04-13T18:14:25.619405781Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-04-13T18:14:25.650585267Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=31.179266ms grafana | logger=migrator t=2024-04-13T18:14:25.654087345Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-04-13T18:14:25.654792528Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=705.543µs grafana | logger=migrator t=2024-04-13T18:14:25.66109Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-04-13T18:14:25.662278846Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.188286ms grafana | logger=migrator t=2024-04-13T18:14:25.667851304Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-04-13T18:14:25.668240866Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=389.672µs grafana | logger=migrator t=2024-04-13T18:14:25.672499807Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-04-13T18:14:25.673987914Z level=info msg="Migration successfully executed" id="create permission table" duration=1.488097ms grafana | logger=migrator t=2024-04-13T18:14:25.679476312Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-04-13T18:14:25.680649458Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.172386ms grafana | logger=migrator t=2024-04-13T18:14:25.684908149Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-04-13T18:14:25.686664298Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.754839ms policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:35 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:35 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:35 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:35 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:35 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:35 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:35 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:35 grafana | logger=migrator t=2024-04-13T18:14:25.690872249Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-04-13T18:14:25.692233536Z level=info msg="Migration successfully executed" id="create role table" duration=1.357637ms grafana | logger=migrator t=2024-04-13T18:14:25.698156565Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-04-13T18:14:25.71299939Z level=info msg="Migration successfully executed" id="add column display_name" duration=14.901375ms grafana | logger=migrator t=2024-04-13T18:14:25.72696463Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-04-13T18:14:25.734541298Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.583638ms grafana | logger=migrator t=2024-04-13T18:14:25.745752714Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-04-13T18:14:25.747463122Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.711068ms grafana | logger=migrator t=2024-04-13T18:14:25.760284416Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-04-13T18:14:25.762140426Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.85585ms grafana | logger=migrator t=2024-04-13T18:14:25.772470477Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-04-13T18:14:25.774247136Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.772289ms grafana | logger=migrator t=2024-04-13T18:14:25.787138491Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-04-13T18:14:25.788516408Z level=info msg="Migration successfully executed" id="create team role table" duration=1.374377ms grafana | logger=migrator t=2024-04-13T18:14:25.803108801Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-04-13T18:14:25.805099181Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.99015ms grafana | logger=migrator t=2024-04-13T18:14:25.810786999Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-04-13T18:14:25.811980045Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.192236ms grafana | logger=migrator t=2024-04-13T18:14:25.816374247Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-04-13T18:14:25.817471783Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.097566ms grafana | logger=migrator t=2024-04-13T18:14:25.823820535Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-04-13T18:14:25.824762149Z level=info msg="Migration successfully executed" id="create user role table" duration=941.714µs grafana | logger=migrator t=2024-04-13T18:14:25.828510358Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-04-13T18:14:25.830230147Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.719839ms grafana | logger=migrator t=2024-04-13T18:14:25.835359822Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-04-13T18:14:25.836536188Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.176956ms grafana | logger=migrator t=2024-04-13T18:14:25.843291572Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-04-13T18:14:25.84493911Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.646248ms grafana | logger=migrator t=2024-04-13T18:14:25.849188732Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-04-13T18:14:25.850527158Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.337916ms grafana | logger=migrator t=2024-04-13T18:14:25.854420648Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-04-13T18:14:25.855531253Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.110095ms grafana | logger=migrator t=2024-04-13T18:14:25.860988791Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-04-13T18:14:25.86287139Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.882809ms grafana | logger=migrator t=2024-04-13T18:14:25.867011511Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-04-13T18:14:25.875903615Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.895664ms grafana | logger=migrator t=2024-04-13T18:14:25.878969841Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-04-13T18:14:25.879768535Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=798.014µs grafana | logger=migrator t=2024-04-13T18:14:25.88683186Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-04-13T18:14:25.88876542Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.93207ms grafana | logger=migrator t=2024-04-13T18:14:25.894195757Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-04-13T18:14:25.895340503Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.144656ms grafana | logger=migrator t=2024-04-13T18:14:25.899536434Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-04-13T18:14:25.90085125Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.311676ms grafana | logger=migrator t=2024-04-13T18:14:25.941394583Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-04-13T18:14:25.942846461Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.449037ms policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:36 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:36 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:36 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1304241814311100u 1 2024-04-13 18:14:36 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1304241814311200u 1 2024-04-13 18:14:36 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1304241814311200u 1 2024-04-13 18:14:36 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1304241814311200u 1 2024-04-13 18:14:36 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1304241814311200u 1 2024-04-13 18:14:36 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1304241814311300u 1 2024-04-13 18:14:36 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1304241814311300u 1 2024-04-13 18:14:36 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1304241814311300u 1 2024-04-13 18:14:36 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-04-13T18:14:25.947145142Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-04-13T18:14:25.949286203Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=2.140351ms grafana | logger=migrator t=2024-04-13T18:14:25.953171092Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-04-13T18:14:25.961387923Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.217341ms grafana | logger=migrator t=2024-04-13T18:14:25.971438794Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-04-13T18:14:25.983147112Z level=info msg="Migration successfully executed" id="permission kind migration" duration=11.709268ms grafana | logger=migrator t=2024-04-13T18:14:25.987742965Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-04-13T18:14:25.993450644Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.707019ms grafana | logger=migrator t=2024-04-13T18:14:25.997503854Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-04-13T18:14:26.005576221Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.071497ms grafana | logger=migrator t=2024-04-13T18:14:26.011688227Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-04-13T18:14:26.013049577Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.36411ms grafana | logger=migrator t=2024-04-13T18:14:26.02136386Z level=info msg="Executing migration" id="add permission action scope role_id index" grafana | logger=migrator t=2024-04-13T18:14:26.023463035Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=2.098705ms grafana | logger=migrator t=2024-04-13T18:14:26.02810061Z level=info msg="Executing migration" id="remove permission role_id action scope index" grafana | logger=migrator t=2024-04-13T18:14:26.029219699Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.119659ms grafana | logger=migrator t=2024-04-13T18:14:26.035541486Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-04-13T18:14:26.037178108Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.635392ms grafana | logger=migrator t=2024-04-13T18:14:26.042188356Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-04-13T18:14:26.043953609Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.764343ms grafana | logger=migrator t=2024-04-13T18:14:26.047929059Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-04-13T18:14:26.04802823Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=99.001µs grafana | logger=migrator t=2024-04-13T18:14:26.05339353Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-04-13T18:14:26.05343446Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=41.9µs grafana | logger=migrator t=2024-04-13T18:14:26.057739593Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-04-13T18:14:26.058475938Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=736.475µs grafana | logger=migrator t=2024-04-13T18:14:26.061943934Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-04-13T18:14:26.062895282Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=952.017µs grafana | logger=migrator t=2024-04-13T18:14:26.066366778Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-04-13T18:14:26.067466356Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.099908ms grafana | logger=migrator t=2024-04-13T18:14:26.073552402Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-04-13T18:14:26.073822334Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=270.122µs grafana | logger=migrator t=2024-04-13T18:14:26.076919867Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-04-13T18:14:26.077414711Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=494.694µs grafana | logger=migrator t=2024-04-13T18:14:26.080528344Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-04-13T18:14:26.08135894Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=829.936µs grafana | logger=migrator t=2024-04-13T18:14:26.085584122Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-04-13T18:14:26.087363585Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.779063ms grafana | logger=migrator t=2024-04-13T18:14:26.093717153Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-04-13T18:14:26.102277897Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.558804ms grafana | logger=migrator t=2024-04-13T18:14:26.105408231Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-04-13T18:14:26.105485711Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=75.62µs grafana | logger=migrator t=2024-04-13T18:14:26.108617245Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-04-13T18:14:26.109739853Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.122028ms grafana | logger=migrator t=2024-04-13T18:14:26.116638025Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-04-13T18:14:26.117810654Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.173159ms grafana | logger=migrator t=2024-04-13T18:14:26.121392691Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-04-13T18:14:26.122489039Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.096008ms grafana | logger=migrator t=2024-04-13T18:14:26.126427399Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-04-13T18:14:26.13861367Z level=info msg="Migration successfully executed" id="add correlation config column" duration=12.186321ms grafana | logger=migrator t=2024-04-13T18:14:26.143541927Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-04-13T18:14:26.144326783Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=785.016µs grafana | logger=migrator t=2024-04-13T18:14:26.147658058Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-04-13T18:14:26.148808737Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.150459ms grafana | logger=migrator t=2024-04-13T18:14:26.152141552Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-13T18:14:26.177659963Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=25.520981ms grafana | logger=migrator t=2024-04-13T18:14:26.182801982Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-04-13T18:14:26.183664008Z level=info msg="Migration successfully executed" id="create correlation v2" duration=863.526µs grafana | logger=migrator t=2024-04-13T18:14:26.186743742Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-04-13T18:14:26.187787289Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.043197ms grafana | logger=migrator t=2024-04-13T18:14:26.198709351Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-04-13T18:14:26.201012309Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.304598ms grafana | logger=migrator t=2024-04-13T18:14:26.205493002Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-04-13T18:14:26.206264938Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=771.656µs grafana | logger=migrator t=2024-04-13T18:14:26.210979084Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-04-13T18:14:26.211218555Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=239.881µs grafana | logger=migrator t=2024-04-13T18:14:26.214809622Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-04-13T18:14:26.216082322Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.27222ms grafana | logger=migrator t=2024-04-13T18:14:26.219707449Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-04-13T18:14:26.227976541Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.268292ms grafana | logger=migrator t=2024-04-13T18:14:26.232517345Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-04-13T18:14:26.233238301Z level=info msg="Migration successfully executed" id="create entity_events table" duration=720.746µs grafana | logger=migrator t=2024-04-13T18:14:26.236569396Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-04-13T18:14:26.237336022Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=766.576µs grafana | logger=migrator t=2024-04-13T18:14:26.241431102Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-13T18:14:26.242163148Z 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-13T18:14:26.247578198Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-13T18:14:26.248012062Z 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-13T18:14:26.252361804Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-04-13T18:14:26.253220901Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=859.217µs grafana | logger=migrator t=2024-04-13T18:14:26.256889418Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-04-13T18:14:26.25847187Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.585282ms grafana | logger=migrator t=2024-04-13T18:14:26.263902721Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-13T18:14:26.265791365Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.888414ms grafana | logger=migrator t=2024-04-13T18:14:26.269749405Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-13T18:14:26.271512138Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.762013ms grafana | logger=migrator t=2024-04-13T18:14:26.27571055Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-04-13T18:14:26.276907929Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.196789ms grafana | logger=migrator t=2024-04-13T18:14:26.281494763Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-04-13T18:14:26.283082055Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.586812ms grafana | logger=migrator t=2024-04-13T18:14:26.286545151Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-04-13T18:14:26.28773376Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.184909ms grafana | logger=migrator t=2024-04-13T18:14:26.292226104Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-04-13T18:14:26.293473353Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.248619ms grafana | logger=migrator t=2024-04-13T18:14:26.296846439Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-04-13T18:14:26.298130968Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.28262ms grafana | logger=migrator t=2024-04-13T18:14:26.301664555Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-04-13T18:14:26.303432178Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.766313ms grafana | logger=migrator t=2024-04-13T18:14:26.308285474Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-04-13T18:14:26.309471573Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.183689ms grafana | logger=migrator t=2024-04-13T18:14:26.313279562Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-04-13T18:14:26.339182556Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=25.903014ms grafana | logger=migrator t=2024-04-13T18:14:26.342638162Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-04-13T18:14:26.35024562Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.607008ms grafana | logger=migrator t=2024-04-13T18:14:26.354488721Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-04-13T18:14:26.362999845Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.510184ms grafana | logger=migrator t=2024-04-13T18:14:26.36630929Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-04-13T18:14:26.366535122Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=225.682µs grafana | logger=migrator t=2024-04-13T18:14:26.369123261Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-04-13T18:14:26.375834502Z level=info msg="Migration successfully executed" id="add share column" duration=6.710271ms grafana | logger=migrator t=2024-04-13T18:14:26.379209917Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-04-13T18:14:26.379420759Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=211.082µs grafana | logger=migrator t=2024-04-13T18:14:26.384430406Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-04-13T18:14:26.385383833Z level=info msg="Migration successfully executed" id="create file table" duration=953.277µs grafana | logger=migrator t=2024-04-13T18:14:26.389136732Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-04-13T18:14:26.390680763Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.542541ms grafana | logger=migrator t=2024-04-13T18:14:26.394795984Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-04-13T18:14:26.396693728Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.896374ms grafana | logger=migrator t=2024-04-13T18:14:26.401911428Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-04-13T18:14:26.402721044Z level=info msg="Migration successfully executed" id="create file_meta table" duration=807.336µs grafana | logger=migrator t=2024-04-13T18:14:26.406741024Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-04-13T18:14:26.408639108Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.896704ms grafana | logger=migrator t=2024-04-13T18:14:26.41425924Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-04-13T18:14:26.414395611Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=136.731µs grafana | logger=migrator t=2024-04-13T18:14:26.419410159Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-04-13T18:14:26.41954656Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=136.891µs grafana | logger=migrator t=2024-04-13T18:14:26.42351463Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-04-13T18:14:26.424483007Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=967.177µs grafana | logger=migrator t=2024-04-13T18:14:26.429360444Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-04-13T18:14:26.429758627Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=401.443µs grafana | logger=migrator t=2024-04-13T18:14:26.433414974Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-04-13T18:14:26.434801785Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.386421ms grafana | logger=migrator t=2024-04-13T18:14:26.43950428Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-04-13T18:14:26.448515298Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.009998ms grafana | logger=migrator t=2024-04-13T18:14:26.452292926Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-04-13T18:14:26.452447947Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=154.571µs grafana | logger=migrator t=2024-04-13T18:14:26.45553081Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-04-13T18:14:26.456467537Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=935.847µs grafana | logger=migrator t=2024-04-13T18:14:26.461907788Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-04-13T18:14:26.462593833Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=688.445µs grafana | logger=migrator t=2024-04-13T18:14:26.466467732Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-04-13T18:14:26.466866365Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=398.683µs grafana | logger=migrator t=2024-04-13T18:14:26.470484503Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-04-13T18:14:26.471295719Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=811.426µs grafana | logger=migrator t=2024-04-13T18:14:26.474960066Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-04-13T18:14:26.484285276Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.32292ms grafana | logger=migrator t=2024-04-13T18:14:26.489556836Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-04-13T18:14:26.495969494Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.412368ms grafana | logger=migrator t=2024-04-13T18:14:26.500088325Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-04-13T18:14:26.502014189Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.926134ms grafana | logger=migrator t=2024-04-13T18:14:26.505938309Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-04-13T18:14:26.577673648Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=71.732149ms grafana | logger=migrator t=2024-04-13T18:14:26.583069228Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-04-13T18:14:26.584278407Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.208689ms grafana | logger=migrator t=2024-04-13T18:14:26.587984165Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-04-13T18:14:26.589244214Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.259789ms grafana | logger=migrator t=2024-04-13T18:14:26.593438186Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-04-13T18:14:26.619512222Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=26.076176ms grafana | logger=migrator t=2024-04-13T18:14:26.625504977Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-04-13T18:14:26.632728651Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=7.223334ms grafana | logger=migrator t=2024-04-13T18:14:26.636471539Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-04-13T18:14:26.636796122Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=324.513µs grafana | logger=migrator t=2024-04-13T18:14:26.640388019Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-04-13T18:14:26.64056123Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=172.941µs grafana | logger=migrator t=2024-04-13T18:14:26.645280975Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-04-13T18:14:26.645489087Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=208.452µs grafana | logger=migrator t=2024-04-13T18:14:26.649499657Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-04-13T18:14:26.649827829Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=327.632µs grafana | logger=migrator t=2024-04-13T18:14:26.653677068Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-04-13T18:14:26.654008551Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=331.183µs grafana | logger=migrator t=2024-04-13T18:14:26.657685598Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-04-13T18:14:26.658586735Z level=info msg="Migration successfully executed" id="create folder table" duration=901.047µs grafana | logger=migrator t=2024-04-13T18:14:26.663140579Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-04-13T18:14:26.664898163Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.755664ms grafana | logger=migrator t=2024-04-13T18:14:26.669576678Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-04-13T18:14:26.671398321Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.816993ms grafana | logger=migrator t=2024-04-13T18:14:26.676771652Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-04-13T18:14:26.676798012Z level=info msg="Migration successfully executed" id="Update folder title length" duration=26.54µs grafana | logger=migrator t=2024-04-13T18:14:26.680021946Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-13T18:14:26.681565638Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.541992ms grafana | logger=migrator t=2024-04-13T18:14:26.685638818Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-13T18:14:26.687264761Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.622013ms grafana | logger=migrator t=2024-04-13T18:14:26.69123015Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-04-13T18:14:26.69249952Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.269ms grafana | logger=migrator t=2024-04-13T18:14:26.697718969Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-04-13T18:14:26.698433254Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=712.435µs grafana | logger=migrator t=2024-04-13T18:14:26.702274023Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-04-13T18:14:26.702664396Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=390.163µs grafana | logger=migrator t=2024-04-13T18:14:26.706253363Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-04-13T18:14:26.707436702Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.183869ms grafana | logger=migrator t=2024-04-13T18:14:26.71247467Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-04-13T18:14:26.713740979Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.266029ms grafana | logger=migrator t=2024-04-13T18:14:26.718074392Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-04-13T18:14:26.719272921Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.198289ms grafana | logger=migrator t=2024-04-13T18:14:26.722709667Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-04-13T18:14:26.724327879Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.616852ms grafana | logger=migrator t=2024-04-13T18:14:26.72980901Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-04-13T18:14:26.731816335Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=2.008645ms grafana | logger=migrator t=2024-04-13T18:14:26.736218508Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-04-13T18:14:26.737532688Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.31371ms grafana | logger=migrator t=2024-04-13T18:14:26.742727127Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-04-13T18:14:26.74440271Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.677503ms grafana | logger=migrator t=2024-04-13T18:14:26.748608391Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-04-13T18:14:26.750057222Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.448621ms grafana | logger=migrator t=2024-04-13T18:14:26.75376095Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-04-13T18:14:26.754882068Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.120488ms grafana | logger=migrator t=2024-04-13T18:14:26.760091018Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-04-13T18:14:26.762017872Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.925294ms grafana | logger=migrator t=2024-04-13T18:14:26.766254034Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-04-13T18:14:26.768227229Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.972925ms grafana | logger=migrator t=2024-04-13T18:14:26.771890046Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-04-13T18:14:26.772321609Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=431.513µs grafana | logger=migrator t=2024-04-13T18:14:26.776689162Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-04-13T18:14:26.790412435Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=13.723833ms grafana | logger=migrator t=2024-04-13T18:14:26.794706828Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-04-13T18:14:26.795268392Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=562.255µs grafana | logger=migrator t=2024-04-13T18:14:26.798732348Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-13T18:14:26.799990867Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.258239ms grafana | logger=migrator t=2024-04-13T18:14:26.805406008Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-13T18:14:26.806617657Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.211079ms grafana | logger=migrator t=2024-04-13T18:14:26.810047973Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-13T18:14:26.811227432Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.179019ms grafana | logger=migrator t=2024-04-13T18:14:26.814507916Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-04-13T18:14:26.815817376Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.30866ms grafana | logger=migrator t=2024-04-13T18:14:26.820522361Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-13T18:14:26.821805841Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.28309ms grafana | logger=migrator t=2024-04-13T18:14:26.825222637Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-04-13T18:14:26.82694713Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.723383ms grafana | logger=migrator t=2024-04-13T18:14:26.832520071Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-04-13T18:14:26.833932102Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.412911ms grafana | logger=migrator t=2024-04-13T18:14:26.838516597Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-04-13T18:14:26.83892666Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=410.233µs grafana | logger=migrator t=2024-04-13T18:14:26.843103681Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-04-13T18:14:26.843243122Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=139.141µs grafana | logger=migrator t=2024-04-13T18:14:26.84698313Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-04-13T18:14:26.85900146Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=12.01883ms grafana | logger=migrator t=2024-04-13T18:14:26.864007138Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-04-13T18:14:26.870583057Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=6.576689ms grafana | logger=migrator t=2024-04-13T18:14:26.877224667Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-04-13T18:14:26.877817512Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=597.985µs grafana | logger=migrator t=2024-04-13T18:14:26.881278158Z level=info msg="migrations completed" performed=548 skipped=0 duration=4.124115809s grafana | logger=sqlstore t=2024-04-13T18:14:26.890336466Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-04-13T18:14:26.890612208Z level=info msg="Created default organization" grafana | logger=secrets t=2024-04-13T18:14:26.896063909Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-04-13T18:14:26.92425168Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-04-13T18:14:26.963831838Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-04-13T18:14:26.963868108Z level=info msg="Plugins loaded" count=55 duration=39.620778ms grafana | logger=query_data t=2024-04-13T18:14:26.966495698Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-04-13T18:14:26.970189525Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-04-13T18:14:26.975732147Z level=info msg=Starting grafana | logger=ngalert.migration t=2024-04-13T18:14:26.976238361Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false grafana | logger=ngalert.migration orgID=1 t=2024-04-13T18:14:26.976702694Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-04-13T18:14:26.977385269Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration t=2024-04-13T18:14:26.979178053Z level=info msg="Completed alerting migration" grafana | logger=ngalert.state.manager t=2024-04-13T18:14:27.006120115Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-04-13T18:14:27.007883855Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-04-13T18:14:27.009594364Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-04-13T18:14:27.024662369Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-04-13T18:14:27.024693319Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-04-13T18:14:27.025214992Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-04-13T18:14:27.025391253Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-04-13T18:14:27.028924193Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafanaStorageLogger t=2024-04-13T18:14:27.033393738Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-04-13T18:14:27.034351873Z level=info msg="State cache has been initialized" states=0 duration=9.144701ms grafana | logger=ngalert.scheduler t=2024-04-13T18:14:27.034392613Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-04-13T18:14:27.034545454Z level=info msg=starting first_tick=2024-04-13T18:14:30Z grafana | logger=provisioning.dashboard t=2024-04-13T18:14:27.099552858Z level=info msg="starting to provision dashboards" grafana | logger=plugins.update.checker t=2024-04-13T18:14:27.116896856Z level=info msg="Update check succeeded" duration=91.604983ms grafana | logger=grafana.update.checker t=2024-04-13T18:14:27.123319072Z level=info msg="Update check succeeded" duration=98.198981ms grafana | logger=provisioning.dashboard t=2024-04-13T18:14:27.330586653Z level=info msg="finished to provision dashboards" grafana | logger=grafana-apiserver t=2024-04-13T18:14:27.370224035Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-04-13T18:14:27.370825238Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=infra.usagestats t=2024-04-13T18:16:02.036293052Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing policy-db-migrator ... done Removing prometheus ... done Removing grafana ... done Removing mariadb ... done Removing policy-api ... done Removing network compose_default ++ cd /w/workspace/policy-api-montreal-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.6egK5xI9XE ]] + rsync -av /tmp/tmp.6egK5xI9XE/ /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,344,911 bytes received 95 bytes 2,690,012.00 bytes/sec total size is 1,344,262 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 2054 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/jenkins11620461098282009247.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12889311726261007167.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/jenkins9298302971616761821.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-877M from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-877M/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins11535376556747597316.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config3234103591600122001tmp 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/jenkins15441552849028560124.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins11136542158069007226.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-877M from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-877M/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins3159154977515206954.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins8231599995356329255.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-877M 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-877M/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/jenkins13504497527865888573.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-877M from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-877M/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/154 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-23120 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 840 27326 0 4000 30870 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:b5:cc:99 brd ff:ff:ff:ff:ff:ff inet 10.30.107.93/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86061sec preferred_lft 86061sec inet6 fe80::f816:3eff:feb5:cc99/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:23:1f:f3:ee 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-23120) 04/13/24 _x86_64_ (8 CPU) 18:11:24 LINUX RESTART (8 CPU) 18:12:01 tps rtps wtps bread/s bwrtn/s 18:13:01 91.85 17.73 74.13 1021.66 13223.73 18:14:01 130.90 23.08 107.82 2772.40 20089.47 18:15:01 366.92 12.58 354.34 808.93 69454.29 18:16:01 6.05 0.02 6.03 4.27 6360.97 Average: 148.93 13.35 135.58 1151.74 27281.83 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30115964 31698372 2823256 8.57 70568 1822832 1427656 4.20 872724 1658180 150772 18:14:01 28608076 31654364 4331144 13.15 105072 3207340 1569688 4.62 997304 2947508 1151416 18:15:01 26809740 30479816 6129480 18.61 128760 3764484 4350800 12.80 2263980 3410012 652 18:16:01 26834228 30505036 6104992 18.53 128792 3765116 4286800 12.61 2239112 3409812 732 Average: 28092002 31084397 4847218 14.72 108298 3139943 2908736 8.56 1593280 2856378 325893 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.19 0.19 0.00 0.00 0.00 0.00 18:13:01 ens3 51.42 38.04 837.23 7.54 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:14:01 lo 8.33 8.33 0.78 0.78 0.00 0.00 0.00 0.00 18:14:01 ens3 317.98 204.28 8250.41 18.89 0.00 0.00 0.00 0.00 18:14:01 br-26bfab6d19a8 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:15:01 vethb73956f 124.68 105.25 40.62 113.90 0.00 0.00 0.00 0.01 18:15:01 vethaa10f3b 0.52 0.77 0.06 0.31 0.00 0.00 0.00 0.00 18:15:01 lo 7.97 7.97 8.44 8.44 0.00 0.00 0.00 0.00 18:15:01 ens3 79.64 47.64 1939.28 4.46 0.00 0.00 0.00 0.00 18:16:01 vethb73956f 1.10 1.17 0.82 0.08 0.00 0.00 0.00 0.00 18:16:01 vethaa10f3b 0.23 0.18 0.02 0.01 0.00 0.00 0.00 0.00 18:16:01 lo 8.18 8.18 0.56 0.56 0.00 0.00 0.00 0.00 18:16:01 ens3 5.05 3.62 1.24 2.04 0.00 0.00 0.00 0.00 Average: vethb73956f 31.44 26.60 10.36 28.50 0.00 0.00 0.00 0.00 Average: vethaa10f3b 0.19 0.24 0.02 0.08 0.00 0.00 0.00 0.00 Average: lo 6.54 6.54 2.49 2.49 0.00 0.00 0.00 0.00 Average: ens3 113.51 73.39 2756.73 8.23 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-23120) 04/13/24 _x86_64_ (8 CPU) 18:11:24 LINUX RESTART (8 CPU) 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 9.86 0.00 0.67 1.69 0.03 87.75 18:13:01 0 3.20 0.00 0.35 0.13 0.02 96.30 18:13:01 1 0.72 0.00 0.20 0.10 0.00 98.98 18:13:01 2 0.08 0.00 0.39 10.61 0.08 88.84 18:13:01 3 14.01 0.00 0.58 0.62 0.03 84.76 18:13:01 4 34.00 0.00 1.64 1.39 0.07 62.91 18:13:01 5 19.56 0.00 1.28 0.35 0.03 78.77 18:13:01 6 6.25 0.00 0.47 0.08 0.02 93.18 18:13:01 7 1.02 0.00 0.42 0.33 0.02 98.21 18:14:01 all 10.67 0.00 2.08 2.23 0.04 84.97 18:14:01 0 3.91 0.00 1.75 0.45 0.02 93.87 18:14:01 1 7.19 0.00 1.51 0.08 0.03 91.18 18:14:01 2 3.71 0.00 1.79 8.57 0.08 85.85 18:14:01 3 17.77 0.00 3.42 5.00 0.05 73.76 18:14:01 4 24.27 0.00 2.06 1.19 0.05 72.42 18:14:01 5 10.40 0.00 2.17 1.52 0.03 85.87 18:14:01 6 12.78 0.00 1.59 0.95 0.03 84.64 18:14:01 7 5.28 0.00 2.38 0.13 0.03 92.18 18:15:01 all 15.80 0.00 3.01 4.50 0.06 76.62 18:15:01 0 13.51 0.00 2.39 2.99 0.07 81.04 18:15:01 1 13.51 0.00 3.38 20.16 0.07 62.89 18:15:01 2 14.44 0.00 2.24 4.86 0.05 78.41 18:15:01 3 18.83 0.00 3.11 0.90 0.05 77.11 18:15:01 4 20.11 0.00 3.35 1.67 0.07 74.80 18:15:01 5 16.01 0.00 3.07 1.04 0.07 79.82 18:15:01 6 15.61 0.00 3.13 4.33 0.07 76.87 18:15:01 7 14.40 0.00 3.36 0.15 0.07 82.02 18:16:01 all 0.43 0.00 0.06 0.33 0.02 99.16 18:16:01 0 0.12 0.00 0.10 0.05 0.07 99.67 18:16:01 1 0.28 0.00 0.07 0.02 0.00 99.63 18:16:01 2 0.17 0.00 0.08 2.59 0.05 97.11 18:16:01 3 2.13 0.00 0.03 0.00 0.00 97.83 18:16:01 4 0.15 0.00 0.08 0.00 0.02 99.75 18:16:01 5 0.20 0.00 0.07 0.00 0.07 99.67 18:16:01 6 0.32 0.00 0.03 0.02 0.02 99.62 18:16:01 7 0.07 0.00 0.00 0.00 0.00 99.93 Average: all 9.17 0.00 1.45 2.19 0.04 87.15 Average: 0 5.18 0.00 1.15 0.91 0.04 92.72 Average: 1 5.41 0.00 1.28 5.06 0.03 88.22 Average: 2 4.58 0.00 1.12 6.65 0.07 87.58 Average: 3 13.13 0.00 1.78 1.62 0.03 83.44 Average: 4 19.61 0.00 1.78 1.06 0.05 77.50 Average: 5 11.54 0.00 1.65 0.73 0.05 86.04 Average: 6 8.72 0.00 1.30 1.34 0.03 88.61 Average: 7 5.18 0.00 1.54 0.15 0.03 93.10