Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-9736 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-project-csit-api [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-B9t8315Mv3YG/agent.2105 SSH_AGENT_PID=2107 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_710176330832176471.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_710176330832176471.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/policy/docker.git > git init /w/workspace/policy-api-master-project-csit-api # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision b9d434aeef048c4ea2cf9bd8a27681d375ec5b85 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f b9d434aeef048c4ea2cf9bd8a27681d375ec5b85 # timeout=30 Commit message: "Merge "Add kafka docker container for policy CSITs"" > git rev-list --no-walk b9d434aeef048c4ea2cf9bd8a27681d375ec5b85 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins5605097992248773362.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-36bk 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-36bk/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-36bk/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.13 botocore==1.34.13 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.26.1 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.1 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==5.0.0 MarkupSafe==2.1.3 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 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.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.16.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/sh /tmp/jenkins5601573059425265868.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.4" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/sh -xe /tmp/jenkins12725849888145254903.sh + /w/workspace/policy-api-master-project-csit-api/csit/run-project-csit.sh api + set +u + save_set + RUN_CSIT_SAVE_SET=ehxB + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace + '[' 1 -eq 0 ']' + '[' -z /w/workspace/policy-api-master-project-csit-api ']' + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-master-project-csit-api + rm -rf /w/workspace/policy-api-master-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-master-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.oG4si0jzBq ++ echo ROBOT_VENV=/tmp/tmp.oG4si0jzBq +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.oG4si0jzBq ++ source /tmp/tmp.oG4si0jzBq/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.oG4si0jzBq +++ export VIRTUAL_ENV +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.oG4si0jzBq/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.oG4si0jzBq) ' '!=' x ']' +++ PS1='(tmp.oG4si0jzBq) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.9.2 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 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.oG4si0jzBq/src/onap ++ rm -rf /tmp/tmp.oG4si0jzBq/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Installing python confluent-kafka library' Installing python confluent-kafka library ++ python3 -m pip install -qq confluent-kafka ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.9.2 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 confluent-kafka==2.3.0 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.0.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 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 ++ sed 's/./& /g' ++ echo ehuxB + 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.oG4si0jzBq/bin/activate + '[' -z /tmp/tmp.oG4si0jzBq/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.oG4si0jzBq/bin/activate ++ deactivate nondestructive ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ']' ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ export PATH ++ unset _OLD_VIRTUAL_PATH ++ '[' -n '' ']' ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/tmp/tmp.oG4si0jzBq ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.oG4si0jzBq/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.oG4si0jzBq) ' ++ '[' 'x(tmp.oG4si0jzBq) ' '!=' x ']' ++ PS1='(tmp.oG4si0jzBq) (tmp.oG4si0jzBq) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + export TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.jOceQJ8Gs5 + cd /tmp/tmp.jOceQJ8Gs5 + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-api/.gitreview +++ GERRIT_BRANCH=master +++ echo GERRIT_BRANCH=master GERRIT_BRANCH=master +++ rm -rf /w/workspace/policy-api-master-project-csit-api/models +++ mkdir /w/workspace/policy-api-master-project-csit-api/models +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-api/models Cloning into '/w/workspace/policy-api-master-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-master-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-master-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.1.1-SNAPSHOT)... 3.1.1-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:bd33796bedd5ad2337f9468b0cd9d04db279a1f831716e1c03cebe5a20ced20b Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.1-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.1-SNAPSHOT)... 3.1.1-SNAPSHOT: Pulling from onap/policy-api Digest: sha256:a8dc93f87c5d7a6c42d5723051aaf6bc8b09be896b81c9425709d5acbf3a622e Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.1-SNAPSHOT Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:a67e5e402ff5410b86ec48b39eab1a3c4df2a7e78a71bf025ec5e32e09090ad4 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:6b5b37eb35bbf30e7f64bd7f0fd41c0a5b7637f65d3bf93223b04a192b8bf3e2 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-master-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds grafana Up 12 seconds policy-db-migrator Up 11 seconds prometheus Up 12 seconds mariadb Up 13 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 17 seconds prometheus Up 18 seconds mariadb Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 22 seconds prometheus Up 23 seconds mariadb Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 27 seconds prometheus Up 28 seconds mariadb Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + tee /w/workspace/policy-api-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:23:02 up 3 min, 0 users, load average: 2.00, 0.88, 0.35 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.5 us, 2.2 sy, 0.0 ni, 83.7 id, 3.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.4G 25G 1.0M 4.2G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 27 seconds prometheus Up 28 seconds mariadb Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 842526e8c57a policy-api 0.10% 489.1MiB / 31.41GiB 1.52% 998kB / 710kB 0B / 0B 55 08b475f8301b grafana 0.02% 50.59MiB / 31.41GiB 0.16% 18.3kB / 3.03kB 0B / 23.9MB 16 dee731d9baac prometheus 0.12% 19.07MiB / 31.41GiB 0.06% 1.18kB / 158B 225kB / 0B 12 2f6dad2bff00 mariadb 0.02% 100.7MiB / 31.41GiB 0.31% 986kB / 1.18MB 11MB / 65.1MB 31 + echo + cd /tmp/tmp.jOceQJ8Gs5 + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 22 tests, 22 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 9 tests, 9 passed, 0 failed ============================================================================== api | PASS | 31 tests, 31 passed, 0 failed ============================================================================== Output: /tmp/tmp.jOceQJ8Gs5/output.xml Log: /tmp/tmp.jOceQJ8Gs5/log.html Report: /tmp/tmp.jOceQJ8Gs5/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:24:14 up 5 min, 0 users, load average: 0.62, 0.71, 0.33 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.0 us, 1.8 sy, 0.0 ni, 86.2 id, 3.0 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 4.2G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 842526e8c57a policy-api 0.10% 1020MiB / 31.41GiB 3.17% 7.01MB / 2.55MB 0B / 0B 55 08b475f8301b grafana 0.03% 51.14MiB / 31.41GiB 0.16% 19.5kB / 4.27kB 0B / 23.9MB 16 dee731d9baac prometheus 0.23% 25.3MiB / 31.41GiB 0.08% 55.2kB / 6.57kB 225kB / 0B 13 2f6dad2bff00 mariadb 0.02% 101.7MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 65.5MB 18 + echo + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose ++ cd /w/workspace/policy-api-master-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, grafana, policy-db-migrator, prometheus, mariadb mariadb | 2024-01-05 11:22:33+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-05 11:22:33+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-01-05 11:22:33+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-05 11:22:33+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-01-05 11:22:33 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-05 11:22:33 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-05 11:22:33 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-01-05 11:22:35+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-01-05 11:22:35+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-01-05 11:22:35+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-01-05 11:22:35 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 98 ... mariadb | 2024-01-05 11:22:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-05 11:22:35 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-05 11:22:35 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-05 11:22:35 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-05 11:22:35 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-05 11:22:35 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-05 11:22:35 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-05 11:22:35 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-05 11:22:35 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-05 11:22:35 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-05 11:22:35 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-05 11:22:35 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-05 11:22:35 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-01-05 11:22:35 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-05 11:22:35 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-05 11:22:35 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-05 11:22:35 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-05 11:22:35 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-01-05 11:22:36+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-01-05 11:22:37+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-01-05 11:22:37+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 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 | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | mariadb | mariadb | mariadb | 2024-01-05 11:22:37+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2024-01-05 11:22:37+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | grafana | logger=settings t=2024-01-05T11:22:35.469338323Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z grafana | logger=settings t=2024-01-05T11:22:35.469652167Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-01-05T11:22:35.469668637Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-01-05T11:22:35.469673917Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-01-05T11:22:35.469677277Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-01-05T11:22:35.469680297Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-05T11:22:35.469683257Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-05T11:22:35.469686467Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-01-05T11:22:35.469689637Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-01-05T11:22:35.469693067Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-01-05T11:22:35.469695957Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-05T11:22:35.469724148Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-05T11:22:35.469731538Z level=info msg=Target target=[all] grafana | logger=settings t=2024-01-05T11:22:35.469885179Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-01-05T11:22:35.469893549Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-01-05T11:22:35.469897789Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-01-05T11:22:35.469902339Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-01-05T11:22:35.46993318Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-01-05T11:22:35.46993949Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-01-05T11:22:35.470358194Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-01-05T11:22:35.470380014Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-01-05T11:22:35.470970961Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-01-05T11:22:35.471934931Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-01-05T11:22:35.47274788Z level=info msg="Migration successfully executed" id="create migration_log table" duration=811.969µs grafana | logger=migrator t=2024-01-05T11:22:35.477764173Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-01-05T11:22:35.478521961Z level=info msg="Migration successfully executed" id="create user table" duration=757.108µs grafana | logger=migrator t=2024-01-05T11:22:35.481895207Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-01-05T11:22:35.482797706Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=898.489µs grafana | logger=migrator t=2024-01-05T11:22:35.486081521Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-01-05T11:22:35.486841529Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=759.898µs grafana | logger=migrator t=2024-01-05T11:22:35.491870042Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-01-05T11:22:35.49262614Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=755.978µs grafana | logger=migrator t=2024-01-05T11:22:35.495848424Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-01-05T11:22:35.497059557Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.211443ms grafana | logger=migrator t=2024-01-05T11:22:35.500489353Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-01-05T11:22:35.504798709Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.310186ms grafana | logger=migrator t=2024-01-05T11:22:35.50961359Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-01-05T11:22:35.510478399Z level=info msg="Migration successfully executed" id="create user table v2" duration=863.759µs grafana | logger=migrator t=2024-01-05T11:22:35.512775174Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-01-05T11:22:35.513651213Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=876.079µs grafana | logger=migrator t=2024-01-05T11:22:35.516442433Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-01-05T11:22:35.517251651Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=809.348µs grafana | logger=migrator t=2024-01-05T11:22:35.522594148Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-01-05T11:22:35.523060303Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=466.035µs grafana | logger=migrator t=2024-01-05T11:22:35.525810612Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-01-05T11:22:35.526393538Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=582.396µs grafana | logger=migrator t=2024-01-05T11:22:35.52842134Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-01-05T11:22:35.529535622Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.113532ms grafana | logger=migrator t=2024-01-05T11:22:35.532485613Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-01-05T11:22:35.532511943Z level=info msg="Migration successfully executed" id="Update user table charset" duration=27.58µs grafana | logger=migrator t=2024-01-05T11:22:35.537288614Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-01-05T11:22:35.538480146Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.189472ms grafana | logger=migrator t=2024-01-05T11:22:35.54167082Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-01-05T11:22:35.542126045Z level=info msg="Migration successfully executed" id="Add missing user data" duration=454.685µs grafana | logger=migrator t=2024-01-05T11:22:35.545558181Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-01-05T11:22:35.547561442Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=2.002311ms 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-01-05 11:22:38+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-01-05 11:22:38 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-01-05 11:22:38 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-01-05 11:22:38 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-01-05 11:22:38 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-05 11:22:38 0 [Note] InnoDB: Buffer pool(s) dump completed at 240105 11:22:38 mariadb | 2024-01-05 11:22:39 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-01-05 11:22:39 0 [Note] InnoDB: Shutdown completed; log sequence number 348847; transaction id 298 mariadb | 2024-01-05 11:22:39 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-01-05 11:22:39+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-01-05 11:22:39+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-01-05 11:22:39 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-01-05 11:22:39 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-05 11:22:39 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-05 11:22:39 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-05 11:22:39 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-05 11:22:39 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-05 11:22:39 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-05 11:22:39 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-05 11:22:39 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-05 11:22:39 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-05 11:22:39 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-05 11:22:39 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-05 11:22:39 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-05 11:22:39 0 [Note] InnoDB: log sequence number 348847; transaction id 299 mariadb | 2024-01-05 11:22:39 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-05 11:22:39 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-05 11:22:39 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-05 11:22:39 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-01-05 11:22:39 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-01-05 11:22:39 0 [Note] Server socket created on IP: '::'. mariadb | 2024-01-05 11:22:39 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-01-05 11:22:39 0 [Note] InnoDB: Buffer pool(s) load completed at 240105 11:22:39 mariadb | 2024-01-05 11:22:40 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2024-01-05 11:22:40 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) prometheus | ts=2024-01-05T11:22:34.451Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-01-05T11:22:34.451Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" prometheus | ts=2024-01-05T11:22:34.451Z caller=main.go:588 level=info build_context="(go=go1.21.5, platform=linux/amd64, user=root@71f108ff5632, date=20231208-23:33:22, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-01-05T11:22:34.451Z caller=main.go:589 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-01-05T11:22:34.451Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-01-05T11:22:34.451Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-01-05T11:22:34.453Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-01-05T11:22:34.454Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2024-01-05T11:22:34.458Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-01-05T11:22:34.458Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-01-05T11:22:34.463Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-01-05T11:22:34.463Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.92µs prometheus | ts=2024-01-05T11:22:34.463Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-01-05T11:22:34.463Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-01-05T11:22:34.463Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=171.531µs wal_replay_duration=587.057µs wbl_replay_duration=290ns total_replay_duration=801.399µs prometheus | ts=2024-01-05T11:22:34.467Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-01-05T11:22:34.467Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2024-01-05T11:22:34.467Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-01-05T11:22:34.502Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=34.564085ms db_storage=1.47µs remote_storage=1.66µs web_handler=810ns query_engine=950ns scrape=33.601415ms scrape_sd=181.512µs notify=105.241µs notify_sd=35.2µs rules=2.16µs tracing=8.101µs prometheus | ts=2024-01-05T11:22:34.502Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-01-05T11:22:34.502Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." 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-01-05T11:22:48.608+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-01-05T11:22:48.610+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-01-05T11:22:50.245+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-01-05T11:22:50.331+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 77 ms. Found 6 JPA repository interfaces. policy-api | [2024-01-05T11:22:50.722+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-01-05T11:22:50.722+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-01-05T11:22:51.332+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-01-05T11:22:51.341+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-05T11:22:51.343+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-01-05T11:22:51.343+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.16] policy-api | [2024-01-05T11:22:51.427+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-01-05T11:22:51.428+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2759 ms policy-api | [2024-01-05T11:22:51.861+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-01-05T11:22:51.946+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-01-05T11:22:51.949+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-01-05T11:22:51.994+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-01-05T11:22:52.360+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-01-05T11:22:52.380+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-01-05T11:22:52.472+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 policy-api | [2024-01-05T11:22:52.474+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-01-05T11:22:52.502+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-01-05T11:22:52.503+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-01-05T11:22:54.245+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) grafana | logger=migrator t=2024-01-05T11:22:35.550577504Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-01-05T11:22:35.551380313Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=799.909µs grafana | logger=migrator t=2024-01-05T11:22:35.555952241Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-01-05T11:22:35.557654689Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.700348ms grafana | logger=migrator t=2024-01-05T11:22:35.560957185Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-01-05T11:22:35.573466807Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=12.510793ms grafana | logger=migrator t=2024-01-05T11:22:35.576506709Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-01-05T11:22:35.577255127Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=749.418µs grafana | logger=migrator t=2024-01-05T11:22:35.581973797Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-01-05T11:22:35.582739636Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=765.829µs grafana | logger=migrator t=2024-01-05T11:22:35.58596201Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-01-05T11:22:35.587434095Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.474625ms grafana | logger=migrator t=2024-01-05T11:22:35.59068928Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-01-05T11:22:35.592022954Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.333464ms grafana | logger=migrator t=2024-01-05T11:22:35.597674714Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-01-05T11:22:35.598973607Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.297113ms grafana | logger=migrator t=2024-01-05T11:22:35.602479455Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-01-05T11:22:35.602518815Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=41.14µs grafana | logger=migrator t=2024-01-05T11:22:35.605900321Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-01-05T11:22:35.606606538Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=706.197µs grafana | logger=migrator t=2024-01-05T11:22:35.609525669Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-01-05T11:22:35.610232707Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=707.108µs grafana | logger=migrator t=2024-01-05T11:22:35.614846146Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-01-05T11:22:35.615972348Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.126502ms grafana | logger=migrator t=2024-01-05T11:22:35.619319113Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-01-05T11:22:35.620437825Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.119112ms grafana | logger=migrator t=2024-01-05T11:22:35.625490159Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-05T11:22:35.629181608Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.690279ms grafana | logger=migrator t=2024-01-05T11:22:35.632078039Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-01-05T11:22:35.632918448Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=839.658µs grafana | logger=migrator t=2024-01-05T11:22:35.635832668Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-01-05T11:22:35.636631037Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=797.999µs grafana | logger=migrator t=2024-01-05T11:22:35.639529037Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-01-05T11:22:35.640328856Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=800.169µs grafana | logger=migrator t=2024-01-05T11:22:35.644968325Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-01-05T11:22:35.645748483Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=780.118µs grafana | logger=migrator t=2024-01-05T11:22:35.648630764Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-01-05T11:22:35.649409842Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=778.688µs grafana | logger=migrator t=2024-01-05T11:22:35.652408214Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-01-05T11:22:35.652860399Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=451.845µs grafana | logger=migrator t=2024-01-05T11:22:35.656876341Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-01-05T11:22:35.657771941Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=895.29µs grafana | logger=migrator t=2024-01-05T11:22:35.661642142Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-01-05T11:22:35.662319099Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=676.107µs policy-api | [2024-01-05T11:22:54.249+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-01-05T11:22:55.588+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-01-05T11:22:56.331+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-01-05T11:22:57.444+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-01-05T11:22:57.631+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@63f95ac1, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@14a7e16e, org.springframework.security.web.context.SecurityContextHolderFilter@6e04275e, org.springframework.security.web.header.HeaderWriterFilter@2986e26f, org.springframework.security.web.authentication.logout.LogoutFilter@c9f1951, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@13e6b26c, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@453ef145, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3edd135d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@59171a5d, org.springframework.security.web.access.ExceptionTranslationFilter@19a7e618, org.springframework.security.web.access.intercept.AuthorizationFilter@d181ca3] policy-api | [2024-01-05T11:22:58.504+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-01-05T11:22:58.562+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-05T11:22:58.585+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-01-05T11:22:58.602+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.704 seconds (process running for 11.299) policy-api | [2024-01-05T11:23:05.734+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-01-05T11:23:05.734+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-01-05T11:23:05.736+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2024-01-05T11:23:08.840+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-01-05T11:23:09.013+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-01-05T11:23:09.303+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-01-05T11:23:10.554+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-api | [2024-01-05T11:23:12.632+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-01-05T11:23:12.987+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-01-05T11:23:13.211+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-01-05T11:23:13.443+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-01-05T11:23:13.672+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-01-05T11:23:13.895+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-01-05T11:22:35.665904367Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-01-05T11:22:35.666548844Z level=info msg="Migration successfully executed" id="create star table" duration=644.867µs grafana | logger=migrator t=2024-01-05T11:22:35.670528536Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-01-05T11:22:35.671360995Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=831.489µs grafana | logger=migrator t=2024-01-05T11:22:35.67467091Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-01-05T11:22:35.675828012Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.156622ms grafana | logger=migrator t=2024-01-05T11:22:35.681436292Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-01-05T11:22:35.682676355Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.239923ms 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 | grafana | logger=migrator t=2024-01-05T11:22:35.686243893Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-01-05T11:22:35.687338104Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.092961ms grafana | logger=migrator t=2024-01-05T11:22:35.691832122Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-01-05T11:22:35.69265503Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=822.688µs grafana | logger=migrator t=2024-01-05T11:22:35.696105377Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-01-05T11:22:35.696945056Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=836.239µs grafana | logger=migrator t=2024-01-05T11:22:35.699994128Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-01-05T11:22:35.700841187Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=846.749µs grafana | logger=migrator t=2024-01-05T11:22:35.704388595Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-01-05T11:22:35.704413635Z level=info msg="Migration successfully executed" id="Update org table charset" duration=26.17µs grafana | logger=migrator t=2024-01-05T11:22:35.709032504Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-01-05T11:22:35.709135685Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=47.431µs grafana | logger=migrator t=2024-01-05T11:22:35.712638702Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-01-05T11:22:35.713015116Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=374.644µs grafana | logger=migrator t=2024-01-05T11:22:35.716774516Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-01-05T11:22:35.717886008Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.110692ms grafana | logger=migrator t=2024-01-05T11:22:35.721201303Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-01-05T11:22:35.722514527Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.309094ms grafana | logger=migrator t=2024-01-05T11:22:35.726818713Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-01-05T11:22:35.727686932Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=865.689µs grafana | logger=migrator t=2024-01-05T11:22:35.73125187Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-01-05T11:22:35.731976768Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=724.767µs grafana | logger=migrator t=2024-01-05T11:22:35.735325373Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-01-05T11:22:35.736185872Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=844.939µs grafana | logger=migrator t=2024-01-05T11:22:35.73977622Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-01-05T11:22:35.740573108Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=796.998µs grafana | logger=migrator t=2024-01-05T11:22:35.744690882Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-01-05T11:22:35.75113746Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.446618ms grafana | logger=migrator t=2024-01-05T11:22:35.754617587Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-01-05T11:22:35.755349505Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=729.708µs grafana | logger=migrator t=2024-01-05T11:22:35.75955617Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-01-05T11:22:35.760430419Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=874.249µs grafana | logger=migrator t=2024-01-05T11:22:35.764101888Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-01-05T11:22:35.765482533Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.380564ms grafana | logger=migrator t=2024-01-05T11:22:35.769086491Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-01-05T11:22:35.769482765Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=396.114µs grafana | logger=migrator t=2024-01-05T11:22:35.77279568Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-01-05T11:22:35.773657459Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=861.639µs grafana | logger=migrator t=2024-01-05T11:22:35.777833174Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-01-05T11:22:35.777946225Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=112.791µs grafana | logger=migrator t=2024-01-05T11:22:35.780473002Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-01-05T11:22:35.78223964Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.765998ms grafana | logger=migrator t=2024-01-05T11:22:35.785320083Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-01-05T11:22:35.787067442Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.747148ms grafana | logger=migrator t=2024-01-05T11:22:35.791132104Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-01-05T11:22:35.792942743Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.810619ms grafana | logger=migrator t=2024-01-05T11:22:35.796143287Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-01-05T11:22:35.796976006Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=833.169µs grafana | logger=migrator t=2024-01-05T11:22:35.80015007Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-01-05T11:22:35.801969769Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.819149ms grafana | logger=migrator t=2024-01-05T11:22:35.805890421Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-01-05T11:22:35.80676082Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=869.979µs policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-05T11:22:35.809532619Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-01-05T11:22:35.810381998Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=849.299µs grafana | logger=migrator t=2024-01-05T11:22:35.814525652Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-01-05T11:22:35.814552773Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=28.261µs grafana | logger=migrator t=2024-01-05T11:22:35.817806607Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-01-05T11:22:35.817831277Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=25.58µs grafana | logger=migrator t=2024-01-05T11:22:35.820393795Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-01-05T11:22:35.823325466Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.929461ms grafana | logger=migrator t=2024-01-05T11:22:35.828990206Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-01-05T11:22:35.830897056Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.91109ms grafana | logger=migrator t=2024-01-05T11:22:35.834931309Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-01-05T11:22:35.836882719Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.9507ms grafana | logger=migrator t=2024-01-05T11:22:35.840095753Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-01-05T11:22:35.842016154Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.919971ms grafana | logger=migrator t=2024-01-05T11:22:35.84544916Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-01-05T11:22:35.845782834Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=331.963µs grafana | logger=migrator t=2024-01-05T11:22:35.85018692Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-01-05T11:22:35.851537145Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.349625ms grafana | logger=migrator t=2024-01-05T11:22:35.855253374Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-01-05T11:22:35.856600068Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.348004ms grafana | logger=migrator t=2024-01-05T11:22:35.860034105Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-01-05T11:22:35.860066725Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=31.59µs grafana | logger=migrator t=2024-01-05T11:22:35.863311959Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-01-05T11:22:35.864115088Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=803.089µs grafana | logger=migrator t=2024-01-05T11:22:35.867981919Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-01-05T11:22:35.869092221Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.109682ms grafana | logger=migrator t=2024-01-05T11:22:35.872438776Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-05T11:22:35.881814856Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=9.37643ms grafana | logger=migrator t=2024-01-05T11:22:35.916906978Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-01-05T11:22:35.91806523Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=1.157912ms grafana | logger=migrator t=2024-01-05T11:22:35.922403566Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-01-05T11:22:35.923655859Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.252363ms grafana | logger=migrator t=2024-01-05T11:22:35.927194007Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-01-05T11:22:35.928034236Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=840.199µs grafana | logger=migrator t=2024-01-05T11:22:35.931468212Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-01-05T11:22:35.931835226Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=375.794µs grafana | logger=migrator t=2024-01-05T11:22:35.935892819Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-01-05T11:22:35.936536336Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=643.037µs grafana | logger=migrator t=2024-01-05T11:22:35.939744109Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-01-05T11:22:35.941850032Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.105433ms grafana | logger=migrator t=2024-01-05T11:22:35.945046556Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-01-05T11:22:35.946025436Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=978.61µs grafana | logger=migrator t=2024-01-05T11:22:35.950268341Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-01-05T11:22:35.950523124Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=254.513µs grafana | logger=migrator t=2024-01-05T11:22:35.954064061Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-01-05T11:22:35.954461216Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=394.035µs grafana | logger=migrator t=2024-01-05T11:22:35.958245136Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-01-05T11:22:35.959718241Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.470005ms grafana | logger=migrator t=2024-01-05T11:22:35.964033667Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-01-05T11:22:35.96620383Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.169603ms grafana | logger=migrator t=2024-01-05T11:22:35.970663367Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-01-05T11:22:35.971561097Z level=info msg="Migration successfully executed" id="create data_source table" duration=897.84µs policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 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) grafana | logger=migrator t=2024-01-05T11:22:35.975232366Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-01-05T11:22:35.976105125Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=872.429µs grafana | logger=migrator t=2024-01-05T11:22:35.9803171Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-01-05T11:22:35.98123551Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=918.35µs grafana | logger=migrator t=2024-01-05T11:22:35.984595075Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-01-05T11:22:35.985426934Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=832.289µs grafana | logger=migrator t=2024-01-05T11:22:35.988987471Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-01-05T11:22:35.989888481Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=900.82µs grafana | logger=migrator t=2024-01-05T11:22:35.994264187Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-01-05T11:22:36.00676507Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=12.498983ms grafana | logger=migrator t=2024-01-05T11:22:36.010226305Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-01-05T11:22:36.010850773Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=624.368µs grafana | logger=migrator t=2024-01-05T11:22:36.014023293Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-01-05T11:22:36.014745782Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=722.139µs grafana | logger=migrator t=2024-01-05T11:22:36.018799773Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-01-05T11:22:36.019739045Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=939.241µs grafana | logger=migrator t=2024-01-05T11:22:36.023013815Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-01-05T11:22:36.023642163Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=628.308µs grafana | logger=migrator t=2024-01-05T11:22:36.026806753Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-01-05T11:22:36.029169503Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.36232ms grafana | logger=migrator t=2024-01-05T11:22:36.033319644Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-01-05T11:22:36.035707854Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.38737ms grafana | logger=migrator t=2024-01-05T11:22:36.038871734Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-01-05T11:22:36.038902504Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=31.93µs grafana | logger=migrator t=2024-01-05T11:22:36.042197416Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-01-05T11:22:36.042461029Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=258.393µs grafana | logger=migrator t=2024-01-05T11:22:36.046281847Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-01-05T11:22:36.048694717Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.41274ms grafana | logger=migrator t=2024-01-05T11:22:36.051797926Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-01-05T11:22:36.052053219Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=255.343µs grafana | logger=migrator t=2024-01-05T11:22:36.05530173Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-01-05T11:22:36.055540583Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=238.723µs grafana | logger=migrator t=2024-01-05T11:22:36.058804433Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-01-05T11:22:36.06252826Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.723287ms grafana | logger=migrator t=2024-01-05T11:22:36.066712582Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-01-05T11:22:36.066958996Z level=info msg="Migration successfully executed" id="Update uid value" duration=246.264µs grafana | logger=migrator t=2024-01-05T11:22:36.070396259Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-01-05T11:22:36.07132252Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=926.111µs grafana | logger=migrator t=2024-01-05T11:22:36.074262087Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-01-05T11:22:36.075193609Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=926.422µs grafana | logger=migrator t=2024-01-05T11:22:36.079084297Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-01-05T11:22:36.079833667Z level=info msg="Migration successfully executed" id="create api_key table" duration=749.05µs grafana | logger=migrator t=2024-01-05T11:22:36.082915665Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-01-05T11:22:36.083785786Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=870.081µs grafana | logger=migrator t=2024-01-05T11:22:36.087162788Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-01-05T11:22:36.08806644Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=908.582µs grafana | logger=migrator t=2024-01-05T11:22:36.091886668Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-01-05T11:22:36.09285066Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=963.772µs grafana | logger=migrator t=2024-01-05T11:22:36.098067095Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-01-05T11:22:36.098984866Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=917.821µs grafana | logger=migrator t=2024-01-05T11:22:36.102066825Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-01-05T11:22:36.102917016Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=850.631µs grafana | logger=migrator t=2024-01-05T11:22:36.106943526Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:36.107790317Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=847.431µs grafana | logger=migrator t=2024-01-05T11:22:36.110880035Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-01-05T11:22:36.119642175Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.757ms grafana | logger=migrator t=2024-01-05T11:22:36.123527094Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-01-05T11:22:36.124283113Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=758.379µs grafana | logger=migrator t=2024-01-05T11:22:36.127509423Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-01-05T11:22:36.128518946Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.008963ms grafana | logger=migrator t=2024-01-05T11:22:36.131793277Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-01-05T11:22:36.132669408Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=877.701µs grafana | logger=migrator t=2024-01-05T11:22:36.13685137Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-01-05T11:22:36.137892483Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.040953ms grafana | logger=migrator t=2024-01-05T11:22:36.140877471Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-01-05T11:22:36.141314276Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=436.565µs grafana | logger=migrator t=2024-01-05T11:22:36.144398085Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-01-05T11:22:36.145085963Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=687.598µs grafana | logger=migrator t=2024-01-05T11:22:36.149008613Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-01-05T11:22:36.149037843Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=26.14µs grafana | logger=migrator t=2024-01-05T11:22:36.152435505Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-01-05T11:22:36.154925567Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.489932ms grafana | logger=migrator t=2024-01-05T11:22:36.158166647Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-01-05T11:22:36.160658878Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.491421ms grafana | logger=migrator t=2024-01-05T11:22:36.163751277Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-01-05T11:22:36.16398343Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=231.913µs grafana | logger=migrator t=2024-01-05T11:22:36.167915669Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-01-05T11:22:36.170429041Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.513282ms grafana | logger=migrator t=2024-01-05T11:22:36.1736017Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-01-05T11:22:36.176051871Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.449801ms grafana | logger=migrator t=2024-01-05T11:22:36.180531737Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-01-05T11:22:36.181253466Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=721.399µs grafana | logger=migrator t=2024-01-05T11:22:36.185308617Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-01-05T11:22:36.186062366Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=747.529µs grafana | logger=migrator t=2024-01-05T11:22:36.189358558Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-01-05T11:22:36.190153508Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=794.97µs grafana | logger=migrator t=2024-01-05T11:22:36.194637554Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-01-05T11:22:36.195720277Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.082763ms grafana | logger=migrator t=2024-01-05T11:22:36.202613474Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-01-05T11:22:36.203637846Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.027323ms grafana | logger=migrator t=2024-01-05T11:22:36.208543228Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-01-05T11:22:36.210127438Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.58487ms grafana | logger=migrator t=2024-01-05T11:22:36.21348625Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-01-05T11:22:36.213664802Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=182.142µs grafana | logger=migrator t=2024-01-05T11:22:36.2182906Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-01-05T11:22:36.21833232Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=43.78µs grafana | logger=migrator t=2024-01-05T11:22:36.221671302Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-01-05T11:22:36.22632195Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.660588ms grafana | logger=migrator t=2024-01-05T11:22:36.232075432Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-01-05T11:22:36.234945138Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.869186ms grafana | logger=migrator t=2024-01-05T11:22:36.238854567Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-01-05T11:22:36.238916648Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=62.551µs grafana | logger=migrator t=2024-01-05T11:22:36.24230711Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-01-05T11:22:36.243358604Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.051353ms grafana | logger=migrator t=2024-01-05T11:22:36.252425767Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 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 grafana | logger=migrator t=2024-01-05T11:22:36.253779464Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.353427ms grafana | logger=migrator t=2024-01-05T11:22:36.258019847Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-01-05T11:22:36.258054767Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=36.46µs grafana | logger=migrator t=2024-01-05T11:22:36.260776072Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-01-05T11:22:36.261781774Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.001813ms grafana | logger=migrator t=2024-01-05T11:22:36.266955119Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-01-05T11:22:36.267730849Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=775.75µs grafana | logger=migrator t=2024-01-05T11:22:36.270653375Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-01-05T11:22:36.27343216Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.778315ms grafana | logger=migrator t=2024-01-05T11:22:36.276270705Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-01-05T11:22:36.276292306Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=22.341µs grafana | logger=migrator t=2024-01-05T11:22:36.278807477Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-01-05T11:22:36.279526056Z level=info msg="Migration successfully executed" id="create session table" duration=715.569µs grafana | logger=migrator t=2024-01-05T11:22:36.28461208Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-01-05T11:22:36.284782832Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=170.732µs grafana | logger=migrator t=2024-01-05T11:22:36.287845151Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-01-05T11:22:36.288024873Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=177.862µs grafana | logger=migrator t=2024-01-05T11:22:36.291543277Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-01-05T11:22:36.292197635Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=653.778µs grafana | logger=migrator t=2024-01-05T11:22:36.296879094Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-01-05T11:22:36.297499242Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=620.088µs grafana | logger=migrator t=2024-01-05T11:22:36.300139435Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-01-05T11:22:36.300216246Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=76.781µs grafana | logger=migrator t=2024-01-05T11:22:36.303477907Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-01-05T11:22:36.303537788Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=60.051µs grafana | logger=migrator t=2024-01-05T11:22:36.307082952Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-01-05T11:22:36.310011259Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=2.930057ms grafana | logger=migrator t=2024-01-05T11:22:36.31407425Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-01-05T11:22:36.317963768Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.888938ms grafana | logger=migrator t=2024-01-05T11:22:36.32284615Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-01-05T11:22:36.323560039Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=707.089µs grafana | logger=migrator t=2024-01-05T11:22:36.361436073Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-01-05T11:22:36.361600765Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=167.832µs grafana | logger=migrator t=2024-01-05T11:22:36.364927207Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-01-05T11:22:36.366189073Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.269136ms grafana | logger=migrator t=2024-01-05T11:22:36.371760563Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-01-05T11:22:36.371799803Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=40.87µs grafana | logger=migrator t=2024-01-05T11:22:36.380421271Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-01-05T11:22:36.386632939Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=6.211318ms grafana | logger=migrator t=2024-01-05T11:22:36.389420954Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-01-05T11:22:36.389596686Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=171.632µs grafana | logger=migrator t=2024-01-05T11:22:36.391632692Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-01-05T11:22:36.395004134Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.371542ms grafana | logger=migrator t=2024-01-05T11:22:36.400287521Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-01-05T11:22:36.403571442Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.283411ms grafana | logger=migrator t=2024-01-05T11:22:36.406557139Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-01-05T11:22:36.406732461Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=175.422µs grafana | logger=migrator t=2024-01-05T11:22:36.443409131Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-01-05T11:22:36.445287255Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.878004ms grafana | logger=migrator t=2024-01-05T11:22:36.452268493Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-01-05T11:22:36.453263755Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=995.152µs grafana | logger=migrator t=2024-01-05T11:22:36.457498848Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-01-05T11:22:36.459109628Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.6101ms grafana | logger=migrator t=2024-01-05T11:22:36.462672483Z level=info msg="Executing migration" id="add index alert org_id & id " 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-01-05T11:22:36.464399935Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.726532ms grafana | logger=migrator t=2024-01-05T11:22:36.46956773Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-01-05T11:22:36.470638013Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.070233ms grafana | logger=migrator t=2024-01-05T11:22:36.47361165Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-01-05T11:22:36.474515802Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=905.572µs grafana | logger=migrator t=2024-01-05T11:22:36.477477039Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-01-05T11:22:36.478111717Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=634.758µs grafana | logger=migrator t=2024-01-05T11:22:36.514895328Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-01-05T11:22:36.516440038Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.54472ms grafana | logger=migrator t=2024-01-05T11:22:36.520741832Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-01-05T11:22:36.529606423Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=8.858631ms grafana | logger=migrator t=2024-01-05T11:22:36.533362Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-01-05T11:22:36.549048367Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=15.685677ms grafana | logger=migrator t=2024-01-05T11:22:36.55411152Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-01-05T11:22:36.554574946Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=463.846µs grafana | logger=migrator t=2024-01-05T11:22:36.559258505Z 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-01-05T11:22:36.560303028Z 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.042963ms grafana | logger=migrator t=2024-01-05T11:22:36.563413737Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-01-05T11:22:36.563837452Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=423.665µs grafana | logger=migrator t=2024-01-05T11:22:36.568923246Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-01-05T11:22:36.569441703Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=518.827µs grafana | logger=migrator t=2024-01-05T11:22:36.572714054Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-01-05T11:22:36.573852498Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.139234ms grafana | logger=migrator t=2024-01-05T11:22:36.578358505Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-01-05T11:22:36.583922604Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.565269ms grafana | logger=migrator t=2024-01-05T11:22:36.589053059Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-01-05T11:22:36.592483802Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.425563ms grafana | logger=migrator t=2024-01-05T11:22:36.59552863Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-01-05T11:22:36.599006544Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.477474ms grafana | logger=migrator t=2024-01-05T11:22:36.601811999Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-01-05T11:22:36.605261512Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.448733ms grafana | logger=migrator t=2024-01-05T11:22:36.611885475Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-01-05T11:22:36.613369214Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.484649ms grafana | logger=migrator t=2024-01-05T11:22:36.616420472Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-01-05T11:22:36.616448212Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=28.81µs grafana | logger=migrator t=2024-01-05T11:22:36.619202337Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-01-05T11:22:36.619226797Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=25.56µs grafana | logger=migrator t=2024-01-05T11:22:36.622009972Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-01-05T11:22:36.622715851Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=705.339µs grafana | logger=migrator t=2024-01-05T11:22:36.627733054Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-05T11:22:36.629083731Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.350007ms grafana | logger=migrator t=2024-01-05T11:22:36.635095186Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-01-05T11:22:36.635969937Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=878.201µs grafana | logger=migrator t=2024-01-05T11:22:36.640297842Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-01-05T11:22:36.641246424Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=942.422µs grafana | logger=migrator t=2024-01-05T11:22:36.645400676Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-05T11:22:36.646455989Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.054833ms grafana | logger=migrator t=2024-01-05T11:22:36.649367175Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-01-05T11:22:36.653294745Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.92706ms grafana | logger=migrator t=2024-01-05T11:22:36.657187684Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-01-05T11:22:36.660955851Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.767507ms 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 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 | -------------- grafana | logger=migrator t=2024-01-05T11:22:36.663916118Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-01-05T11:22:36.664120301Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=204.583µs grafana | logger=migrator t=2024-01-05T11:22:36.667025177Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-01-05T11:22:36.668010279Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=984.362µs grafana | logger=migrator t=2024-01-05T11:22:36.673985545Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-01-05T11:22:36.674943697Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=958.422µs grafana | logger=migrator t=2024-01-05T11:22:36.677714851Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-01-05T11:22:36.681748932Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.033151ms grafana | logger=migrator t=2024-01-05T11:22:36.685516069Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-01-05T11:22:36.68558206Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=67.321µs grafana | logger=migrator t=2024-01-05T11:22:36.689646861Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-01-05T11:22:36.690675574Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.028153ms grafana | logger=migrator t=2024-01-05T11:22:36.694502172Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-01-05T11:22:36.695425073Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=923.041µs grafana | logger=migrator t=2024-01-05T11:22:36.698501152Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-01-05T11:22:36.698600093Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=98.631µs grafana | logger=migrator t=2024-01-05T11:22:36.702515492Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-01-05T11:22:36.703282402Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=765.07µs grafana | logger=migrator t=2024-01-05T11:22:36.706217399Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-01-05T11:22:36.707257732Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.040063ms grafana | logger=migrator t=2024-01-05T11:22:36.710000066Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-01-05T11:22:36.710885317Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=884.791µs grafana | logger=migrator t=2024-01-05T11:22:36.715223832Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-01-05T11:22:36.716223864Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=997.952µs grafana | logger=migrator t=2024-01-05T11:22:36.719318913Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-01-05T11:22:36.720392567Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.072694ms grafana | logger=migrator t=2024-01-05T11:22:36.723893541Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-01-05T11:22:36.724870453Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=974.472µs grafana | logger=migrator t=2024-01-05T11:22:36.728755971Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-01-05T11:22:36.728784432Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=28.041µs grafana | logger=migrator t=2024-01-05T11:22:36.732085503Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-01-05T11:22:36.739994723Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=7.91314ms grafana | logger=migrator t=2024-01-05T11:22:36.744154315Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-01-05T11:22:36.745028636Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=874.321µs grafana | logger=migrator t=2024-01-05T11:22:36.74855227Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-01-05T11:22:36.752460919Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.910129ms grafana | logger=migrator t=2024-01-05T11:22:36.755501767Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-01-05T11:22:36.756120925Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=618.468µs grafana | logger=migrator t=2024-01-05T11:22:36.759151083Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-01-05T11:22:36.760109955Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=956.682µs grafana | logger=migrator t=2024-01-05T11:22:36.764593321Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-01-05T11:22:36.765421512Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=828.481µs grafana | logger=migrator t=2024-01-05T11:22:36.768261487Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-01-05T11:22:36.783141354Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=14.879627ms grafana | logger=migrator t=2024-01-05T11:22:36.80913664Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-01-05T11:22:36.810195643Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=1.058803ms grafana | logger=migrator t=2024-01-05T11:22:36.814233724Z 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-01-05T11:22:36.815149056Z 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=915.402µs grafana | logger=migrator t=2024-01-05T11:22:36.818215614Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-01-05T11:22:36.818520418Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=304.784µs grafana | logger=migrator t=2024-01-05T11:22:36.821181461Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) 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 grafana | logger=migrator t=2024-01-05T11:22:36.821687838Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=506.147µs grafana | logger=migrator t=2024-01-05T11:22:36.825272642Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-01-05T11:22:36.825465715Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=193.353µs grafana | logger=migrator t=2024-01-05T11:22:36.827567521Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-01-05T11:22:36.831633362Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.065241ms grafana | logger=migrator t=2024-01-05T11:22:36.834388687Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-01-05T11:22:36.838393787Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.00617ms grafana | logger=migrator t=2024-01-05T11:22:36.842102354Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-01-05T11:22:36.843048565Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=946.431µs grafana | logger=migrator t=2024-01-05T11:22:36.845990642Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-01-05T11:22:36.846876014Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=885.062µs grafana | logger=migrator t=2024-01-05T11:22:36.849985983Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-01-05T11:22:36.850226626Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=239.463µs grafana | logger=migrator t=2024-01-05T11:22:36.853694719Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-01-05T11:22:36.857666419Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=3.9712ms grafana | logger=migrator t=2024-01-05T11:22:36.860574745Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-01-05T11:22:36.861475547Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=900.632µs grafana | logger=migrator t=2024-01-05T11:22:36.864416724Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-01-05T11:22:36.864588816Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=174.382µs grafana | logger=migrator t=2024-01-05T11:22:36.867424381Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-01-05T11:22:36.867815746Z level=info msg="Migration successfully executed" id="Move region to single row" duration=390.675µs grafana | logger=migrator t=2024-01-05T11:22:36.871470812Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-01-05T11:22:36.872339023Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=868.381µs grafana | logger=migrator t=2024-01-05T11:22:36.875219879Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-01-05T11:22:36.876054669Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=834.82µs grafana | logger=migrator t=2024-01-05T11:22:36.879000867Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-05T11:22:36.879911658Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=910.371µs grafana | logger=migrator t=2024-01-05T11:22:36.883527254Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-05T11:22:36.884452265Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=924.892µs grafana | logger=migrator t=2024-01-05T11:22:36.887197679Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-01-05T11:22:36.88804105Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=843.491µs grafana | logger=migrator t=2024-01-05T11:22:36.891700736Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-01-05T11:22:36.892596877Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=895.931µs grafana | logger=migrator t=2024-01-05T11:22:36.896344994Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-01-05T11:22:36.896423665Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=78.451µs grafana | logger=migrator t=2024-01-05T11:22:36.899406593Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-01-05T11:22:36.900128852Z level=info msg="Migration successfully executed" id="create test_data table" duration=722.809µs grafana | logger=migrator t=2024-01-05T11:22:36.90396459Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-01-05T11:22:36.904719789Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=754.609µs grafana | logger=migrator t=2024-01-05T11:22:36.909268846Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-01-05T11:22:36.910130127Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=860.771µs grafana | logger=migrator t=2024-01-05T11:22:36.913228406Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-01-05T11:22:36.914603243Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.374427ms grafana | logger=migrator t=2024-01-05T11:22:36.917992466Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-01-05T11:22:36.91830749Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=315.274µs grafana | logger=migrator t=2024-01-05T11:22:36.922027596Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-01-05T11:22:36.922374041Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=347.945µs grafana | logger=migrator t=2024-01-05T11:22:36.92470783Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-01-05T11:22:36.924772081Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=65.731µs grafana | logger=migrator t=2024-01-05T11:22:36.927757569Z level=info msg="Executing migration" id="create team table" 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-01-05T11:22:36.928811502Z level=info msg="Migration successfully executed" id="create team table" duration=1.053764ms grafana | logger=migrator t=2024-01-05T11:22:36.932948474Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-01-05T11:22:36.934387842Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.438729ms grafana | logger=migrator t=2024-01-05T11:22:36.937627762Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-01-05T11:22:36.938505863Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=877.721µs grafana | logger=migrator t=2024-01-05T11:22:36.94143245Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-01-05T11:22:36.945676013Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.243333ms grafana | logger=migrator t=2024-01-05T11:22:36.949334239Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-01-05T11:22:36.949500081Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=165.782µs grafana | logger=migrator t=2024-01-05T11:22:36.95178194Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-01-05T11:22:36.952662941Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=880.621µs grafana | logger=migrator t=2024-01-05T11:22:36.955626068Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-01-05T11:22:36.956311276Z level=info msg="Migration successfully executed" id="create team member table" duration=683.088µs grafana | logger=migrator t=2024-01-05T11:22:36.959077121Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-01-05T11:22:36.959918672Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=841.301µs grafana | logger=migrator t=2024-01-05T11:22:36.963662709Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-01-05T11:22:36.96454878Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=885.781µs grafana | logger=migrator t=2024-01-05T11:22:36.967454156Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-01-05T11:22:36.968332067Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=877.391µs grafana | logger=migrator t=2024-01-05T11:22:36.971182023Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-01-05T11:22:36.97566262Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.480247ms grafana | logger=migrator t=2024-01-05T11:22:36.979337986Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-01-05T11:22:36.983749921Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.410135ms grafana | logger=migrator t=2024-01-05T11:22:36.98684557Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-01-05T11:22:36.991264015Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.417625ms grafana | logger=migrator t=2024-01-05T11:22:36.99406668Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-01-05T11:22:36.9948619Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=795.01µs grafana | logger=migrator t=2024-01-05T11:22:36.998746849Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-01-05T11:22:36.99962982Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=882.581µs grafana | logger=migrator t=2024-01-05T11:22:37.002356044Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-01-05T11:22:37.003334076Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=977.812µs grafana | logger=migrator t=2024-01-05T11:22:37.007175969Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-01-05T11:22:37.008094429Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=919.24µs grafana | logger=migrator t=2024-01-05T11:22:37.012702978Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-01-05T11:22:37.013555098Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=851.5µs grafana | logger=migrator t=2024-01-05T11:22:37.016458589Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-01-05T11:22:37.017351938Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=892.539µs grafana | logger=migrator t=2024-01-05T11:22:37.02031182Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-01-05T11:22:37.021192299Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=878.139µs grafana | logger=migrator t=2024-01-05T11:22:37.024703067Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-01-05T11:22:37.025577106Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=873.849µs grafana | logger=migrator t=2024-01-05T11:22:37.028512467Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-01-05T11:22:37.028947652Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=434.925µs grafana | logger=migrator t=2024-01-05T11:22:37.03252193Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-01-05T11:22:37.032729252Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=209.352µs grafana | logger=migrator t=2024-01-05T11:22:37.035414961Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-01-05T11:22:37.036020757Z level=info msg="Migration successfully executed" id="create tag table" duration=605.316µs grafana | logger=migrator t=2024-01-05T11:22:37.0391569Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-01-05T11:22:37.04002414Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=867.89µs grafana | logger=migrator t=2024-01-05T11:22:37.043677148Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-01-05T11:22:37.044381146Z level=info msg="Migration successfully executed" id="create login attempt table" duration=703.878µs grafana | logger=migrator t=2024-01-05T11:22:37.047239596Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-01-05T11:22:37.048111756Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=872.019µs grafana | logger=migrator t=2024-01-05T11:22:37.051034457Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-01-05T11:22:37.051865445Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=830.959µs grafana | logger=migrator t=2024-01-05T11:22:37.055635065Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-05T11:22:37.073140582Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.505427ms grafana | logger=migrator t=2024-01-05T11:22:37.076107173Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-01-05T11:22:37.076602588Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=494.035µs grafana | logger=migrator t=2024-01-05T11:22:37.079420798Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-01-05T11:22:37.080033615Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=612.667µs grafana | logger=migrator t=2024-01-05T11:22:37.08333366Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-01-05T11:22:37.083607773Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=274.593µs grafana | logger=migrator t=2024-01-05T11:22:37.086363882Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-01-05T11:22:37.086943158Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=579.086µs grafana | logger=migrator t=2024-01-05T11:22:37.08988154Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-01-05T11:22:37.090532817Z level=info msg="Migration successfully executed" id="create user auth table" duration=649.886µs grafana | logger=migrator t=2024-01-05T11:22:37.094131215Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-01-05T11:22:37.095000814Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=869.389µs grafana | logger=migrator t=2024-01-05T11:22:37.097771643Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-01-05T11:22:37.097831574Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=60.471µs grafana | logger=migrator t=2024-01-05T11:22:37.100642454Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-01-05T11:22:37.105564396Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=4.921422ms grafana | logger=migrator t=2024-01-05T11:22:37.109311686Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-01-05T11:22:37.114227848Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.916002ms grafana | logger=migrator t=2024-01-05T11:22:37.1172184Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-01-05T11:22:37.122130312Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.911552ms grafana | logger=migrator t=2024-01-05T11:22:37.125066823Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-01-05T11:22:37.129989136Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.922013ms grafana | logger=migrator t=2024-01-05T11:22:37.13411436Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-01-05T11:22:37.134983459Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=868.159µs grafana | logger=migrator t=2024-01-05T11:22:37.138058052Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-01-05T11:22:37.143834133Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.775291ms grafana | logger=migrator t=2024-01-05T11:22:37.147025257Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-01-05T11:22:37.147737014Z level=info msg="Migration successfully executed" id="create server_lock table" duration=711.937µs grafana | logger=migrator t=2024-01-05T11:22:37.151642356Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-01-05T11:22:37.152569746Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=925.62µs grafana | logger=migrator t=2024-01-05T11:22:37.155931781Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-01-05T11:22:37.156674189Z level=info msg="Migration successfully executed" id="create user auth token table" duration=742.438µs grafana | logger=migrator t=2024-01-05T11:22:37.159691352Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-01-05T11:22:37.160610401Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=918.989µs grafana | logger=migrator t=2024-01-05T11:22:37.166660536Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-01-05T11:22:37.167578625Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=918.469µs grafana | logger=migrator t=2024-01-05T11:22:37.171357995Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-01-05T11:22:37.172348746Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=990.791µs grafana | logger=migrator t=2024-01-05T11:22:37.176103676Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-01-05T11:22:37.181368572Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.264656ms grafana | logger=migrator t=2024-01-05T11:22:37.185529046Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-01-05T11:22:37.186586207Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.057221ms grafana | logger=migrator t=2024-01-05T11:22:37.192781993Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-01-05T11:22:37.193545161Z level=info msg="Migration successfully executed" id="create cache_data table" duration=763.048µs grafana | logger=migrator t=2024-01-05T11:22:37.195954357Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-01-05T11:22:37.196976808Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.020841ms grafana | logger=migrator t=2024-01-05T11:22:37.199913159Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-01-05T11:22:37.200714677Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=801.178µs grafana | logger=migrator t=2024-01-05T11:22:37.203363756Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-01-05T11:22:37.204339586Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=975.381µs grafana | logger=migrator t=2024-01-05T11:22:37.208052115Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-01-05T11:22:37.208112086Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=60.231µs grafana | logger=migrator t=2024-01-05T11:22:37.210772614Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-01-05T11:22:37.210854095Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=81.861µs grafana | logger=migrator t=2024-01-05T11:22:37.213546284Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-01-05T11:22:37.214307642Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=759.348µs grafana | logger=migrator t=2024-01-05T11:22:37.217004531Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-05T11:22:37.217959831Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=955.54µs grafana | logger=migrator t=2024-01-05T11:22:37.22066761Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-05T11:22:37.22166331Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=995.2µs grafana | logger=migrator t=2024-01-05T11:22:37.26025032Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-05T11:22:37.260394422Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=147.702µs grafana | logger=migrator t=2024-01-05T11:22:37.263466675Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-05T11:22:37.265215093Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.743799ms grafana | logger=migrator t=2024-01-05T11:22:37.270500789Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-05T11:22:37.271813803Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.312664ms grafana | logger=migrator t=2024-01-05T11:22:37.276117239Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-05T11:22:37.27715236Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.035001ms grafana | logger=migrator t=2024-01-05T11:22:37.281534196Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-05T11:22:37.282579917Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.044931ms grafana | logger=migrator t=2024-01-05T11:22:37.287831114Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-01-05T11:22:37.294416773Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.584659ms grafana | logger=migrator t=2024-01-05T11:22:37.297116102Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-01-05T11:22:37.297966311Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=852.099µs grafana | logger=migrator t=2024-01-05T11:22:37.300601259Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-01-05T11:22:37.3007111Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=110.301µs grafana | logger=migrator t=2024-01-05T11:22:37.304313258Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-01-05T11:22:37.305169648Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=855.96µs grafana | logger=migrator t=2024-01-05T11:22:37.307979607Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-01-05T11:22:37.309024539Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.042051ms grafana | logger=migrator t=2024-01-05T11:22:37.311743558Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-01-05T11:22:37.312769329Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.025221ms grafana | logger=migrator t=2024-01-05T11:22:37.316427967Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-05T11:22:37.316495118Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=67.541µs grafana | logger=migrator t=2024-01-05T11:22:37.319363479Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-01-05T11:22:37.320296909Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=932.399µs grafana | logger=migrator t=2024-01-05T11:22:37.323365371Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-01-05T11:22:37.324442232Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.075251ms grafana | logger=migrator t=2024-01-05T11:22:37.328632457Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2024-01-05T11:22:37.32987212Z 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.239033ms grafana | logger=migrator t=2024-01-05T11:22:37.333176675Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-01-05T11:22:37.334152776Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=976.321µs grafana | logger=migrator t=2024-01-05T11:22:37.485383034Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-01-05T11:22:37.494241298Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=8.861384ms grafana | logger=migrator t=2024-01-05T11:22:37.499638955Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.500691796Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.052391ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-01-05T11:22:37.503538227Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.504666698Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.128072ms policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.509185466Z 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-01-05T11:22:37.545975707Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=36.790571ms policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-05T11:22:37.550122261Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.58573602Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=35.613049ms policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-01-05T11:22:37.588884623Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-01-05T11:22:37.589694212Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=808.819µs policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-01-05T11:22:37.59425324Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-01-05T11:22:37.595302302Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.049232ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.598371314Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.604031684Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.65952ms policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.6074008Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-05T11:22:37.6083853Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=983.93µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.615523226Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-01-05T11:22:37.617283615Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.755889ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.620503039Z 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-01-05T11:22:37.622263828Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.757279ms policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.638934845Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-01-05T11:22:37.64120961Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=2.273984ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.646242833Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 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-01-05T11:22:37.646415935Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=172.152µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.649612549Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.657223789Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.61078ms policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.660008599Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-01-05T11:22:37.665379126Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.368967ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.687278939Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-01-05T11:22:37.696557048Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=9.278809ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.702274558Z 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-01-05T11:22:37.70338952Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.114632ms policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.752785656Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-01-05T11:22:37.754530754Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.744418ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.758790439Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 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-01-05T11:22:37.767016167Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.223577ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.771329532Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.777992663Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.663501ms policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.780949234Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-01-05T11:22:37.781995166Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.045432ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.784955727Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 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-01-05T11:22:37.790807009Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.850502ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.823506127Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.833674375Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=10.168358ms policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.87172119Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-01-05T11:22:37.871944802Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=222.472µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.876090616Z level=info msg="Executing migration" id="create alert_rule_version table" 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-01-05T11:22:37.877890985Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.801299ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.882434493Z 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 | policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.884063651Z 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.628987ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-01-05T11:22:37.887435276Z 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 | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.889212805Z 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.775009ms 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-01-05T11:22:37.894150908Z 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-01-05T11:22:37.89435552Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=204.262µs policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.897728176Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.904025233Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.296647ms policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-01-05T11:22:37.908205247Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.912854856Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.648929ms policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-01-05T11:22:37.916715147Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.923119446Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.401949ms policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.928793316Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.935036262Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.242276ms policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-01-05T11:22:37.940208857Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.946363233Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.150826ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-01-05T11:22:37.949190683Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.949295664Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=102.491µs policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.953375907Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.954146726Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=770.408µs policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-01-05T11:22:37.957256899Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.963424434Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.166736ms policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-01-05T11:22:37.966314035Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.966417766Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=103.171µs policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.970195386Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.976393422Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.197556ms policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-01-05T11:22:37.981634658Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.982733519Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.098731ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-01-05T11:22:37.985701951Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.991949757Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.248726ms policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:37.995093061Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:37.995869059Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=775.138µs policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-01-05T11:22:38.000366527Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.001389218Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.022501ms policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.004372509Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.010761738Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.388379ms policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-01-05T11:22:38.013763691Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.014563539Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=799.058µs grafana | logger=migrator t=2024-01-05T11:22:38.020019748Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-01-05T11:22:38.021070989Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.050981ms policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.026506507Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.027768941Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.260284ms policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-01-05T11:22:38.030971335Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.031988116Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.016921ms policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-01-05T11:22:38.036776217Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.036879269Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=103.052µs policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.039931371Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.041435197Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.502706ms policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-05T11:22:38.044852534Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.046225719Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.372705ms grafana | logger=migrator t=2024-01-05T11:22:38.051829179Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-01-05T11:22:38.052332185Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-01-05T11:22:38.055150975Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-01-05T11:22:38.05562145Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=468.625µs policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.058467541Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-01-05T11:22:38.059848185Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.380084ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.066850361Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-01-05T11:22:38.075567255Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.716933ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.080120263Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.082953744Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=2.833151ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.128905918Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-05T11:22:38.131616257Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=2.710219ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.140370761Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.142061839Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.690488ms policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.150092805Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-01-05T11:22:38.152253489Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=2.162564ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.155764416Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-01-05T11:22:38.157124681Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.361375ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.162211276Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.162237006Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=26.65µs policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.166057357Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-01-05T11:22:38.166172118Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=116.481µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.17096787Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-01-05T11:22:38.171390564Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=423.014µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.178571112Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.180026537Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.454985ms policy-db-migrator | msg grafana | logger=migrator t=2024-01-05T11:22:38.184353914Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-01-05T11:22:38.185091552Z level=info msg="Migration successfully executed" id="create secrets table" duration=737.368µs policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.19151126Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-01-05T11:22:38.239116862Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=47.603912ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.242263376Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-01-05T11:22:38.24914868Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.884394ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.256157335Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.256354648Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=198.253µs policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.264651607Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-05T11:22:38.315024778Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=50.374531ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.320930941Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-01-05T11:22:38.372595827Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=51.670166ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.3765702Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.377180666Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=610.706µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.382931508Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-01-05T11:22:38.38404555Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.113642ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.388340576Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.38871546Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=375.714µs policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.39521808Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-01-05T11:22:38.396530514Z level=info msg="Migration successfully executed" id="create permission table" duration=1.312024ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.408696035Z level=info msg="Executing migration" id="add unique index permission.role_id" 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-01-05T11:22:38.410407033Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.711218ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.419592592Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-01-05T11:22:38.420748694Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.155682ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.425075261Z level=info msg="Executing migration" id="create role table" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.426579147Z level=info msg="Migration successfully executed" id="create role table" duration=1.503656ms policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.431655952Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-01-05T11:22:38.443049234Z level=info msg="Migration successfully executed" id="add column display_name" duration=11.394072ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.447447691Z level=info msg="Executing migration" id="add column group_name" 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-01-05T11:22:38.453040062Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.594041ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.464261002Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.465394414Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.135082ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.472631352Z level=info msg="Executing migration" id="add unique index role_org_id_name" 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-01-05T11:22:38.473787025Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.155463ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.477942559Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.479054151Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.110972ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.488941627Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-01-05T11:22:38.490192101Z level=info msg="Migration successfully executed" id="create team role table" duration=1.250014ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.497804753Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.499487881Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.682508ms policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.50406901Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-01-05T11:22:38.506010331Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.940981ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.511810153Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-01-05T11:22:38.512899095Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.088352ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.51891076Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.519690558Z level=info msg="Migration successfully executed" id="create user role table" duration=778.228µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.526853935Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-01-05T11:22:38.528750375Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.89605ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.565139876Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.56634954Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.209753ms policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.570585495Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-05T11:22:38.572409215Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.82347ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.58036658Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-01-05T11:22:38.581184249Z level=info msg="Migration successfully executed" id="create builtin role table" duration=817.949µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.587459706Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.589256925Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.796579ms policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.594224859Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-01-05T11:22:38.59527282Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.047501ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.599266793Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-01-05T11:22:38.61015204Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=10.885867ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-05T11:22:38.619676802Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-05T11:22:38.621398651Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.718839ms policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-01-05T11:22:38.626635637Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | name version grafana | logger=migrator t=2024-01-05T11:22:38.628111943Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.476856ms policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-01-05T11:22:38.63247954Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-01-05T11:22:38.633820035Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.340245ms policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:40 grafana | logger=migrator t=2024-01-05T11:22:38.639997781Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:40 grafana | logger=migrator t=2024-01-05T11:22:38.641206494Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.209403ms policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:40 grafana | logger=migrator t=2024-01-05T11:22:38.649752556Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:40 grafana | logger=migrator t=2024-01-05T11:22:38.651301923Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.550217ms policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:40 grafana | logger=migrator t=2024-01-05T11:22:38.655672289Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:40 grafana | logger=migrator t=2024-01-05T11:22:38.657444368Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.772859ms policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:40 grafana | logger=migrator t=2024-01-05T11:22:38.66222976Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.670096174Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.865914ms policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.679313164Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.689659695Z level=info msg="Migration successfully executed" id="permission kind migration" duration=10.350381ms policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.693796329Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.701931617Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.135148ms policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.706343774Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.711948094Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.60418ms policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.715809706Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.717008239Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.198643ms policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.721184584Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.722622359Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.436555ms policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.73011668Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.732275973Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=2.158953ms policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.743052079Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.743257261Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=106.331µs policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.747733089Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.74782173Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=93.441µs policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.753832805Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.75431028Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=477.636µs policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.760562857Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.761191183Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=629.206µs policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.766639692Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.767821075Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.181803ms policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:41 grafana | logger=migrator t=2024-01-05T11:22:38.771461584Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.771909759Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=447.295µs policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.775395376Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.776046443Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=650.937µs policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.779396399Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.780229958Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=833.239µs policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.784485344Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.785636516Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.151172ms policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.788707999Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-01-05T11:22:38.796702915Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.993506ms policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.79995613Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.800020981Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=67.661µs policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.803836872Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.804782712Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=945.93µs policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.807796914Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.809058328Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.262074ms policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.813949331Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.815351476Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.401245ms policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.820037016Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.829880172Z level=info msg="Migration successfully executed" id="add correlation config column" duration=9.844116ms policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.833018896Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.834132447Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.113842ms policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.837450423Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.838573915Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.123632ms policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.84268737Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.87529363Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=32.60629ms policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.878632186Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:42 grafana | logger=migrator t=2024-01-05T11:22:38.879416314Z level=info msg="Migration successfully executed" id="create correlation v2" duration=783.358µs policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.882688519Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.883589639Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=902.15µs policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.887548081Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.889498903Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.945531ms policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.89297887Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.894189783Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.210733ms policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.898211576Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.89852952Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=317.394µs policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.901731014Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.902541203Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=811.359µs policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.905862668Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.914136307Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.274429ms policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.918257942Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.919069391Z level=info msg="Migration successfully executed" id="create entity_events table" duration=811.719µs policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.922587128Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.923623679Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.035881ms policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.926973805Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.927601972Z 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 | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.932131601Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.93302049Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.936436457Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:43 grafana | logger=migrator t=2024-01-05T11:22:38.937779852Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.342885ms policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:38.941061907Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:38.942076738Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.014031ms policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:38.94602118Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:38.947252103Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.230893ms policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:38.950443518Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:38.951707321Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.263343ms policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:38.955047667Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:38.956298311Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.250393ms policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:38.960205192Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:38.961402955Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.197823ms policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:38.964546549Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-01-05T11:22:38.965357838Z level=info msg="Migration successfully executed" id="Drop public config table" duration=810.659µs policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:38.975689999Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0501241122400800u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:38.977533519Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.84277ms policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0501241122400900u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:39.021497148Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0501241122400900u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:39.023348971Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.848923ms policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0501241122400900u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:39.031153059Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0501241122400900u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:39.033011292Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.858133ms policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0501241122400900u 1 2024-01-05 11:22:44 grafana | logger=migrator t=2024-01-05T11:22:39.04149436Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0501241122400900u 1 2024-01-05 11:22:45 grafana | logger=migrator t=2024-01-05T11:22:39.043330633Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.835923ms policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0501241122400900u 1 2024-01-05 11:22:45 grafana | logger=migrator t=2024-01-05T11:22:39.050831458Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0501241122400900u 1 2024-01-05 11:22:45 grafana | logger=migrator t=2024-01-05T11:22:39.08429318Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=33.462532ms policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0501241122400900u 1 2024-01-05 11:22:45 grafana | logger=migrator t=2024-01-05T11:22:39.104351183Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0501241122400900u 1 2024-01-05 11:22:45 grafana | logger=migrator t=2024-01-05T11:22:39.115457744Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=11.105561ms policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0501241122400900u 1 2024-01-05 11:22:45 grafana | logger=migrator t=2024-01-05T11:22:39.11994266Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0501241122400900u 1 2024-01-05 11:22:45 grafana | logger=migrator t=2024-01-05T11:22:39.12862171Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.6784ms policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0501241122400900u 1 2024-01-05 11:22:45 grafana | logger=migrator t=2024-01-05T11:22:39.132482758Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0501241122401000u 1 2024-01-05 11:22:45 grafana | logger=migrator t=2024-01-05T11:22:39.132651361Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=168.703µs policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0501241122401000u 1 2024-01-05 11:22:45 grafana | logger=migrator t=2024-01-05T11:22:39.136344937Z level=info msg="Executing migration" id="add share column" policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0501241122401000u 1 2024-01-05 11:22:45 grafana | logger=migrator t=2024-01-05T11:22:39.143377886Z level=info msg="Migration successfully executed" id="add share column" duration=7.031749ms policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0501241122401000u 1 2024-01-05 11:22:45 grafana | logger=migrator t=2024-01-05T11:22:39.147932654Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0501241122401000u 1 2024-01-05 11:22:45 grafana | logger=migrator t=2024-01-05T11:22:39.148149296Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=217.592µs policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0501241122401000u 1 2024-01-05 11:22:45 grafana | logger=migrator t=2024-01-05T11:22:39.151385997Z level=info msg="Executing migration" id="create file table" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0501241122401000u 1 2024-01-05 11:22:45 grafana | logger=migrator t=2024-01-05T11:22:39.152246128Z level=info msg="Migration successfully executed" id="create file table" duration=859.601µs grafana | logger=migrator t=2024-01-05T11:22:39.15559425Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-01-05T11:22:39.156703775Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.109184ms grafana | logger=migrator t=2024-01-05T11:22:39.160711815Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-01-05T11:22:39.16187395Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.162055ms grafana | logger=migrator t=2024-01-05T11:22:39.165117561Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-01-05T11:22:39.16584749Z level=info msg="Migration successfully executed" id="create file_meta table" duration=729.889µs grafana | logger=migrator t=2024-01-05T11:22:39.16898207Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-01-05T11:22:39.170187265Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.204825ms grafana | logger=migrator t=2024-01-05T11:22:39.177932113Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-01-05T11:22:39.178067104Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=136.181µs grafana | logger=migrator t=2024-01-05T11:22:39.181534938Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-01-05T11:22:39.18166372Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=131.512µs grafana | logger=migrator t=2024-01-05T11:22:39.185100353Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-01-05T11:22:39.185964874Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=864.271µs grafana | logger=migrator t=2024-01-05T11:22:39.190742434Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-01-05T11:22:39.19116971Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=427.516µs grafana | logger=migrator t=2024-01-05T11:22:39.236803496Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-01-05T11:22:39.238151663Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.348607ms grafana | logger=migrator t=2024-01-05T11:22:39.241786708Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-01-05T11:22:39.254294166Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=12.507848ms grafana | logger=migrator t=2024-01-05T11:22:39.257972253Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-01-05T11:22:39.258150805Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=178.952µs grafana | logger=migrator t=2024-01-05T11:22:39.262152536Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-01-05T11:22:39.263326871Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.173594ms grafana | logger=migrator t=2024-01-05T11:22:39.266692513Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-01-05T11:22:39.267110298Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=419.505µs grafana | logger=migrator t=2024-01-05T11:22:39.270288388Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-01-05T11:22:39.270549642Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=260.484µs grafana | logger=migrator t=2024-01-05T11:22:39.273480849Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-01-05T11:22:39.273969455Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=488.296µs grafana | logger=migrator t=2024-01-05T11:22:39.282870947Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-01-05T11:22:39.290789788Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=7.91942ms grafana | logger=migrator t=2024-01-05T11:22:39.294388433Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-01-05T11:22:39.303220275Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.831422ms grafana | logger=migrator t=2024-01-05T11:22:39.306767279Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-01-05T11:22:39.307666021Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=898.632µs grafana | logger=migrator t=2024-01-05T11:22:39.31152274Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-01-05T11:22:39.420971582Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=109.448083ms grafana | logger=migrator t=2024-01-05T11:22:39.424263553Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-01-05T11:22:39.426277029Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=2.013156ms grafana | logger=migrator t=2024-01-05T11:22:39.46921824Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-01-05T11:22:39.471139324Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.921214ms grafana | logger=migrator t=2024-01-05T11:22:39.475071774Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-01-05T11:22:39.510951707Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=35.881393ms grafana | logger=migrator t=2024-01-05T11:22:39.515482534Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-01-05T11:22:39.515689367Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=207.103µs grafana | logger=migrator t=2024-01-05T11:22:39.518934268Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-01-05T11:22:39.5191295Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=195.122µs grafana | logger=migrator t=2024-01-05T11:22:39.522478693Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-01-05T11:22:39.522919498Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=437.485µs policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0501241122401000u 1 2024-01-05 11:22:45 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0501241122401000u 1 2024-01-05 11:22:45 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0501241122401100u 1 2024-01-05 11:22:45 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0501241122401200u 1 2024-01-05 11:22:45 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0501241122401200u 1 2024-01-05 11:22:45 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0501241122401200u 1 2024-01-05 11:22:45 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0501241122401200u 1 2024-01-05 11:22:46 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 0501241122401300u 1 2024-01-05 11:22:46 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 0501241122401300u 1 2024-01-05 11:22:46 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 0501241122401300u 1 2024-01-05 11:22:46 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-01-05T11:22:39.527282664Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-01-05T11:22:39.528804773Z level=info msg="Migration successfully executed" id="create folder table" duration=1.52063ms grafana | logger=migrator t=2024-01-05T11:22:39.531939082Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-01-05T11:22:39.533143858Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.205086ms grafana | logger=migrator t=2024-01-05T11:22:39.536259637Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-01-05T11:22:39.537534383Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.274326ms grafana | logger=migrator t=2024-01-05T11:22:39.541806407Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-01-05T11:22:39.541832867Z level=info msg="Migration successfully executed" id="Update folder title length" duration=27.16µs grafana | logger=migrator t=2024-01-05T11:22:39.544233858Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-05T11:22:39.545463103Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.229765ms grafana | logger=migrator t=2024-01-05T11:22:39.548667354Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-05T11:22:39.549790868Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.123234ms grafana | logger=migrator t=2024-01-05T11:22:39.553771108Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-01-05T11:22:39.555008074Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.237196ms grafana | logger=migrator t=2024-01-05T11:22:39.558169854Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-01-05T11:22:39.559090045Z level=info msg="Migration successfully executed" id="create anon_device table" duration=919.621µs grafana | logger=migrator t=2024-01-05T11:22:39.563281518Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-01-05T11:22:39.564581735Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.300117ms grafana | logger=migrator t=2024-01-05T11:22:39.567679644Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-01-05T11:22:39.568889599Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.209865ms grafana | logger=migrator t=2024-01-05T11:22:39.572211431Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-01-05T11:22:39.573057772Z level=info msg="Migration successfully executed" id="create signing_key table" duration=845.601µs grafana | logger=migrator t=2024-01-05T11:22:39.576962571Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-01-05T11:22:39.578158346Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.199985ms grafana | logger=migrator t=2024-01-05T11:22:39.58161316Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-01-05T11:22:39.583385272Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.770512ms grafana | logger=migrator t=2024-01-05T11:22:39.587393993Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-01-05T11:22:39.58797484Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=582.287µs grafana | logger=migrator t=2024-01-05T11:22:39.592316905Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-01-05T11:22:39.601821195Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.50466ms grafana | logger=migrator t=2024-01-05T11:22:39.605171938Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-01-05T11:22:39.605944317Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=775.279µs grafana | logger=migrator t=2024-01-05T11:22:39.60932933Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-01-05T11:22:39.610563586Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.234066ms grafana | logger=migrator t=2024-01-05T11:22:39.613900508Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-01-05T11:22:39.61487556Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=974.482µs grafana | logger=migrator t=2024-01-05T11:22:39.620624793Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-01-05T11:22:39.621870279Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.245886ms grafana | logger=migrator t=2024-01-05T11:22:39.625080249Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-01-05T11:22:39.625729537Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=650.928µs grafana | logger=migrator t=2024-01-05T11:22:39.629085979Z level=info msg="migrations completed" performed=523 skipped=0 duration=4.157178108s grafana | logger=sqlstore t=2024-01-05T11:22:39.638234155Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-01-05T11:22:39.638542719Z level=info msg="Created default organization" grafana | logger=secrets t=2024-01-05T11:22:39.642847533Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-01-05T11:22:39.660195683Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-01-05T11:22:39.695262615Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-01-05T11:22:39.695306736Z level=info msg="Plugins loaded" count=55 duration=35.112533ms grafana | logger=query_data t=2024-01-05T11:22:39.70280283Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-01-05T11:22:39.709687627Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-01-05T11:22:39.713940821Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-01-05T11:22:39.714804272Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-01-05T11:22:39.715289758Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2024-01-05T11:22:39.715755054Z level=warn msg="No available receivers" grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-05T11:22:39.718440708Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-01-05T11:22:39.742133137Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-01-05T11:22:39.74395378Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-01-05T11:22:39.756061403Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-01-05T11:22:39.756075443Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-01-05T11:22:39.756307676Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-01-05T11:22:39.756342717Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-01-05T11:22:39.75664334Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-01-05T11:22:39.761241688Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2024-01-05T11:22:39.783922765Z level=info msg="Update check succeeded" duration=27.438517ms grafana | logger=sqlstore.transactions t=2024-01-05T11:22:39.814364409Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=plugins.update.checker t=2024-01-05T11:22:39.825873855Z level=info msg="Update check succeeded" duration=69.352166ms grafana | logger=ngalert.state.manager t=2024-01-05T11:22:39.875232468Z level=info msg="State cache has been initialized" states=0 duration=118.962832ms grafana | logger=ngalert.scheduler t=2024-01-05T11:22:39.875283388Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-01-05T11:22:39.875500721Z level=info msg=starting first_tick=2024-01-05T11:22:40Z grafana | logger=infra.usagestats t=2024-01-05T11:23:41.768038002Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing grafana ... Removing policy-db-migrator ... Removing prometheus ... Removing mariadb ... Removing grafana ... done Removing policy-db-migrator ... done Removing prometheus ... done Removing policy-api ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.jOceQJ8Gs5 ]] + rsync -av /tmp/tmp.jOceQJ8Gs5/ /w/workspace/policy-api-master-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,344,404 bytes received 95 bytes 2,688,998.00 bytes/sec total size is 1,343,757 speedup is 1.00 + rm -rf /w/workspace/policy-api-master-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2107 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins6981931406164872247.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins7631279422468548899.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-master-project-csit-api + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-master-project-csit-api ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-master-project-csit-api ']' + mkdir -p /w/workspace/policy-api-master-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-api/archives/ [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins12642422564617871508.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-36bk from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-36bk/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins6223854894223948037.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config14908046143774939099tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins12333007262058398656.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins425849800313089673.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-36bk from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-36bk/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins17650227218131089306.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins18397851071085033608.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-36bk from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-36bk/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-master-project-csit-api] $ /bin/bash -l /tmp/jenkins8290735639183424890.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-36bk from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-36bk/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1482 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-9736 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 838 27070 0 4258 30872 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:f7:5b:32 brd ff:ff:ff:ff:ff:ff inet 10.30.107.14/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86044sec preferred_lft 86044sec inet6 fe80::f816:3eff:fef7:5b32/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:0b:18:10:aa 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-9736) 01/05/24 _x86_64_ (8 CPU) 11:19:24 LINUX RESTART (8 CPU) 11:20:01 tps rtps wtps bread/s bwrtn/s 11:21:01 110.01 31.38 78.64 1635.33 24970.77 11:22:01 121.66 22.91 98.75 2739.68 31231.73 11:23:01 389.07 13.68 375.39 811.43 87864.81 11:24:01 16.09 0.57 15.53 19.86 17846.38 11:25:01 68.81 1.45 67.36 112.11 22920.36 Average: 141.13 14.00 127.13 1063.65 36966.17 11:20:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:21:01 30094108 31713028 2845112 8.64 71172 1856628 1437312 4.23 861364 1689668 176220 11:22:01 28974452 31670400 3964768 12.04 99448 2870908 1573980 4.63 985620 2611072 810440 11:23:01 27040752 30964360 5898468 17.91 129552 4006240 3875996 11.40 1780164 3653488 436 11:24:01 26511728 30437332 6427492 19.51 129740 4007544 4388044 12.91 2307704 3652980 92 11:25:01 27716976 31609292 5222244 15.85 132428 3982020 1474204 4.34 1170280 3611960 4168 Average: 28067603 31278882 4871617 14.79 112468 3344668 2549907 7.50 1421026 3043834 198271 11:20:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:21:01 ens3 62.61 42.41 984.17 7.48 0.00 0.00 0.00 0.00 11:21:01 lo 1.47 1.47 0.16 0.16 0.00 0.00 0.00 0.00 11:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:22:01 ens3 175.60 115.51 4809.94 12.62 0.00 0.00 0.00 0.00 11:22:01 lo 5.73 5.73 0.54 0.54 0.00 0.00 0.00 0.00 11:22:01 br-df860f2e7423 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:23:01 ens3 193.67 117.01 6571.09 8.75 0.00 0.00 0.00 0.00 11:23:01 lo 4.23 4.23 0.37 0.37 0.00 0.00 0.00 0.00 11:23:01 br-df860f2e7423 0.55 0.53 0.05 0.30 0.00 0.00 0.00 0.00 11:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:01 ens3 5.00 4.07 0.99 1.16 0.00 0.00 0.00 0.00 11:24:01 lo 10.16 10.16 8.51 8.51 0.00 0.00 0.00 0.00 11:24:01 br-df860f2e7423 3.05 3.53 6.12 2.22 0.00 0.00 0.00 0.00 11:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:25:01 ens3 69.16 47.38 120.14 25.04 0.00 0.00 0.00 0.00 11:25:01 lo 6.80 6.80 0.59 0.59 0.00 0.00 0.00 0.00 11:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 101.20 65.27 2497.18 11.01 0.00 0.00 0.00 0.00 Average: lo 5.68 5.68 2.03 2.03 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-9736) 01/05/24 _x86_64_ (8 CPU) 11:19:24 LINUX RESTART (8 CPU) 11:20:01 CPU %user %nice %system %iowait %steal %idle 11:21:01 all 10.15 0.00 0.77 2.07 0.03 86.99 11:21:01 0 0.12 0.00 0.03 0.00 0.02 99.83 11:21:01 1 27.73 0.00 1.94 1.81 0.07 68.46 11:21:01 2 25.64 0.00 1.27 1.04 0.05 72.00 11:21:01 3 15.17 0.00 1.05 0.35 0.03 83.39 11:21:01 4 5.15 0.00 0.65 0.35 0.02 93.83 11:21:01 5 4.40 0.00 0.55 11.38 0.02 83.66 11:21:01 6 2.60 0.00 0.37 0.13 0.02 96.88 11:21:01 7 0.45 0.00 0.28 1.45 0.02 97.80 11:22:01 all 10.10 0.00 1.79 2.48 0.04 85.60 11:22:01 0 4.47 0.00 1.35 0.10 0.02 94.06 11:22:01 1 10.79 0.00 1.82 0.57 0.03 86.79 11:22:01 2 7.02 0.00 1.07 0.17 0.05 91.69 11:22:01 3 2.51 0.00 0.92 0.74 0.02 95.82 11:22:01 4 13.99 0.00 2.46 2.71 0.03 80.80 11:22:01 5 9.71 0.00 1.85 11.71 0.05 76.68 11:22:01 6 13.47 0.00 2.82 0.52 0.03 83.16 11:22:01 7 18.83 0.00 2.03 3.34 0.07 75.72 11:23:01 all 14.92 0.00 3.75 5.53 0.06 75.74 11:23:01 0 11.44 0.00 2.75 1.47 0.07 84.28 11:23:01 1 15.64 0.00 3.91 1.21 0.05 79.18 11:23:01 2 16.52 0.00 3.95 0.52 0.07 78.94 11:23:01 3 15.88 0.00 4.49 6.60 0.07 72.97 11:23:01 4 9.29 0.00 3.35 0.94 0.05 86.36 11:23:01 5 22.30 0.00 4.57 1.85 0.08 71.19 11:23:01 6 13.00 0.00 2.38 8.17 0.08 76.36 11:23:01 7 15.28 0.00 4.58 23.74 0.07 56.33 11:24:01 all 4.92 0.00 0.44 1.19 0.03 93.42 11:24:01 0 8.30 0.00 0.76 0.00 0.02 90.93 11:24:01 1 3.47 0.00 0.42 8.63 0.03 87.45 11:24:01 2 4.43 0.00 0.35 0.00 0.02 95.20 11:24:01 3 4.94 0.00 0.40 0.15 0.05 94.45 11:24:01 4 2.42 0.00 0.15 0.00 0.05 97.38 11:24:01 5 5.44 0.00 0.43 0.08 0.03 94.01 11:24:01 6 5.88 0.00 0.60 0.65 0.02 92.85 11:24:01 7 4.47 0.00 0.40 0.00 0.02 95.12 11:25:01 all 6.43 0.00 0.67 1.44 0.03 91.43 11:25:01 0 19.24 0.00 1.10 4.63 0.05 74.99 11:25:01 1 12.79 0.00 0.60 5.51 0.05 81.04 11:25:01 2 7.56 0.00 0.53 0.47 0.02 91.43 11:25:01 3 5.88 0.00 0.83 0.05 0.02 93.22 11:25:01 4 1.45 0.00 0.75 0.25 0.02 97.53 11:25:01 5 2.07 0.00 0.49 0.45 0.02 96.97 11:25:01 6 1.25 0.00 0.57 0.08 0.02 98.08 11:25:01 7 1.17 0.00 0.47 0.05 0.02 98.30 Average: all 9.29 0.00 1.48 2.54 0.04 86.66 Average: 0 8.72 0.00 1.20 1.24 0.03 88.81 Average: 1 14.07 0.00 1.73 3.55 0.05 80.59 Average: 2 12.22 0.00 1.43 0.44 0.04 85.87 Average: 3 8.86 0.00 1.53 1.57 0.04 88.00 Average: 4 6.45 0.00 1.47 0.85 0.03 91.20 Average: 5 8.76 0.00 1.57 5.09 0.04 84.53 Average: 6 7.22 0.00 1.34 1.90 0.03 89.51 Average: 7 8.00 0.00 1.54 5.66 0.04 84.76