Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-35796 (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-Hr7tPJ1kwu5r/agent.2119 SSH_AGENT_PID=2121 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_2975813072414369110.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_2975813072414369110.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/jenkins13184778559155748350.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-d1mb 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-d1mb/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-d1mb/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.3.0 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.93 botocore==1.34.93 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.36 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.1.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.1 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.1 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.35.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.26.0 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.4.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins11394718405084638443.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/jenkins7946848591021265334.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.zkqdHvBieO ++ echo ROBOT_VENV=/tmp/tmp.zkqdHvBieO +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.zkqdHvBieO ++ source /tmp/tmp.zkqdHvBieO/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.zkqdHvBieO +++ 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.zkqdHvBieO/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.zkqdHvBieO) ' '!=' x ']' +++ PS1='(tmp.zkqdHvBieO) ' +++ 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.zkqdHvBieO/src/onap ++ rm -rf /tmp/tmp.zkqdHvBieO/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.zkqdHvBieO/bin/activate + '[' -z /tmp/tmp.zkqdHvBieO/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.zkqdHvBieO/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.zkqdHvBieO ++ 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.zkqdHvBieO/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.zkqdHvBieO) ' ++ '[' 'x(tmp.zkqdHvBieO) ' '!=' x ']' ++ PS1='(tmp.zkqdHvBieO) (tmp.zkqdHvBieO) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + 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.u7XzJ6CjRf + cd /tmp/tmp.u7XzJ6CjRf + 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 prometheus ... Creating mariadb ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... 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 grafana Up 10 seconds policy-api Up 11 seconds policy-db-migrator Up 12 seconds mariadb Up 12 seconds prometheus Up 10 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 16 seconds mariadb Up 17 seconds prometheus Up 15 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 21 seconds mariadb Up 22 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 26 seconds mariadb Up 28 seconds prometheus Up 26 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: 2.06, 0.87, 0.34 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.8 us, 2.2 sy, 0.0 ni, 83.8 id, 3.1 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.4G 26G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 26 seconds mariadb Up 28 seconds prometheus Up 26 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 7942eca98f39 grafana 0.03% 54.51MiB / 31.41GiB 0.17% 18.5kB / 3.18kB 0B / 24.6MB 15 c6151dfe1b1a policy-api 0.10% 517.1MiB / 31.41GiB 1.61% 999kB / 710kB 0B / 0B 56 368028460df6 mariadb 0.02% 100.5MiB / 31.41GiB 0.31% 986kB / 1.18MB 11.2MB / 68.2MB 26 ae4c940958c1 prometheus 0.00% 18.25MiB / 31.41GiB 0.06% 920B / 158B 0B / 0B 12 + echo + cd /tmp/tmp.u7XzJ6CjRf + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + 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.u7XzJ6CjRf/output.xml Log: /tmp/tmp.u7XzJ6CjRf/log.html Report: /tmp/tmp.u7XzJ6CjRf/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 grafana Up About a minute policy-api 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.77, 0.75, 0.34 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.1 us, 1.7 sy, 0.0 ni, 86.6 id, 2.5 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.7G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api 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 7942eca98f39 grafana 0.03% 60.51MiB / 31.41GiB 0.19% 19.4kB / 4.33kB 0B / 24.6MB 15 c6151dfe1b1a policy-api 0.09% 840.8MiB / 31.41GiB 2.61% 7MB / 2.55MB 0B / 0B 56 368028460df6 mariadb 0.02% 101.5MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11.2MB / 68.5MB 18 ae4c940958c1 prometheus 0.00% 24.2MiB / 31.41GiB 0.08% 55kB / 6.57kB 0B / 0B 12 + 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 grafana, policy-api, policy-db-migrator, mariadb, prometheus mariadb | 2024-04-27 18:14:22+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-27 18:14:22+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-04-27 18:14:23+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-27 18:14:23+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-04-27 18:14:23 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-27 18:14:23 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-27 18:14:23 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-27 18:14:24+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-04-27 18:14:24+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-04-27 18:14:24+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-04-27 18:14:24 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... mariadb | 2024-04-27 18:14:24 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-04-27 18:14:24 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-27 18:14:24 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-27 18:14:24 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-27 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-27 18:14:24 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-27 18:14:24 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-04-27 18:14:24 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-27 18:14:24 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-04-27 18:14:24 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-27 18:14:24 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-04-27 18:14:24 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-04-27 18:14:24 0 [Note] InnoDB: log sequence number 45452; transaction id 14 mariadb | 2024-04-27 18:14:24 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-27 18:14:24 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-27 18:14:24 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-27 18:14:24 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-27 18:14:24 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-04-27 18:14:25+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-04-27 18:14:27+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-04-27 18:14:27+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2024-04-27 18:14:27+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2024-04-27 18:14:27+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' grafana | logger=settings t=2024-04-27T18:14:25.779478688Z level=info msg="Starting Grafana" version=10.4.2 commit=701c851be7a930e04fbc6ebb1cd4254da80edd4c branch=v10.4.x compiled=2024-04-27T18:14:25Z grafana | logger=settings t=2024-04-27T18:14:25.782710473Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-04-27T18:14:25.782757883Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-04-27T18:14:25.782776223Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-04-27T18:14:25.782788723Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-04-27T18:14:25.782796513Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-27T18:14:25.782804203Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-27T18:14:25.782811823Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-04-27T18:14:25.782820323Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-04-27T18:14:25.782975294Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-04-27T18:14:25.782995454Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-27T18:14:25.783003704Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-27T18:14:25.783065345Z level=info msg=Target target=[all] grafana | logger=settings t=2024-04-27T18:14:25.783184155Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-04-27T18:14:25.783200635Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-04-27T18:14:25.783208186Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-04-27T18:14:25.783221166Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-04-27T18:14:25.783234206Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-04-27T18:14:25.783241656Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-04-27T18:14:25.784349295Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-04-27T18:14:25.784379205Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-04-27T18:14:25.785462174Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-04-27T18:14:25.786522921Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-04-27T18:14:25.787399308Z level=info msg="Migration successfully executed" id="create migration_log table" duration=876.187µs grafana | logger=migrator t=2024-04-27T18:14:25.79435468Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-04-27T18:14:25.795114206Z level=info msg="Migration successfully executed" id="create user table" duration=759.516µs grafana | logger=migrator t=2024-04-27T18:14:25.798396291Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-04-27T18:14:25.799121067Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=725.096µs grafana | logger=migrator t=2024-04-27T18:14:25.80216919Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-04-27T18:14:25.803309729Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.139729ms grafana | logger=migrator t=2024-04-27T18:14:25.807666111Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-04-27T18:14:25.809267934Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.601223ms grafana | logger=migrator t=2024-04-27T18:14:25.813492376Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-04-27T18:14:25.814491924Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=999.277µs grafana | logger=migrator t=2024-04-27T18:14:25.819985875Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-04-27T18:14:25.822260402Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.274327ms grafana | logger=migrator t=2024-04-27T18:14:25.827126549Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-04-27T18:14:25.827999656Z level=info msg="Migration successfully executed" id="create user table v2" duration=873.447µs grafana | logger=migrator t=2024-04-27T18:14:25.83105153Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-04-27T18:14:25.831789605Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=737.845µs grafana | logger=migrator t=2024-04-27T18:14:25.834817248Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-04-27T18:14:25.836059777Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.242709ms grafana | logger=migrator t=2024-04-27T18:14:25.839353842Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-04-27T18:14:25.840066348Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=712.126µs grafana | logger=migrator t=2024-04-27T18:14:25.844696513Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-04-27T18:14:25.845184567Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=487.844µs grafana | logger=migrator t=2024-04-27T18:14:25.847344453Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-04-27T18:14:25.848410291Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.064878ms grafana | logger=migrator t=2024-04-27T18:14:25.851271803Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-04-27T18:14:25.851299683Z level=info msg="Migration successfully executed" id="Update user table charset" duration=28.28µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-04-27 18:14:27+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-04-27 18:14:27 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-04-27 18:14:27 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-04-27 18:14:27 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-04-27 18:14:27 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-04-27 18:14:27 0 [Note] InnoDB: Buffer pool(s) dump completed at 240427 18:14:27 mariadb | 2024-04-27 18:14:28 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-04-27 18:14:28 0 [Note] InnoDB: Shutdown completed; log sequence number 339501; transaction id 298 mariadb | 2024-04-27 18:14:28 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-04-27 18:14:28+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-04-27 18:14:28+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-04-27 18:14:28 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-04-27 18:14:28 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-04-27 18:14:28 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-27 18:14:28 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-27 18:14:28 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-27 18:14:28 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-27 18:14:28 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-27 18:14:28 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-04-27 18:14:28 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-27 18:14:28 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-04-27 18:14:28 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-27 18:14:28 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-04-27 18:14:28 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-04-27 18:14:28 0 [Note] InnoDB: log sequence number 339501; transaction id 299 mariadb | 2024-04-27 18:14:28 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-04-27 18:14:28 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-27 18:14:28 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-27 18:14:28 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-04-27 18:14:28 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-04-27 18:14:28 0 [Note] Server socket created on IP: '::'. mariadb | 2024-04-27 18:14:28 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-04-27 18:14:28 0 [Note] InnoDB: Buffer pool(s) load completed at 240427 18:14:28 mariadb | 2024-04-27 18:14:28 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-04-27 18:14:28 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) grafana | logger=migrator t=2024-04-27T18:14:25.856076949Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-04-27T18:14:25.857138217Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.058438ms grafana | logger=migrator t=2024-04-27T18:14:25.860302541Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-04-27T18:14:25.860628234Z level=info msg="Migration successfully executed" id="Add missing user data" duration=325.373µs grafana | logger=migrator t=2024-04-27T18:14:25.864643314Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-04-27T18:14:25.866421358Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.775583ms grafana | logger=migrator t=2024-04-27T18:14:25.870948183Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-04-27T18:14:25.871844949Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=895.876µs grafana | logger=migrator t=2024-04-27T18:14:25.87716597Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-04-27T18:14:25.879104764Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.939804ms grafana | logger=migrator t=2024-04-27T18:14:25.882414299Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-04-27T18:14:25.890624162Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=8.208423ms grafana | logger=migrator t=2024-04-27T18:14:25.92473513Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-04-27T18:14:25.92605724Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.32439ms grafana | logger=migrator t=2024-04-27T18:14:25.930636796Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-04-27T18:14:25.930823457Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=186.701µs grafana | logger=migrator t=2024-04-27T18:14:25.934215942Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-04-27T18:14:25.934917528Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=703.616µs grafana | logger=migrator t=2024-04-27T18:14:25.938497625Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" grafana | logger=migrator t=2024-04-27T18:14:25.938781788Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=283.653µs grafana | logger=migrator t=2024-04-27T18:14:25.941877671Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-04-27T18:14:25.942668997Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=791.406µs grafana | logger=migrator t=2024-04-27T18:14:25.94710721Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-04-27T18:14:25.947835475Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=727.415µs grafana | logger=migrator t=2024-04-27T18:14:25.951191681Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-04-27T18:14:25.951882806Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=690.525µs grafana | logger=migrator t=2024-04-27T18:14:25.955305493Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-04-27T18:14:25.956009158Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=703.095µs grafana | logger=migrator t=2024-04-27T18:14:25.960681173Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-04-27T18:14:25.961759141Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.082338ms grafana | logger=migrator t=2024-04-27T18:14:25.965487Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-04-27T18:14:25.965531231Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=40.39µs grafana | logger=migrator t=2024-04-27T18:14:25.968857755Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-04-27T18:14:25.96948636Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=628.705µs grafana | logger=migrator t=2024-04-27T18:14:25.973585751Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-04-27T18:14:25.974237546Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=651.685µs grafana | logger=migrator t=2024-04-27T18:14:25.977463231Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-04-27T18:14:25.978453048Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=989.287µs grafana | logger=migrator t=2024-04-27T18:14:25.981853174Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-04-27T18:14:25.982820921Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=967.557µs grafana | logger=migrator t=2024-04-27T18:14:25.986921492Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-27T18:14:25.989913306Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=2.993824ms grafana | logger=migrator t=2024-04-27T18:14:25.993812395Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-04-27T18:14:25.994624751Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=812.756µs grafana | logger=migrator t=2024-04-27T18:14:25.997983127Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-04-27T18:14:25.998678072Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=692.545µs grafana | logger=migrator t=2024-04-27T18:14:26.002532552Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-04-27T18:14:26.003256987Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=724.655µs grafana | logger=migrator t=2024-04-27T18:14:26.006265078Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-04-27T18:14:26.00695172Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=686.442µs grafana | logger=migrator t=2024-04-27T18:14:26.010051327Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-04-27T18:14:26.010743851Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=692.244µs grafana | logger=migrator t=2024-04-27T18:14:26.01459091Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-04-27T18:14:26.015183373Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=592.513µs grafana | logger=migrator t=2024-04-27T18:14:26.019681047Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-04-27T18:14:26.02044379Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=764.814µs grafana | logger=migrator t=2024-04-27T18:14:26.023759147Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-04-27T18:14:26.024107338Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=347.741µs grafana | logger=migrator t=2024-04-27T18:14:26.027467745Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-04-27T18:14:26.028100849Z level=info msg="Migration successfully executed" id="create star table" duration=631.014µs grafana | logger=migrator t=2024-04-27T18:14:26.032188799Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-04-27T18:14:26.033325185Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.135696ms grafana | logger=migrator t=2024-04-27T18:14:26.036765582Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-04-27T18:14:26.037904408Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.138576ms grafana | logger=migrator t=2024-04-27T18:14:26.041057414Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-04-27T18:14:26.041758797Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=701.183µs grafana | logger=migrator t=2024-04-27T18:14:26.045834197Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-04-27T18:14:26.046530971Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=696.394µs grafana | logger=migrator t=2024-04-27T18:14:26.050599801Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-04-27T18:14:26.051778927Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.178796ms grafana | logger=migrator t=2024-04-27T18:14:26.055076664Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-04-27T18:14:26.05631764Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.240226ms grafana | logger=migrator t=2024-04-27T18:14:26.059700507Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-04-27T18:14:26.06041861Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=717.843µs grafana | logger=migrator t=2024-04-27T18:14:26.063332285Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-04-27T18:14:26.063359405Z level=info msg="Migration successfully executed" id="Update org table charset" duration=27.42µs grafana | logger=migrator t=2024-04-27T18:14:26.067319535Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-04-27T18:14:26.067347245Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=28.86µs grafana | logger=migrator t=2024-04-27T18:14:26.07032574Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-04-27T18:14:26.070486581Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=160.771µs grafana | logger=migrator t=2024-04-27T18:14:26.073784557Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-04-27T18:14:26.074943393Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.158396ms grafana | logger=migrator t=2024-04-27T18:14:26.07837812Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-04-27T18:14:26.079639637Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.261017ms grafana | logger=migrator t=2024-04-27T18:14:26.083783638Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-04-27T18:14:26.084565902Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=781.554µs grafana | logger=migrator t=2024-04-27T18:14:26.087918799Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-04-27T18:14:26.088558291Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=639.112µs grafana | logger=migrator t=2024-04-27T18:14:26.091748137Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-04-27T18:14:26.092932663Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.184146ms grafana | logger=migrator t=2024-04-27T18:14:26.097417846Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-04-27T18:14:26.098473221Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.054765ms grafana | logger=migrator t=2024-04-27T18:14:26.101660827Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-04-27T18:14:26.109141484Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.479737ms grafana | logger=migrator t=2024-04-27T18:14:26.11228787Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-04-27T18:14:26.113005763Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=717.813µs grafana | logger=migrator t=2024-04-27T18:14:26.116904583Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-04-27T18:14:26.117600317Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=695.664µs grafana | logger=migrator t=2024-04-27T18:14:26.120731232Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4: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-27T18:14:36.900+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-27T18:14:36.902+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-04-27T18:14:38.601+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-04-27T18:14:38.692+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 81 ms. Found 6 JPA repository interfaces. policy-api | [2024-04-27T18:14:39.101+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-27T18:14:39.101+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-27T18:14:39.730+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-04-27T18:14:39.739+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-04-27T18:14:39.741+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-04-27T18:14:39.741+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2024-04-27T18:14:39.822+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-04-27T18:14:39.822+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2852 ms policy-api | [2024-04-27T18:14:40.234+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-04-27T18:14:40.301+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-04-27T18:14:40.304+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-04-27T18:14:40.345+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-04-27T18:14:40.707+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-04-27T18:14:40.726+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-04-27T18:14:40.817+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 policy-api | [2024-04-27T18:14:40.819+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-04-27T18:14:40.846+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-27T18:14:40.848+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-04-27T18:14:42.541+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-04-27T18:14:42.545+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-04-27T18:14:43.759+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-04-27T18:14:44.455+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-04-27T18:14:45.369+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-27T18:14:45.552+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@680f7a5e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3005133e, org.springframework.security.web.context.SecurityContextHolderFilter@56bc8c45, org.springframework.security.web.header.HeaderWriterFilter@234a08ea, org.springframework.security.web.authentication.logout.LogoutFilter@7f5179be, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@607c7f58, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2f29400e, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@547a79cd, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@19a7e618, org.springframework.security.web.access.ExceptionTranslationFilter@2e26841f, org.springframework.security.web.access.intercept.AuthorizationFilter@6149184e] policy-api | [2024-04-27T18:14:46.440+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-04-27T18:14:46.494+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-04-27T18:14:46.513+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-04-27T18:14:46.533+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.364 seconds (process running for 10.922) policy-api | [2024-04-27T18:14:54.035+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-04-27T18:14:54.036+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-04-27T18:14:54.037+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-04-27T18:14:56.611+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-04-27T18:14:56.716+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-04-27T18:14:56.976+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-04-27T18:14:58.089+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-04-27T18:15:00.015+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-04-27T18:15:00.355+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-04-27T18:15:00.574+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-27T18:15:00.806+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-04-27T18:15:01.027+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-04-27T18:15:01.252+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-04-27T18:14:26.121533267Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=801.635µs grafana | logger=migrator t=2024-04-27T18:14:26.124643962Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-04-27T18:14:26.124962183Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=315.571µs grafana | logger=migrator t=2024-04-27T18:14:26.127390856Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-04-27T18:14:26.128595052Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.203386ms grafana | logger=migrator t=2024-04-27T18:14:26.132891663Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-04-27T18:14:26.132990994Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=99.621µs grafana | logger=migrator t=2024-04-27T18:14:26.135503087Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-04-27T18:14:26.137288605Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.784738ms grafana | logger=migrator t=2024-04-27T18:14:26.141473976Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:26.143203515Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.729129ms grafana | logger=migrator t=2024-04-27T18:14:26.14621712Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-04-27T18:14:26.148016748Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.799318ms grafana | logger=migrator t=2024-04-27T18:14:26.151187865Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-04-27T18:14:26.151949569Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=761.054µs grafana | logger=migrator t=2024-04-27T18:14:26.155910929Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-04-27T18:14:26.157668647Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.755878ms grafana | logger=migrator t=2024-04-27T18:14:26.160759043Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-04-27T18:14:26.161518167Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=759.004µs grafana | logger=migrator t=2024-04-27T18:14:26.164667202Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-04-27T18:14:26.165381236Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=714.264µs grafana | logger=migrator t=2024-04-27T18:14:26.169381936Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-04-27T18:14:26.169421806Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=40.86µs grafana | logger=migrator t=2024-04-27T18:14:26.172732383Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-04-27T18:14:26.172772963Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=42.84µs grafana | logger=migrator t=2024-04-27T18:14:26.175530157Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-04-27T18:14:26.178532162Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.001165ms grafana | logger=migrator t=2024-04-27T18:14:26.18214946Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-04-27T18:14:26.184940864Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.794294ms grafana | logger=migrator t=2024-04-27T18:14:26.188861794Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-04-27T18:14:26.190747152Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.884908ms grafana | logger=migrator t=2024-04-27T18:14:26.193753318Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-04-27T18:14:26.195677197Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.923319ms grafana | logger=migrator t=2024-04-27T18:14:26.198908283Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-04-27T18:14:26.199112044Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=203.721µs grafana | logger=migrator t=2024-04-27T18:14:26.203080634Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-04-27T18:14:26.203858288Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=777.124µs grafana | logger=migrator t=2024-04-27T18:14:26.207040995Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-04-27T18:14:26.207787598Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=745.223µs grafana | logger=migrator t=2024-04-27T18:14:26.210684723Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-04-27T18:14:26.210712093Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=28.28µs grafana | logger=migrator t=2024-04-27T18:14:26.213917219Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-04-27T18:14:26.215092054Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.172285ms grafana | logger=migrator t=2024-04-27T18:14:26.219319685Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-04-27T18:14:26.220422781Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.102816ms grafana | logger=migrator t=2024-04-27T18:14:26.223894738Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-27T18:14:26.230695591Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.801363ms grafana | logger=migrator t=2024-04-27T18:14:26.233875027Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-04-27T18:14:26.234570381Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=693.654µs grafana | logger=migrator t=2024-04-27T18:14:26.239280074Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-04-27T18:14:26.240058978Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=778.444µs grafana | logger=migrator t=2024-04-27T18:14:26.243141973Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-04-27T18:14:26.244002318Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=859.754µs grafana | logger=migrator t=2024-04-27T18:14:26.247261793Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-04-27T18:14:26.247907807Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=647.474µs grafana | logger=migrator t=2024-04-27T18:14:26.252314798Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-04-27T18:14:26.253102382Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=787.604µs grafana | logger=migrator t=2024-04-27T18:14:26.256263198Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-04-27T18:14:26.259447845Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.183967ms grafana | logger=migrator t=2024-04-27T18:14:26.262940402Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-04-27T18:14:26.263741345Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=800.633µs grafana | logger=migrator t=2024-04-27T18:14:26.267480774Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-04-27T18:14:26.267667784Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=186.99µs grafana | logger=migrator t=2024-04-27T18:14:26.27068175Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-04-27T18:14:26.270937001Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=255.491µs grafana | logger=migrator t=2024-04-27T18:14:26.274378468Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-04-27T18:14:26.275667765Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.288907ms grafana | logger=migrator t=2024-04-27T18:14:26.279605393Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-04-27T18:14:26.281700374Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.094381ms grafana | logger=migrator t=2024-04-27T18:14:26.28485075Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-04-27T18:14:26.285748974Z level=info msg="Migration successfully executed" id="create data_source table" duration=898.154µs grafana | logger=migrator t=2024-04-27T18:14:26.28881501Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-04-27T18:14:26.289592684Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=777.504µs grafana | logger=migrator t=2024-04-27T18:14:26.293361212Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-04-27T18:14:26.294146256Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=784.374µs grafana | logger=migrator t=2024-04-27T18:14:26.29705589Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-04-27T18:14:26.298119886Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.064056ms grafana | logger=migrator t=2024-04-27T18:14:26.301438472Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-04-27T18:14:26.302509917Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.071175ms grafana | logger=migrator t=2024-04-27T18:14:26.306182745Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-04-27T18:14:26.312055645Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=5.87267ms grafana | logger=migrator t=2024-04-27T18:14:26.31526181Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-04-27T18:14:26.316159145Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=896.285µs grafana | logger=migrator t=2024-04-27T18:14:26.3193363Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-04-27T18:14:26.320147294Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=811.954µs grafana | logger=migrator t=2024-04-27T18:14:26.324129364Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-04-27T18:14:26.325366931Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.237377ms grafana | logger=migrator t=2024-04-27T18:14:26.328930168Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-04-27T18:14:26.329726822Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=796.384µs grafana | logger=migrator t=2024-04-27T18:14:26.332883797Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-04-27T18:14:26.335148449Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.264122ms grafana | logger=migrator t=2024-04-27T18:14:26.339068338Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-04-27T18:14:26.34132796Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.259402ms grafana | logger=migrator t=2024-04-27T18:14:26.344444605Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-04-27T18:14:26.344470445Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=26.84µs grafana | logger=migrator t=2024-04-27T18:14:26.347053558Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-04-27T18:14:26.347271909Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=218.321µs grafana | logger=migrator t=2024-04-27T18:14:26.351232369Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-04-27T18:14:26.35348422Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.251471ms grafana | logger=migrator t=2024-04-27T18:14:26.356642155Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-04-27T18:14:26.356838966Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=196.741µs grafana | logger=migrator t=2024-04-27T18:14:26.359377238Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-04-27T18:14:26.35952466Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=147.632µs grafana | logger=migrator t=2024-04-27T18:14:26.362635855Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-04-27T18:14:26.364950166Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.312441ms grafana | logger=migrator t=2024-04-27T18:14:26.368819246Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-04-27T18:14:26.369035186Z level=info msg="Migration successfully executed" id="Update uid value" duration=215.56µs grafana | logger=migrator t=2024-04-27T18:14:26.371445069Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-04-27T18:14:26.372261783Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=816.714µs grafana | logger=migrator t=2024-04-27T18:14:26.37570893Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-04-27T18:14:26.376884865Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.175435ms grafana | logger=migrator t=2024-04-27T18:14:26.381092136Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-04-27T18:14:26.382516633Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.424057ms grafana | logger=migrator t=2024-04-27T18:14:26.385806129Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-04-27T18:14:26.386587503Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=781.174µs grafana | logger=migrator t=2024-04-27T18:14:26.38983929Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-04-27T18:14:26.390588743Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=748.823µs grafana | logger=migrator t=2024-04-27T18:14:26.394662354Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-04-27T18:14:26.39598762Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.324366ms grafana | logger=migrator t=2024-04-27T18:14:26.399371866Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-04-27T18:14:26.400522032Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.152096ms grafana | logger=migrator t=2024-04-27T18:14:26.560388553Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-04-27T18:14:26.56170042Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.312487ms grafana | logger=migrator t=2024-04-27T18:14:26.566377183Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-04-27T18:14:26.567397488Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.020285ms grafana | logger=migrator t=2024-04-27T18:14:26.572600444Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-04-27T18:14:26.579009536Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.406982ms grafana | logger=migrator t=2024-04-27T18:14:26.583268407Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-04-27T18:14:26.584078281Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=809.914µs grafana | logger=migrator t=2024-04-27T18:14:26.587003855Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-04-27T18:14:26.58776663Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=762.045µs grafana | logger=migrator t=2024-04-27T18:14:26.591061846Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-04-27T18:14:26.591881169Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=818.653µs grafana | logger=migrator t=2024-04-27T18:14:26.595788839Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-04-27T18:14:26.596522473Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=731.624µs grafana | logger=migrator t=2024-04-27T18:14:26.599623088Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-04-27T18:14:26.59998496Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=361.552µs grafana | logger=migrator t=2024-04-27T18:14:26.603034034Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-04-27T18:14:26.60391219Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=875.026µs grafana | logger=migrator t=2024-04-27T18:14:26.607907079Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-04-27T18:14:26.607942319Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=36.42µs grafana | logger=migrator t=2024-04-27T18:14:26.612419132Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-04-27T18:14:26.616400901Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.981049ms grafana | logger=migrator t=2024-04-27T18:14:26.619845028Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-04-27T18:14:26.62228692Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.441562ms grafana | logger=migrator t=2024-04-27T18:14:26.626194169Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-04-27T18:14:26.626347401Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=153.152µs grafana | logger=migrator t=2024-04-27T18:14:26.629372845Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-04-27T18:14:26.631852578Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.478043ms grafana | logger=migrator t=2024-04-27T18:14:26.635054454Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-04-27T18:14:26.637588716Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.534222ms grafana | logger=migrator t=2024-04-27T18:14:26.6424361Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-04-27T18:14:26.643196484Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=760.044µs grafana | logger=migrator t=2024-04-27T18:14:26.646417339Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-04-27T18:14:26.646950972Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=533.473µs grafana | logger=migrator t=2024-04-27T18:14:26.650035437Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-04-27T18:14:26.650879622Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=843.455µs grafana | logger=migrator t=2024-04-27T18:14:26.655059343Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-04-27T18:14:26.656298458Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.238635ms grafana | logger=migrator t=2024-04-27T18:14:26.659937577Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-04-27T18:14:26.661367374Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.428717ms grafana | logger=migrator t=2024-04-27T18:14:26.66474952Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-04-27T18:14:26.665540575Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=791.025µs grafana | logger=migrator t=2024-04-27T18:14:26.669592204Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-04-27T18:14:26.669751706Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=159.452µs grafana | logger=migrator t=2024-04-27T18:14:26.673020581Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-04-27T18:14:26.673056561Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=37.46µs policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- prometheus | ts=2024-04-27T18:14:24.844Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-04-27T18:14:24.844Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.2, branch=HEAD, revision=b4c0ab52c3e9b940ab803581ddae9b3d9a452337)" prometheus | ts=2024-04-27T18:14:24.844Z 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)" prometheus | ts=2024-04-27T18:14:24.844Z 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))" prometheus | ts=2024-04-27T18:14:24.844Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-04-27T18:14:24.844Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-04-27T18:14:24.848Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-04-27T18:14:24.848Z caller=main.go:1129 level=info msg="Starting TSDB ..." prometheus | ts=2024-04-27T18:14:24.849Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-04-27T18:14:24.849Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-04-27T18:14:24.854Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-04-27T18:14:24.854Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.01µs prometheus | ts=2024-04-27T18:14:24.854Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-04-27T18:14:24.855Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-04-27T18:14:24.855Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=26.351µs wal_replay_duration=718.906µs wbl_replay_duration=220ns total_replay_duration=772.527µs prometheus | ts=2024-04-27T18:14:24.858Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-04-27T18:14:24.858Z caller=main.go:1153 level=info msg="TSDB started" prometheus | ts=2024-04-27T18:14:24.858Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-04-27T18:14:24.859Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.455563ms db_storage=1.36µs remote_storage=1.9µs web_handler=720ns query_engine=1.9µs scrape=332.872µs scrape_sd=139.311µs notify=31.141µs notify_sd=10.95µs rules=1.73µs tracing=6.46µs prometheus | ts=2024-04-27T18:14:24.859Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-04-27T18:14:24.859Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-04-27T18:14:26.67667503Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-04-27T18:14:26.681130972Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.454952ms grafana | logger=migrator t=2024-04-27T18:14:26.684640499Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-04-27T18:14:26.687274652Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.633613ms grafana | logger=migrator t=2024-04-27T18:14:26.691503073Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-04-27T18:14:26.691599073Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=96.39µs grafana | logger=migrator t=2024-04-27T18:14:26.694771729Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-04-27T18:14:26.695584804Z level=info msg="Migration successfully executed" id="create quota table v1" duration=813.945µs grafana | logger=migrator t=2024-04-27T18:14:26.776760075Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-04-27T18:14:26.777542689Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=783.334µs grafana | logger=migrator t=2024-04-27T18:14:26.782510684Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-04-27T18:14:26.782551604Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=42.64µs grafana | logger=migrator t=2024-04-27T18:14:26.786427642Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-04-27T18:14:26.78787667Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.449158ms grafana | logger=migrator t=2024-04-27T18:14:26.791445417Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-04-27T18:14:26.792361482Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=915.835µs grafana | logger=migrator t=2024-04-27T18:14:26.795795389Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-04-27T18:14:26.798695854Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.897375ms grafana | logger=migrator t=2024-04-27T18:14:26.802771014Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-04-27T18:14:26.802808854Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=38.87µs grafana | logger=migrator t=2024-04-27T18:14:26.80607249Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-04-27T18:14:26.806938975Z level=info msg="Migration successfully executed" id="create session table" duration=866.185µs grafana | logger=migrator t=2024-04-27T18:14:26.811612217Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-04-27T18:14:26.811966Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=353.613µs grafana | logger=migrator t=2024-04-27T18:14:26.816832714Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-04-27T18:14:26.817017164Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=186.72µs grafana | logger=migrator t=2024-04-27T18:14:26.858175668Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-04-27T18:14:26.859532655Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.355247ms grafana | logger=migrator t=2024-04-27T18:14:26.864262218Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-04-27T18:14:26.865531704Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.268196ms grafana | logger=migrator t=2024-04-27T18:14:26.958216293Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-04-27T18:14:26.958247343Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=32.98µs grafana | logger=migrator t=2024-04-27T18:14:26.962918136Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-04-27T18:14:26.962937866Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=20.49µs grafana | logger=migrator t=2024-04-27T18:14:26.967183527Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-04-27T18:14:26.973003577Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.81923ms grafana | logger=migrator t=2024-04-27T18:14:26.977230248Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-04-27T18:14:26.981098336Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.867468ms grafana | logger=migrator t=2024-04-27T18:14:26.985230417Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-04-27T18:14:26.985385557Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=154.58µs grafana | logger=migrator t=2024-04-27T18:14:26.988725954Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-04-27T18:14:26.988882795Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=156.211µs grafana | logger=migrator t=2024-04-27T18:14:26.991293337Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-04-27T18:14:26.992266762Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=972.985µs grafana | logger=migrator t=2024-04-27T18:14:26.996475482Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-04-27T18:14:26.996513423Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=39.371µs grafana | logger=migrator t=2024-04-27T18:14:27.010086991Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-04-27T18:14:27.015256437Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.165946ms grafana | logger=migrator t=2024-04-27T18:14:27.021443158Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-04-27T18:14:27.021696939Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=253.021µs grafana | logger=migrator t=2024-04-27T18:14:27.025138177Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-04-27T18:14:27.028713995Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.575478ms grafana | logger=migrator t=2024-04-27T18:14:27.034642735Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-04-27T18:14:27.038037433Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.394058ms grafana | logger=migrator t=2024-04-27T18:14:27.041091728Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-04-27T18:14:27.041171358Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=79.54µs grafana | logger=migrator t=2024-04-27T18:14:27.04545423Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-04-27T18:14:27.046443505Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=989.225µs grafana | logger=migrator t=2024-04-27T18:14:27.050696087Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-04-27T18:14:27.052045564Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.345027ms grafana | logger=migrator t=2024-04-27T18:14:27.055587421Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-04-27T18:14:27.05731055Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.723299ms grafana | logger=migrator t=2024-04-27T18:14:27.061792063Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-04-27T18:14:27.06314632Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.353807ms grafana | logger=migrator t=2024-04-27T18:14:27.068453806Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-04-27T18:14:27.06932007Z level=info msg="Migration successfully executed" id="add index alert state" duration=865.534µs grafana | logger=migrator t=2024-04-27T18:14:27.072872148Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-04-27T18:14:27.074135615Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.263167ms grafana | logger=migrator t=2024-04-27T18:14:27.077461692Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-04-27T18:14:27.078488337Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.028585ms grafana | logger=migrator t=2024-04-27T18:14:27.082677108Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-04-27T18:14:27.083514773Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=837.095µs grafana | logger=migrator t=2024-04-27T18:14:27.086683938Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-04-27T18:14:27.087452612Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=768.414µs grafana | logger=migrator t=2024-04-27T18:14:27.091715754Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-04-27T18:14:27.100973972Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=9.258458ms grafana | logger=migrator t=2024-04-27T18:14:27.105173993Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-04-27T18:14:27.105694585Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=521.872µs grafana | logger=migrator t=2024-04-27T18:14:27.109919316Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-04-27T18:14:27.111314343Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.394487ms grafana | logger=migrator t=2024-04-27T18:14:27.114917272Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-04-27T18:14:27.115391814Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=474.502µs grafana | logger=migrator t=2024-04-27T18:14:27.120336899Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-04-27T18:14:27.120804652Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=467.583µs grafana | logger=migrator t=2024-04-27T18:14:27.123804537Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-04-27T18:14:27.1245147Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=710.363µs grafana | logger=migrator t=2024-04-27T18:14:27.127533446Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-04-27T18:14:27.133194445Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.660479ms grafana | logger=migrator t=2024-04-27T18:14:27.13832295Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-04-27T18:14:27.141853098Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.529898ms grafana | logger=migrator t=2024-04-27T18:14:27.144806183Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-04-27T18:14:27.148371341Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.561368ms grafana | logger=migrator t=2024-04-27T18:14:27.151274165Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-04-27T18:14:27.154739543Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.464528ms grafana | logger=migrator t=2024-04-27T18:14:27.159661208Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-04-27T18:14:27.160490733Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=829.325µs grafana | logger=migrator t=2024-04-27T18:14:27.163591568Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-04-27T18:14:27.163621288Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=30.34µs grafana | logger=migrator t=2024-04-27T18:14:27.166856825Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-04-27T18:14:27.166881645Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=23.89µs grafana | logger=migrator t=2024-04-27T18:14:27.170998006Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-04-27T18:14:27.172354483Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.358447ms grafana | logger=migrator t=2024-04-27T18:14:27.177354758Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-04-27T18:14:27.178738325Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.382757ms grafana | logger=migrator t=2024-04-27T18:14:27.183504228Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-04-27T18:14:27.184713015Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.205887ms grafana | logger=migrator t=2024-04-27T18:14:27.188974636Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-04-27T18:14:27.190318443Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.343777ms grafana | logger=migrator t=2024-04-27T18:14:27.19360619Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-04-27T18:14:27.194471504Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=863.784µs grafana | logger=migrator t=2024-04-27T18:14:27.197577231Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-04-27T18:14:27.201370329Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.792418ms grafana | logger=migrator t=2024-04-27T18:14:27.206464385Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-04-27T18:14:27.210276275Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.81179ms grafana | logger=migrator t=2024-04-27T18:14:27.21523739Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-04-27T18:14:27.21540763Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=170.54µs grafana | logger=migrator t=2024-04-27T18:14:27.221914833Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-04-27T18:14:27.222761528Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=846.625µs grafana | logger=migrator t=2024-04-27T18:14:27.228626017Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-04-27T18:14:27.229895654Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.272387ms grafana | logger=migrator t=2024-04-27T18:14:27.237513613Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-04-27T18:14:27.243366432Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.852759ms grafana | logger=migrator t=2024-04-27T18:14:27.250605188Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-04-27T18:14:27.250671458Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=66.95µs grafana | logger=migrator t=2024-04-27T18:14:27.257710024Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-04-27T18:14:27.258979811Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.270477ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:27.265287693Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-04-27T18:14:27.26668108Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.390137ms grafana | logger=migrator t=2024-04-27T18:14:27.273212874Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-04-27T18:14:27.273334874Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=122.41µs grafana | logger=migrator t=2024-04-27T18:14:27.278703221Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-04-27T18:14:27.280190899Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.487338ms grafana | logger=migrator t=2024-04-27T18:14:27.285731847Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-04-27T18:14:27.287429385Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.697198ms grafana | logger=migrator t=2024-04-27T18:14:27.295830508Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-04-27T18:14:27.296637412Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=806.744µs grafana | logger=migrator t=2024-04-27T18:14:27.302713063Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-04-27T18:14:27.30411292Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.399197ms grafana | logger=migrator t=2024-04-27T18:14:27.31220289Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-04-27T18:14:27.313958949Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.755019ms grafana | logger=migrator t=2024-04-27T18:14:27.320199491Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-04-27T18:14:27.321459798Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.258857ms grafana | logger=migrator t=2024-04-27T18:14:27.329198867Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-04-27T18:14:27.329238857Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=41.44µs grafana | logger=migrator t=2024-04-27T18:14:27.335625709Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-04-27T18:14:27.342110202Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.483913ms grafana | logger=migrator t=2024-04-27T18:14:27.348672575Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-04-27T18:14:27.349808461Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.135846ms grafana | logger=migrator t=2024-04-27T18:14:27.355372839Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-04-27T18:14:27.36147598Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.103961ms grafana | logger=migrator t=2024-04-27T18:14:27.370586186Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-04-27T18:14:27.37124358Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=659.104µs grafana | logger=migrator t=2024-04-27T18:14:27.380276536Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-04-27T18:14:27.381653643Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.376707ms grafana | logger=migrator t=2024-04-27T18:14:27.388243846Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-04-27T18:14:27.38914503Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=901.374µs policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:27.398307256Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-04-27T18:14:27.413835736Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=15.529579ms grafana | logger=migrator t=2024-04-27T18:14:27.418132237Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-04-27T18:14:27.418791221Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=659.044µs grafana | logger=migrator t=2024-04-27T18:14:27.423255253Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-04-27T18:14:27.424397169Z 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.141336ms grafana | logger=migrator t=2024-04-27T18:14:27.431186793Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-04-27T18:14:27.431629985Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=444.002µs grafana | logger=migrator t=2024-04-27T18:14:27.437547155Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-04-27T18:14:27.438328759Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=779.314µs grafana | logger=migrator t=2024-04-27T18:14:27.446030268Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-04-27T18:14:27.44630996Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=280.162µs grafana | logger=migrator t=2024-04-27T18:14:27.457884687Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-04-27T18:14:27.464290861Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.403024ms grafana | logger=migrator t=2024-04-27T18:14:27.470662453Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-04-27T18:14:27.477150516Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=6.487473ms grafana | logger=migrator t=2024-04-27T18:14:27.481772319Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-04-27T18:14:27.482600373Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=827.724µs grafana | logger=migrator t=2024-04-27T18:14:27.48796753Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-04-27T18:14:27.489681979Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.712729ms grafana | logger=migrator t=2024-04-27T18:14:27.495731969Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-04-27T18:14:27.496090911Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=358.872µs grafana | logger=migrator t=2024-04-27T18:14:27.503835391Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-04-27T18:14:27.508045282Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.209501ms grafana | logger=migrator t=2024-04-27T18:14:27.514191563Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-04-27T18:14:27.515072027Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=880.584µs grafana | logger=migrator t=2024-04-27T18:14:27.51949467Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-04-27T18:14:27.519838452Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=344.582µs grafana | logger=migrator t=2024-04-27T18:14:27.524147513Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-04-27T18:14:27.524696456Z level=info msg="Migration successfully executed" id="Move region to single row" duration=549.703µs grafana | logger=migrator t=2024-04-27T18:14:27.530853668Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-04-27T18:14:27.532274075Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.420177ms grafana | logger=migrator t=2024-04-27T18:14:27.539043548Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-04-27T18:14:27.539955254Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=912.216µs grafana | logger=migrator t=2024-04-27T18:14:27.581290583Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-04-27T18:14:27.582892971Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.601518ms grafana | logger=migrator t=2024-04-27T18:14:27.589916746Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-04-27T18:14:27.591676205Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.758809ms grafana | logger=migrator t=2024-04-27T18:14:27.595482784Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-04-27T18:14:27.596436299Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=953.845µs grafana | logger=migrator t=2024-04-27T18:14:27.601676056Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:27.603213413Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.533067ms grafana | logger=migrator t=2024-04-27T18:14:27.61045875Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-04-27T18:14:27.610563301Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=105.381µs grafana | logger=migrator t=2024-04-27T18:14:27.616808942Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-04-27T18:14:27.618183599Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.373597ms grafana | logger=migrator t=2024-04-27T18:14:27.623685157Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-04-27T18:14:27.625107594Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.421507ms grafana | logger=migrator t=2024-04-27T18:14:27.634984204Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-04-27T18:14:27.63613498Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.149366ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:27.647122336Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-04-27T18:14:27.648710234Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.587538ms grafana | logger=migrator t=2024-04-27T18:14:27.655311757Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-04-27T18:14:27.655668339Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=356.022µs grafana | logger=migrator t=2024-04-27T18:14:27.661411888Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-04-27T18:14:27.662024531Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=612.663µs grafana | logger=migrator t=2024-04-27T18:14:27.670780496Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-04-27T18:14:27.670889956Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=112.79µs grafana | logger=migrator t=2024-04-27T18:14:27.677440969Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-04-27T18:14:27.678529875Z level=info msg="Migration successfully executed" id="create team table" duration=1.089496ms grafana | logger=migrator t=2024-04-27T18:14:27.684714106Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-04-27T18:14:27.686520565Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.805239ms grafana | logger=migrator t=2024-04-27T18:14:27.693861122Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-04-27T18:14:27.695216689Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.355307ms grafana | logger=migrator t=2024-04-27T18:14:27.705388161Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-04-27T18:14:27.712745508Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.356687ms grafana | logger=migrator t=2024-04-27T18:14:27.724021765Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-04-27T18:14:27.724191996Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=171.741µs grafana | logger=migrator t=2024-04-27T18:14:27.733953016Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-04-27T18:14:27.735372493Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.419167ms grafana | logger=migrator t=2024-04-27T18:14:27.742099436Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-04-27T18:14:27.743323223Z level=info msg="Migration successfully executed" id="create team member table" duration=1.223557ms grafana | logger=migrator t=2024-04-27T18:14:27.748473358Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-04-27T18:14:27.749828895Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.356027ms grafana | logger=migrator t=2024-04-27T18:14:27.75657823Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-04-27T18:14:27.757476204Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=896.634µs grafana | logger=migrator t=2024-04-27T18:14:27.762443919Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-04-27T18:14:27.763307234Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=863.235µs grafana | logger=migrator t=2024-04-27T18:14:27.769067003Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-04-27T18:14:27.773719977Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.651334ms grafana | logger=migrator t=2024-04-27T18:14:27.7782807Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-04-27T18:14:27.782748112Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.466662ms grafana | logger=migrator t=2024-04-27T18:14:27.789312296Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-04-27T18:14:27.794561212Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.246716ms grafana | logger=migrator t=2024-04-27T18:14:27.801022876Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-04-27T18:14:27.80187652Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=854.744µs grafana | logger=migrator t=2024-04-27T18:14:27.805782179Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-04-27T18:14:27.806900125Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.116416ms grafana | logger=migrator t=2024-04-27T18:14:27.811087416Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-04-27T18:14:27.812775164Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.686848ms grafana | logger=migrator t=2024-04-27T18:14:27.819282488Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-04-27T18:14:27.820753925Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.471097ms grafana | logger=migrator t=2024-04-27T18:14:27.827415778Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-04-27T18:14:27.828313814Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=898.006µs grafana | logger=migrator t=2024-04-27T18:14:27.83363791Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-04-27T18:14:27.834543624Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=904.594µs grafana | logger=migrator t=2024-04-27T18:14:27.840784516Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-04-27T18:14:27.842330685Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.545429ms grafana | logger=migrator t=2024-04-27T18:14:27.852567416Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-04-27T18:14:27.854053533Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.486567ms grafana | logger=migrator t=2024-04-27T18:14:27.86531046Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-04-27T18:14:27.865989154Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=678.804µs policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:27.873218141Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-04-27T18:14:27.873612212Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=393.701µs grafana | logger=migrator t=2024-04-27T18:14:27.879336561Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-04-27T18:14:27.880460987Z level=info msg="Migration successfully executed" id="create tag table" duration=1.123656ms grafana | logger=migrator t=2024-04-27T18:14:27.885939565Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-04-27T18:14:27.887862165Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.92085ms grafana | logger=migrator t=2024-04-27T18:14:27.893888385Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-04-27T18:14:27.895234402Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.347467ms grafana | logger=migrator t=2024-04-27T18:14:27.901786385Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-04-27T18:14:27.90272071Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=934.215µs grafana | logger=migrator t=2024-04-27T18:14:27.908239818Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-04-27T18:14:27.909782186Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.540388ms grafana | logger=migrator t=2024-04-27T18:14:27.9164967Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-27T18:14:27.93434497Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.84988ms grafana | logger=migrator t=2024-04-27T18:14:27.94225325Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-04-27T18:14:27.943200106Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=945.896µs grafana | logger=migrator t=2024-04-27T18:14:27.951268356Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-04-27T18:14:27.953018865Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.749979ms grafana | logger=migrator t=2024-04-27T18:14:27.958657293Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-04-27T18:14:27.958938014Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=280.921µs grafana | logger=migrator t=2024-04-27T18:14:27.962116061Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-04-27T18:14:27.962761204Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=644.343µs grafana | logger=migrator t=2024-04-27T18:14:27.971766059Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-04-27T18:14:27.972627054Z level=info msg="Migration successfully executed" id="create user auth table" duration=861.065µs grafana | logger=migrator t=2024-04-27T18:14:27.976462223Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-04-27T18:14:27.977427019Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=964.606µs grafana | logger=migrator t=2024-04-27T18:14:27.980206473Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-04-27T18:14:27.980273113Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=67.55µs grafana | logger=migrator t=2024-04-27T18:14:27.983091937Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-04-27T18:14:27.988156353Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.063086ms grafana | logger=migrator t=2024-04-27T18:14:27.995023118Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-04-27T18:14:28.001671141Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=6.649823ms grafana | logger=migrator t=2024-04-27T18:14:28.005754322Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-04-27T18:14:28.011758073Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.002481ms grafana | logger=migrator t=2024-04-27T18:14:28.015045158Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-04-27T18:14:28.019438742Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.393114ms grafana | logger=migrator t=2024-04-27T18:14:28.022642897Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-04-27T18:14:28.023465471Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=822.504µs grafana | logger=migrator t=2024-04-27T18:14:28.027433792Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-04-27T18:14:28.032869569Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.434937ms grafana | logger=migrator t=2024-04-27T18:14:28.036266496Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-04-27T18:14:28.03702052Z level=info msg="Migration successfully executed" id="create server_lock table" duration=753.594µs grafana | logger=migrator t=2024-04-27T18:14:28.040140406Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-04-27T18:14:28.040808269Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=666.413µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-27T18:14:28.044715769Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.045330142Z level=info msg="Migration successfully executed" id="create user auth token table" duration=615.703µs policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.048198427Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.049219381Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.018844ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-04-27T18:14:28.052464798Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.053367163Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=901.725µs policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-04-27T18:14:28.057329173Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.058468218Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.138155ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.061615075Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-04-27T18:14:28.067017122Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.401387ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.070265288Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-04-27T18:14:28.071207482Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=944.244µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.075303873Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.076168828Z level=info msg="Migration successfully executed" id="create cache_data table" duration=864.285µs policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.079277503Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-04-27T18:14:28.080217578Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=939.555µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.083283674Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-04-27T18:14:28.084128558Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=844.624µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.08837931Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.089311104Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=931.644µs policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.09239237Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-04-27T18:14:28.09245642Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=66.27µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.095594546Z level=info msg="Executing migration" id="delete alert_definition table" 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-27T18:14:28.095677826Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=83.52µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.099784347Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.100639302Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=854.225µs policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.103998998Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-04-27T18:14:28.104924544Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=925.276µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.108045189Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 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-27T18:14:28.108986864Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=941.255µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.113009604Z 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-27T18:14:28.113074524Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=65.51µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.115738598Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-04-27T18:14:28.117111265Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.372087ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.120508642Z 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-27T18:14:28.121899659Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.390157ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.124909504Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-04-27T18:14:28.12585796Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=947.626µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.128490902Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-04-27T18:14:28.129450578Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=959.236µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.131572568Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.137105257Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.531919ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.139975791Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-27T18:14:28.140840785Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=864.804µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.14381402Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-04-27T18:14:28.14389003Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=76.2µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.146678534Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.14763605Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=956.996µs policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.150262622Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-27T18:14:28.151240958Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=977.706µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.153993462Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-04-27T18:14:28.154959546Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=963.754µs policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-04-27T18:14:28.157714Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-04-27T18:14:28.15777801Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=64.02µs policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-04-27T18:14:28.164920136Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.165854422Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=933.856µs policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.174000232Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.175666111Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.664919ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-04-27T18:14:28.183603741Z 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 | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.185117489Z 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.513418ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.192684657Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.193771613Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.086696ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-04-27T18:14:28.204112745Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.211514522Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.396977ms 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-27T18:14:28.221155131Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.222707689Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.554718ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.236076277Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.237847316Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.769209ms policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-04-27T18:14:28.244103627Z 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-27T18:14:28.26829432Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=24.191032ms policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-04-27T18:14:28.271133254Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.294802464Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=23.66551ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.298060131Z 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-27T18:14:28.298922555Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=862.414µs policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-04-27T18:14:28.304186891Z 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-27T18:14:28.305353077Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.166186ms policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-04-27T18:14:28.308348922Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.314179212Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.82978ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.317442248Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.323212047Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.769059ms policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-04-27T18:14:28.328174153Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.329396538Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.222585ms 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-27T18:14:28.399466334Z 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-27T18:14:28.401318633Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.85245ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.409283483Z 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-27T18:14:28.410460529Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.176606ms policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-04-27T18:14:28.415180593Z 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-27T18:14:28.416434679Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.252086ms 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-27T18:14:28.419594815Z 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-27T18:14:28.419778256Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=183.751µs policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.422903932Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.429013493Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.108951ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-04-27T18:14:28.434780732Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.440709211Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.925479ms 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-27T18:14:28.444513221Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.45037763Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.863809ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.454737883Z 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-27T18:14:28.455810578Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.072585ms policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-04-27T18:14:28.4620106Z 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-27T18:14:28.463952119Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.940949ms policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-04-27T18:14:28.467858349Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.473772819Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.91391ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.477612868Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.483505648Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.89201ms policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.488868785Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-04-27T18:14:28.489906801Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.036236ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.493576779Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.502522765Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=8.943376ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.50572046Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-04-27T18:14:28.509958382Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.237682ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.512812996Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-04-27T18:14:28.512938607Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=125.761µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.518435625Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.519813992Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.377857ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.525809292Z 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 | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-04-27T18:14:28.526921677Z 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.112055ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.53130066Z 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 jpatoscaproperty_constraints grafana | logger=migrator t=2024-04-27T18:14:28.532601707Z 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.300757ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.537042049Z 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-27T18:14:28.53721839Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=176.111µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.539695323Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-04-27T18:14:28.54917981Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.485767ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.551918104Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.556398487Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.480023ms grafana | logger=migrator t=2024-04-27T18:14:28.56111925Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-04-27T18:14:28.567351992Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.232332ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.570204887Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-04-27T18:14:28.576432218Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.228861ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.579428383Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.585586424Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.157091ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.590701011Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-04-27T18:14:28.590888122Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=186.631µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.593838216Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-04-27T18:14:28.594816811Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=978.135µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.597729396Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.604061438Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.331162ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.608972873Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-04-27T18:14:28.609151944Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=178.911µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.611412345Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.620942094Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.527529ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.624151179Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-04-27T18:14:28.624962513Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=811.304µs grafana | logger=migrator t=2024-04-27T18:14:28.627776498Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.632379021Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=4.600513ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-04-27T18:14:28.637093165Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.6380258Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=932.175µs policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.641004434Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.642516973Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.511179ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-04-27T18:14:28.645920249Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.655091157Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.169258ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.660164882Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.661051936Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=886.074µs policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-04-27T18:14:28.664163671Z 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-27T18:14:28.665268967Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.116416ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.668253352Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.669181438Z level=info msg="Migration successfully executed" id="create alert_image table" duration=927.166µs policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-04-27T18:14:28.674319553Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.675412669Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.092756ms policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-04-27T18:14:28.678284004Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.678377864Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=92.92µs policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.68157678Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | msg grafana | logger=migrator t=2024-04-27T18:14:28.683983022Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=2.405312ms policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-04-27T18:14:28.692397965Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.694142453Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.742838ms policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-04-27T18:14:28.698889698Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.69939774Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-04-27T18:14:28.702933788Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.703480041Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=545.723µs policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.708366066Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.710137164Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.771298ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-04-27T18:14:28.713738432Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.721641933Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.904211ms policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-04-27T18:14:28.724688708Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.725813854Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.122636ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.730577768Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.731743504Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.165296ms policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-04-27T18:14:28.734381417Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.735285812Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=903.855µs policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.738177276Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.739327682Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.150256ms policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-04-27T18:14:28.746467328Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.747983846Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.518418ms policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-04-27T18:14:28.753674004Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.753719495Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=47.471µs policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.756770511Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.757005452Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=234.02µs policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-04-27T18:14:28.759756116Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.760299349Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=542.513µs policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.765274724Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.76654589Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.271786ms policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-04-27T18:14:28.769603745Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.770494639Z level=info msg="Migration successfully executed" id="create secrets table" duration=890.374µs policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-04-27T18:14:28.773691956Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.803317006Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=29.62495ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.808323571Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.813828439Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.503698ms policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-04-27T18:14:28.817168626Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.817391677Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=222.451µs policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.819795019Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.850778906Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=30.983137ms policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-04-27T18:14:28.856817377Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.885924883Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=29.104176ms policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-04-27T18:14:28.889361821Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.890131545Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=769.254µs policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-04-27T18:14:28.893908954Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.894758239Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=849.145µs policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.897860064Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.898491557Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=631.103µs policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-04-27T18:14:28.903644734Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.905275702Z level=info msg="Migration successfully executed" id="create permission table" duration=1.630208ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.90889762Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.909982616Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.085146ms policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-27T18:14:28.913309612Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.914423508Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.111276ms policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-04-27T18:14:28.919429853Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.920399638Z level=info msg="Migration successfully executed" id="create role table" duration=972.175µs policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.923579654Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.933959917Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.379733ms policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-04-27T18:14:28.936708491Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.942441679Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.732088ms policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-04-27T18:14:28.947984838Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-27T18:14:28.950124338Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=2.14352ms policy-db-migrator | grafana | logger=migrator t=2024-04-27T18:14:28.953671846Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-04-27T18:14:28.954516541Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=844.755µs policy-db-migrator | name version grafana | logger=migrator t=2024-04-27T18:14:28.959254525Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-04-27T18:14:28.96033443Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.079575ms policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-04-27T18:14:28.963475036Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:28.964539532Z level=info msg="Migration successfully executed" id="create team role table" duration=1.063666ms policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:28.967838298Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:28.969052134Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.213256ms policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:28.974334941Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:28.975633267Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.297916ms policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:28.97995947Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:28.982011009Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=2.050369ms policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:28.985897709Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:28.987645129Z level=info msg="Migration successfully executed" id="create user role table" duration=1.74646ms policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:28.995611429Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:28.997627329Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=2.01625ms policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:29.002004511Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:29.004113911Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=2.10867ms policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:29.007078656Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:29.008323413Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.241557ms policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:29.01360866Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:29.014516624Z level=info msg="Migration successfully executed" id="create builtin role table" duration=907.124µs policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:29.018297883Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:29.019473269Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.180486ms policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:29.022675166Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:29.023896781Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.221695ms policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:29.030665656Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:29.042099893Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=11.433657ms policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:29 grafana | logger=migrator t=2024-04-27T18:14:29.045032779Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.045811182Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=778.243µs policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.050653177Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.051876393Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.222916ms policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.058051784Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.059866334Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.81461ms policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.063370061Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.065546132Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=2.176141ms policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.075586722Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.076949839Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.363437ms policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.082231007Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.084244967Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=2.0135ms policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.087816315Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.094373327Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=6.555702ms grafana | logger=migrator t=2024-04-27T18:14:29.097791575Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.105868815Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.07701ms policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.113305433Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.121463535Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.156992ms policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.125997117Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.134277879Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.279982ms policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.137608016Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.139371995Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.769019ms policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.148038669Z level=info msg="Executing migration" id="add permission action scope role_id index" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.149876168Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.836579ms policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:30 grafana | logger=migrator t=2024-04-27T18:14:29.153124585Z level=info msg="Executing migration" id="remove permission role_id action scope index" policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.154743473Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.618768ms policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.1581815Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.159762288Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.579958ms policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.165001065Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.16610993Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.107255ms policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.169386227Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.169489487Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=107.08µs policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.172629283Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.172674873Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=47.23µs policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.215371369Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.216144293Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=773.064µs policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.225021028Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.225865552Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=846.704µs policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.229131188Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.230302924Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.171696ms policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.233592511Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.233880702Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=289.911µs policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.239065889Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.239653092Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=587.283µs policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.243831283Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.24521797Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.385707ms policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.248630557Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.250126284Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.497947ms policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.254383377Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.263355431Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.971644ms policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:31 grafana | logger=migrator t=2024-04-27T18:14:29.268020165Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.268097855Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=78.29µs policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.27105162Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.272226836Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.174786ms policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.2749572Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.276073046Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.115416ms policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.280750359Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.281874125Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.123506ms policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.28492192Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.293918306Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.995686ms policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.296875701Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.297711715Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=835.804µs policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.302740611Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.30460222Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.861809ms policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.308226738Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.331822428Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=23.59086ms policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.341397726Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.342763273Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.365397ms policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2704241814280800u 1 2024-04-27 18:14:32 grafana | logger=migrator t=2024-04-27T18:14:29.345862128Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2704241814280900u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.346976784Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.114656ms policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2704241814280900u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.35014938Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2704241814280900u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.351340666Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.192436ms policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2704241814280900u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.357672268Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2704241814280900u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.359887229Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=2.210501ms policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2704241814280900u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.363370957Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2704241814280900u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.36388355Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=511.493µs policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2704241814280900u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.367107086Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2704241814280900u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.368025061Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=917.585µs policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2704241814280900u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.374552013Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2704241814280900u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.386899586Z level=info msg="Migration successfully executed" id="add provisioning column" duration=12.349403ms policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2704241814280900u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.390915797Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2704241814280900u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.391696351Z level=info msg="Migration successfully executed" id="create entity_events table" duration=780.314µs policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2704241814281000u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.395493289Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2704241814281000u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.396853576Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.359817ms policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2704241814281000u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.401700871Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2704241814281000u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.402439474Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2704241814281000u 1 2024-04-27 18:14:33 grafana | logger=migrator t=2024-04-27T18:14:29.406465545Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2704241814281000u 1 2024-04-27 18:14:34 grafana | logger=migrator t=2024-04-27T18:14:29.40753687Z 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-27T18:14:29.415831912Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2704241814281000u 1 2024-04-27 18:14:34 grafana | logger=migrator t=2024-04-27T18:14:29.416682686Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=862.234µs policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2704241814281000u 1 2024-04-27 18:14:34 grafana | logger=migrator t=2024-04-27T18:14:29.421837983Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2704241814281000u 1 2024-04-27 18:14:34 grafana | logger=migrator t=2024-04-27T18:14:29.423973683Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=2.13825ms policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2704241814281100u 1 2024-04-27 18:14:34 grafana | logger=migrator t=2024-04-27T18:14:29.428783168Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2704241814281200u 1 2024-04-27 18:14:34 grafana | logger=migrator t=2024-04-27T18:14:29.429599232Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=815.734µs policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2704241814281200u 1 2024-04-27 18:14:34 grafana | logger=migrator t=2024-04-27T18:14:29.432357876Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2704241814281200u 1 2024-04-27 18:14:34 grafana | logger=migrator t=2024-04-27T18:14:29.433787453Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.427427ms policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2704241814281200u 1 2024-04-27 18:14:34 grafana | logger=migrator t=2024-04-27T18:14:29.43712103Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2704241814281300u 1 2024-04-27 18:14:34 grafana | logger=migrator t=2024-04-27T18:14:29.438719948Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.598928ms policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2704241814281300u 1 2024-04-27 18:14:34 grafana | logger=migrator t=2024-04-27T18:14:29.443641963Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2704241814281300u 1 2024-04-27 18:14:34 grafana | logger=migrator t=2024-04-27T18:14:29.444738618Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.096915ms policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-04-27T18:14:29.447981394Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-04-27T18:14:29.448760248Z level=info msg="Migration successfully executed" id="Drop public config table" duration=778.724µs grafana | logger=migrator t=2024-04-27T18:14:29.456275176Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-04-27T18:14:29.457491203Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.216307ms grafana | logger=migrator t=2024-04-27T18:14:29.460810129Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-04-27T18:14:29.462575318Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.764239ms grafana | logger=migrator t=2024-04-27T18:14:29.467833724Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-04-27T18:14:29.46894402Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.109616ms grafana | logger=migrator t=2024-04-27T18:14:29.472031696Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-04-27T18:14:29.473133412Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.101676ms grafana | logger=migrator t=2024-04-27T18:14:29.476209917Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-04-27T18:14:29.499208793Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=22.998166ms grafana | logger=migrator t=2024-04-27T18:14:29.503963907Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-04-27T18:14:29.512881643Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.916706ms grafana | logger=migrator t=2024-04-27T18:14:29.516061208Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-04-27T18:14:29.522202639Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.140661ms grafana | logger=migrator t=2024-04-27T18:14:29.527113705Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-04-27T18:14:29.527371565Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=257.981µs grafana | logger=migrator t=2024-04-27T18:14:29.534454382Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-04-27T18:14:29.545067425Z level=info msg="Migration successfully executed" id="add share column" duration=10.611323ms grafana | logger=migrator t=2024-04-27T18:14:29.549481107Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-04-27T18:14:29.549696678Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=215.351µs grafana | logger=migrator t=2024-04-27T18:14:29.553586418Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-04-27T18:14:29.554530153Z level=info msg="Migration successfully executed" id="create file table" duration=943.115µs grafana | logger=migrator t=2024-04-27T18:14:29.557485668Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-04-27T18:14:29.559071766Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.584578ms grafana | logger=migrator t=2024-04-27T18:14:29.565696709Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-04-27T18:14:29.567383488Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.686599ms grafana | logger=migrator t=2024-04-27T18:14:29.572423823Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-04-27T18:14:29.57363193Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.208137ms grafana | logger=migrator t=2024-04-27T18:14:29.576639145Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-04-27T18:14:29.57770891Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.069235ms grafana | logger=migrator t=2024-04-27T18:14:29.582195733Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-04-27T18:14:29.582261083Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=63.54µs grafana | logger=migrator t=2024-04-27T18:14:29.586159462Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-04-27T18:14:29.586255404Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=96.482µs grafana | logger=migrator t=2024-04-27T18:14:29.590447885Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-04-27T18:14:29.591269859Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=819.074µs grafana | logger=migrator t=2024-04-27T18:14:29.594637336Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-04-27T18:14:29.594946247Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=309.501µs grafana | logger=migrator t=2024-04-27T18:14:29.600164553Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-04-27T18:14:29.60146222Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.298967ms grafana | logger=migrator t=2024-04-27T18:14:29.605623471Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-04-27T18:14:29.614461556Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.835395ms grafana | logger=migrator t=2024-04-27T18:14:29.617743733Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-04-27T18:14:29.617902453Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=158.36µs grafana | logger=migrator t=2024-04-27T18:14:29.621653762Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-04-27T18:14:29.622837508Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.183676ms grafana | logger=migrator t=2024-04-27T18:14:29.625948344Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-04-27T18:14:29.626565937Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=616.593µs grafana | logger=migrator t=2024-04-27T18:14:29.630116145Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-04-27T18:14:29.630448897Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=332.992µs grafana | logger=migrator t=2024-04-27T18:14:29.63510592Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-04-27T18:14:29.635604023Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=498.243µs grafana | logger=migrator t=2024-04-27T18:14:29.643318481Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-04-27T18:14:29.655279492Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.962771ms grafana | logger=migrator t=2024-04-27T18:14:29.658453648Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-04-27T18:14:29.665314083Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.858795ms grafana | logger=migrator t=2024-04-27T18:14:29.66872916Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-04-27T18:14:29.669738605Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.009105ms grafana | logger=migrator t=2024-04-27T18:14:29.675334004Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-04-27T18:14:29.750232132Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=74.896118ms grafana | logger=migrator t=2024-04-27T18:14:29.75581143Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-04-27T18:14:29.756739195Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=925.245µs grafana | logger=migrator t=2024-04-27T18:14:29.764332593Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-04-27T18:14:29.766437064Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=2.099281ms grafana | logger=migrator t=2024-04-27T18:14:29.771275489Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-04-27T18:14:29.796297305Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=25.022176ms grafana | logger=migrator t=2024-04-27T18:14:29.800332105Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-04-27T18:14:29.807750393Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=7.415128ms grafana | logger=migrator t=2024-04-27T18:14:29.812603177Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-04-27T18:14:29.812958339Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=355.222µs grafana | logger=migrator t=2024-04-27T18:14:29.817668012Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-04-27T18:14:29.817861133Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=192.561µs grafana | logger=migrator t=2024-04-27T18:14:29.822302326Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-04-27T18:14:29.822687758Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=385.412µs grafana | logger=migrator t=2024-04-27T18:14:29.826878309Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-04-27T18:14:29.827263531Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=386.682µs grafana | logger=migrator t=2024-04-27T18:14:29.831830184Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-04-27T18:14:29.832064096Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=233.792µs grafana | logger=migrator t=2024-04-27T18:14:29.837507912Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-04-27T18:14:29.839571503Z level=info msg="Migration successfully executed" id="create folder table" duration=2.063601ms grafana | logger=migrator t=2024-04-27T18:14:29.846346117Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-04-27T18:14:29.848439768Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.092961ms grafana | logger=migrator t=2024-04-27T18:14:29.853294613Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-04-27T18:14:29.854513689Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.217516ms grafana | logger=migrator t=2024-04-27T18:14:29.858186688Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-04-27T18:14:29.858209948Z level=info msg="Migration successfully executed" id="Update folder title length" duration=24.28µs grafana | logger=migrator t=2024-04-27T18:14:29.861986386Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-27T18:14:29.864031677Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.041701ms grafana | logger=migrator t=2024-04-27T18:14:29.868697371Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-27T18:14:29.870965042Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=2.268422ms grafana | logger=migrator t=2024-04-27T18:14:29.877901817Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-04-27T18:14:29.879333474Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.430907ms grafana | logger=migrator t=2024-04-27T18:14:29.888142959Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-04-27T18:14:29.888606051Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=463.522µs grafana | logger=migrator t=2024-04-27T18:14:29.893114104Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-04-27T18:14:29.893552867Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=436.413µs grafana | logger=migrator t=2024-04-27T18:14:29.897337525Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-04-27T18:14:29.899144735Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.81051ms grafana | logger=migrator t=2024-04-27T18:14:29.903846538Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-04-27T18:14:29.906080059Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=2.228081ms grafana | logger=migrator t=2024-04-27T18:14:29.910533882Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-04-27T18:14:29.911660377Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.126645ms grafana | logger=migrator t=2024-04-27T18:14:29.915097355Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-04-27T18:14:29.916646583Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.549488ms grafana | logger=migrator t=2024-04-27T18:14:29.92215767Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-04-27T18:14:29.923822969Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.664849ms grafana | logger=migrator t=2024-04-27T18:14:29.927783439Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-04-27T18:14:29.928794104Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.010125ms grafana | logger=migrator t=2024-04-27T18:14:29.932203182Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-04-27T18:14:29.93389262Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.687748ms grafana | logger=migrator t=2024-04-27T18:14:29.939654139Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-04-27T18:14:29.941544449Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.88992ms grafana | logger=migrator t=2024-04-27T18:14:29.945273557Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-04-27T18:14:29.946219683Z level=info msg="Migration successfully executed" id="create signing_key table" duration=946.086µs grafana | logger=migrator t=2024-04-27T18:14:29.950179482Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-04-27T18:14:29.951285078Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.104176ms grafana | logger=migrator t=2024-04-27T18:14:29.960170053Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-04-27T18:14:29.96160939Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.441367ms grafana | logger=migrator t=2024-04-27T18:14:29.965918862Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-04-27T18:14:29.966341465Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=422.843µs grafana | logger=migrator t=2024-04-27T18:14:29.969949973Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-04-27T18:14:29.982695477Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=12.746264ms grafana | logger=migrator t=2024-04-27T18:14:30.021369212Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-04-27T18:14:30.023461422Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=2.09553ms grafana | logger=migrator t=2024-04-27T18:14:30.02887382Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-27T18:14:30.030092877Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.218987ms grafana | logger=migrator t=2024-04-27T18:14:30.033751245Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-27T18:14:30.03486423Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.114295ms grafana | logger=migrator t=2024-04-27T18:14:30.040046497Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-27T18:14:30.041148302Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.102055ms grafana | logger=migrator t=2024-04-27T18:14:30.044552619Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-04-27T18:14:30.045878616Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.324237ms grafana | logger=migrator t=2024-04-27T18:14:30.049352293Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-27T18:14:30.052745731Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=3.392368ms grafana | logger=migrator t=2024-04-27T18:14:30.063013313Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-04-27T18:14:30.065525905Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=2.511602ms grafana | logger=migrator t=2024-04-27T18:14:30.070002428Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-04-27T18:14:30.070973383Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=973.165µs grafana | logger=migrator t=2024-04-27T18:14:30.075020243Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-04-27T18:14:30.075318404Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=299.121µs grafana | logger=migrator t=2024-04-27T18:14:30.078623361Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-04-27T18:14:30.078848082Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=224.381µs grafana | logger=migrator t=2024-04-27T18:14:30.082074489Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-04-27T18:14:30.091853818Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=9.778539ms grafana | logger=migrator t=2024-04-27T18:14:30.095183005Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-04-27T18:14:30.104300891Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.117026ms grafana | logger=migrator t=2024-04-27T18:14:30.111223495Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-04-27T18:14:30.111483537Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=258.342µs grafana | logger=migrator t=2024-04-27T18:14:30.114560992Z level=info msg="migrations completed" performed=548 skipped=0 duration=4.328071981s grafana | logger=sqlstore t=2024-04-27T18:14:30.127556728Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-04-27T18:14:30.127842529Z level=info msg="Created default organization" grafana | logger=secrets t=2024-04-27T18:14:30.132800214Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-04-27T18:14:30.154081312Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-04-27T18:14:30.200474846Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-04-27T18:14:30.200504696Z level=info msg="Plugins loaded" count=55 duration=46.424064ms grafana | logger=query_data t=2024-04-27T18:14:30.20300709Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-04-27T18:14:30.206673978Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-04-27T18:14:30.2129223Z level=info msg=Starting grafana | logger=ngalert.migration t=2024-04-27T18:14:30.213357751Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false grafana | logger=ngalert.migration orgID=1 t=2024-04-27T18:14:30.213828764Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-04-27T18:14:30.214518727Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration t=2024-04-27T18:14:30.216499527Z level=info msg="Completed alerting migration" grafana | logger=ngalert.state.manager t=2024-04-27T18:14:30.247194813Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-04-27T18:14:30.249159263Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-04-27T18:14:30.251203682Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-04-27T18:14:30.266832262Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-04-27T18:14:30.266847762Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-04-27T18:14:30.267033472Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-04-27T18:14:30.267002762Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.state.manager t=2024-04-27T18:14:30.267465805Z level=info msg="State cache has been initialized" states=0 duration=461.943µs grafana | logger=ngalert.multiorg.alertmanager t=2024-04-27T18:14:30.267878776Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.scheduler t=2024-04-27T18:14:30.268872972Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-04-27T18:14:30.269131043Z level=info msg=starting first_tick=2024-04-27T18:14:40Z grafana | logger=http.server t=2024-04-27T18:14:30.271688316Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2024-04-27T18:14:30.355320288Z level=info msg="Update check succeeded" duration=88.250565ms grafana | logger=provisioning.dashboard t=2024-04-27T18:14:30.361218728Z level=info msg="starting to provision dashboards" grafana | logger=plugins.update.checker t=2024-04-27T18:14:30.366357634Z level=info msg="Update check succeeded" duration=98.878319ms grafana | logger=provisioning.dashboard t=2024-04-27T18:14:30.56759053Z level=info msg="finished to provision dashboards" grafana | logger=grafana-apiserver t=2024-04-27T18:14:30.726602062Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-04-27T18:14:30.727189265Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=infra.usagestats t=2024-04-27T18:15:45.280548307Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing grafana ... done Removing prometheus ... done Removing policy-db-migrator ... 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.u7XzJ6CjRf ]] + rsync -av /tmp/tmp.u7XzJ6CjRf/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,345,332 bytes received 95 bytes 2,690,854.00 bytes/sec total size is 1,344,682 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 2121 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/jenkins226225206825811636.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins771125674497583926.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/jenkins2789515990355883912.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-d1mb from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-d1mb/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins14699309830674102787.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config15143572981839376242tmp 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/jenkins7567743329685663082.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins9532181398836193816.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-d1mb from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-d1mb/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins14413339762576918006.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins4485932029512415497.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-d1mb 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-d1mb/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/jenkins13475957472117367230.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-d1mb from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-d1mb/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/168 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-35796 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.996 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 819 27344 0 4002 30891 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:b2:fc:ec brd ff:ff:ff:ff:ff:ff inet 10.30.107.166/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86062sec preferred_lft 86062sec inet6 fe80::f816:3eff:feb2:fcec/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:23:d9:8a:6e 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-35796) 04/27/24 _x86_64_ (8 CPU) 18:11:25 LINUX RESTART (8 CPU) 18:12:01 tps rtps wtps bread/s bwrtn/s 18:13:01 114.05 38.84 75.20 1762.51 16808.67 18:14:01 124.76 23.15 101.62 2772.20 21805.17 18:15:01 381.64 12.15 369.49 834.49 74464.76 18:16:01 8.22 0.00 8.22 0.00 9972.65 Average: 157.17 18.53 138.63 1342.30 30762.81 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30109148 31690796 2830072 8.59 70344 1821888 1449720 4.27 879228 1657584 149988 18:14:01 28598312 31677328 4340908 13.18 105168 3238788 1548976 4.56 975964 2976632 1243796 18:15:01 26929496 30600880 6009724 18.24 129136 3765420 4230708 12.45 2142784 3410664 0 18:16:01 26976748 30648636 5962472 18.10 129200 3765948 4157288 12.23 2094532 3410356 644 Average: 28153426 31154410 4785794 14.53 108462 3148011 2846673 8.38 1523127 2863809 348607 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 lo 1.73 1.73 0.20 0.20 0.00 0.00 0.00 0.00 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:01 ens3 123.30 83.19 983.41 18.96 0.00 0.00 0.00 0.00 18:14:01 lo 8.40 8.40 0.78 0.78 0.00 0.00 0.00 0.00 18:14:01 br-280f82b5b2c9 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 ens3 277.45 173.32 8249.35 17.09 0.00 0.00 0.00 0.00 18:15:01 vethffb3864 0.05 0.25 0.00 0.02 0.00 0.00 0.00 0.00 18:15:01 lo 8.10 8.10 8.44 8.44 0.00 0.00 0.00 0.00 18:15:01 veth70b25f3 124.70 105.35 40.62 113.91 0.00 0.00 0.00 0.01 18:15:01 veth084e713 0.50 0.68 0.05 0.31 0.00 0.00 0.00 0.00 18:16:01 vethffb3864 0.77 1.03 0.10 0.88 0.00 0.00 0.00 0.00 18:16:01 lo 8.07 8.07 0.56 0.56 0.00 0.00 0.00 0.00 18:16:01 veth70b25f3 1.08 1.20 0.82 0.08 0.00 0.00 0.00 0.00 18:16:01 veth084e713 0.23 0.18 0.02 0.01 0.00 0.00 0.00 0.00 Average: vethffb3864 0.20 0.32 0.03 0.22 0.00 0.00 0.00 0.00 Average: lo 6.57 6.57 2.49 2.49 0.00 0.00 0.00 0.00 Average: veth70b25f3 31.44 26.64 10.36 28.50 0.00 0.00 0.00 0.00 Average: veth084e713 0.18 0.22 0.02 0.08 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-35796) 04/27/24 _x86_64_ (8 CPU) 18:11:25 LINUX RESTART (8 CPU) 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 10.80 0.00 0.87 1.58 0.03 86.72 18:13:01 0 2.05 0.00 0.47 0.13 0.02 97.33 18:13:01 1 7.17 0.00 1.13 3.55 0.03 88.11 18:13:01 2 15.09 0.00 0.99 2.67 0.03 81.22 18:13:01 3 17.38 0.00 1.05 0.40 0.05 81.12 18:13:01 4 2.25 0.00 0.13 2.92 0.00 94.69 18:13:01 5 1.14 0.00 0.27 1.79 0.08 96.72 18:13:01 6 30.57 0.00 2.02 1.07 0.05 66.28 18:13:01 7 10.74 0.00 0.92 0.10 0.02 88.22 18:14:01 all 11.49 0.00 2.28 1.72 0.05 84.47 18:14:01 0 7.97 0.00 2.65 0.37 0.03 88.98 18:14:01 1 26.42 0.00 2.77 4.62 0.08 66.10 18:14:01 2 20.48 0.00 2.34 0.52 0.05 76.61 18:14:01 3 6.09 0.00 1.95 0.45 0.05 91.45 18:14:01 4 6.88 0.00 1.72 0.03 0.03 91.33 18:14:01 5 3.19 0.00 2.44 6.59 0.07 87.72 18:14:01 6 4.35 0.00 2.11 0.50 0.03 93.00 18:14:01 7 16.57 0.00 2.21 0.72 0.03 80.47 18:15:01 all 16.77 0.00 3.06 5.06 0.06 75.05 18:15:01 0 14.22 0.00 2.47 1.01 0.07 82.24 18:15:01 1 9.96 0.00 2.54 4.83 0.05 82.61 18:15:01 2 20.28 0.00 2.92 2.00 0.05 74.75 18:15:01 3 11.62 0.00 3.00 0.54 0.05 84.80 18:15:01 4 20.23 0.00 4.06 22.56 0.07 53.09 18:15:01 5 15.69 0.00 3.19 7.71 0.07 73.34 18:15:01 6 19.44 0.00 2.72 1.14 0.05 76.64 18:15:01 7 22.77 0.00 3.55 0.67 0.05 72.96 18:16:01 all 0.18 0.00 0.04 0.59 0.02 99.16 18:16:01 0 0.13 0.00 0.05 0.00 0.02 99.80 18:16:01 1 0.08 0.00 0.03 0.00 0.00 99.88 18:16:01 2 0.05 0.00 0.05 0.08 0.03 99.78 18:16:01 3 0.25 0.00 0.05 0.00 0.03 99.67 18:16:01 4 0.70 0.00 0.08 4.65 0.03 94.53 18:16:01 5 0.07 0.00 0.03 0.00 0.02 99.88 18:16:01 6 0.07 0.00 0.03 0.00 0.03 99.87 18:16:01 7 0.07 0.00 0.02 0.00 0.03 99.88 Average: all 9.79 0.00 1.56 2.23 0.04 86.37 Average: 0 6.08 0.00 1.41 0.38 0.03 92.11 Average: 1 10.87 0.00 1.61 3.24 0.04 84.23 Average: 2 13.96 0.00 1.57 1.32 0.04 83.11 Average: 3 8.83 0.00 1.51 0.35 0.05 89.26 Average: 4 7.49 0.00 1.49 7.52 0.03 83.47 Average: 5 5.01 0.00 1.48 4.01 0.06 89.44 Average: 6 13.61 0.00 1.72 0.68 0.04 83.95 Average: 7 12.51 0.00 1.67 0.37 0.03 85.41