Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-12896 (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-41JkSKqJj4bJ/agent.2080 SSH_AGENT_PID=2082 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_1270214535754083600.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_1270214535754083600.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 f2e4da7e296548fb3980fd212e3a67dc83254e1d (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f f2e4da7e296548fb3980fd212e3a67dc83254e1d # timeout=30 Commit message: "Add kafka support in Policy CSIT" > git rev-list --no-walk f2e4da7e296548fb3980fd212e3a67dc83254e1d # 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/jenkins10918694674568823729.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-RdR6 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-RdR6/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-RdR6/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 beautifulsoup4==4.12.2 boto3==1.34.20 botocore==1.34.20 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.5.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.41 google-auth==2.26.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.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==3.0.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.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.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.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.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.17.1 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.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/sh /tmp/jenkins3900561385270916304.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/jenkins7811040937855723254.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.bHiwB1J1W7 ++ echo ROBOT_VENV=/tmp/tmp.bHiwB1J1W7 +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.bHiwB1J1W7 ++ source /tmp/tmp.bHiwB1J1W7/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.bHiwB1J1W7 +++ 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.bHiwB1J1W7/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.bHiwB1J1W7) ' '!=' x ']' +++ PS1='(tmp.bHiwB1J1W7) ' +++ 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.1.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.bHiwB1J1W7/src/onap ++ rm -rf /tmp/tmp.bHiwB1J1W7/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.1.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 ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.bHiwB1J1W7/bin/activate + '[' -z /tmp/tmp.bHiwB1J1W7/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.bHiwB1J1W7/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.bHiwB1J1W7 ++ 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.bHiwB1J1W7/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.bHiwB1J1W7) ' ++ '[' 'x(tmp.bHiwB1J1W7) ' '!=' x ']' ++ PS1='(tmp.bHiwB1J1W7) (tmp.bHiwB1J1W7) ' ++ 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.OflqrmoF98 + cd /tmp/tmp.OflqrmoF98 + 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:c8de5cbf268fa5f6c292c92e9259f82da5e78c0ddfa1fbf3e9257a00c3930808 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:bbf3044dd101de99d940093be953f041397d02b2f17a70f8da7719c160735c2e 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:beb5e30ffba08d9ae8a7961b9a2145fc8af6296ff2a4f463df7cd722fcbfc789 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 mariadb Up 14 seconds prometheus Up 13 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 17 seconds mariadb Up 19 seconds prometheus Up 18 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 22 seconds mariadb Up 24 seconds prometheus Up 23 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 27 seconds mariadb Up 29 seconds prometheus Up 28 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 ++ sed 's/./& /g' ++ echo hxB + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:22:58 up 3 min, 0 users, load average: 2.23, 0.96, 0.37 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.4 us, 2.1 sy, 0.0 ni, 83.3 id, 4.1 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.5G 26G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 27 seconds mariadb Up 29 seconds prometheus Up 28 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 19db1db14e88 policy-api 0.11% 550.3MiB / 31.41GiB 1.71% 998kB / 710kB 0B / 0B 57 5bcf29ed37ae grafana 0.03% 53.42MiB / 31.41GiB 0.17% 18.4kB / 3.09kB 0B / 23.9MB 16 1d1d10b39bbf mariadb 0.01% 100.7MiB / 31.41GiB 0.31% 986kB / 1.17MB 11MB / 65.1MB 26 ce148c3a0c43 prometheus 0.13% 19.55MiB / 31.41GiB 0.06% 1.18kB / 158B 225kB / 0B 13 + echo + cd /tmp/tmp.OflqrmoF98 + 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.OflqrmoF98/output.xml Log: /tmp/tmp.OflqrmoF98/log.html Report: /tmp/tmp.OflqrmoF98/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:24:10 up 4 min, 0 users, load average: 0.80, 0.80, 0.36 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.8 us, 1.7 sy, 0.0 ni, 86.0 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 2.0G 25G 1.0M 3.9G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 19db1db14e88 policy-api 0.14% 1.079GiB / 31.41GiB 3.43% 7MB / 2.55MB 0B / 0B 57 5bcf29ed37ae grafana 0.03% 60.53MiB / 31.41GiB 0.19% 19.5kB / 4.38kB 0B / 23.9MB 16 1d1d10b39bbf mariadb 0.02% 101.8MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 65.5MB 18 ce148c3a0c43 prometheus 0.00% 25.81MiB / 31.41GiB 0.08% 55.3kB / 6.65kB 225kB / 0B 13 + echo + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose ++ cd /w/workspace/policy-api-master-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, grafana, policy-db-migrator, mariadb, prometheus mariadb | 2024-01-17 11:22:28+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-17 11:22:28+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-01-17 11:22:28+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-17 11:22:28+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-01-17 11:22:28 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-17 11:22:28 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-17 11:22:29 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-17 11:22:30+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-01-17 11:22:30+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-01-17 11:22:30+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-01-17 11:22:30 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... mariadb | 2024-01-17 11:22:30 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-17 11:22:30 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-17 11:22:30 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-17 11:22:30 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-17 11:22:30 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-17 11:22:30 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-17 11:22:30 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-17 11:22:30 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-17 11:22:30 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-17 11:22:30 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-17 11:22:30 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-17 11:22:30 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-17 11:22:30 0 [Note] InnoDB: log sequence number 46590; transaction id 14 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 | -------------- grafana | logger=settings t=2024-01-17T11:22:30.756580361Z 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-17T11:22:30.756784848Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-01-17T11:22:30.756791899Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-01-17T11:22:30.756795669Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-01-17T11:22:30.756798539Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-01-17T11:22:30.756801329Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-17T11:22:30.75680619Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-17T11:22:30.75680912Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-01-17T11:22:30.75681211Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-01-17T11:22:30.756815061Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-01-17T11:22:30.756817941Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-17T11:22:30.756820531Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-17T11:22:30.756825142Z level=info msg=Target target=[all] grafana | logger=settings t=2024-01-17T11:22:30.756830112Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-01-17T11:22:30.756833332Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-01-17T11:22:30.756836162Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-01-17T11:22:30.756839523Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-01-17T11:22:30.756842593Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-01-17T11:22:30.756845713Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-01-17T11:22:30.757118867Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-01-17T11:22:30.757135998Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-01-17T11:22:30.757725159Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-01-17T11:22:30.758568881Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-01-17T11:22:30.759286882Z level=info msg="Migration successfully executed" id="create migration_log table" duration=717.641µs grafana | logger=migrator t=2024-01-17T11:22:30.76310498Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-01-17T11:22:30.763720172Z level=info msg="Migration successfully executed" id="create user table" duration=611.792µs grafana | logger=migrator t=2024-01-17T11:22:30.768074034Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-01-17T11:22:30.769718205Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.643841ms grafana | logger=migrator t=2024-01-17T11:22:30.775411013Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-01-17T11:22:30.776100951Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=689.589µs grafana | logger=migrator t=2024-01-17T11:22:30.779502442Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-01-17T11:22:30.7801637Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=660.977µs grafana | logger=migrator t=2024-01-17T11:22:30.783462402Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-01-17T11:22:30.784470238Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.007296ms 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-17T11:22:42.919+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 19 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-01-17T11:22:42.923+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-01-17T11:22:44.597+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-01-17T11:22:44.689+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 81 ms. Found 6 JPA repository interfaces. policy-api | [2024-01-17T11:22:45.088+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-17T11:22:45.088+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-17T11:22:45.710+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-01-17T11:22:45.720+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-17T11:22:45.722+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-01-17T11:22:45.722+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.16] policy-api | [2024-01-17T11:22:45.814+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-01-17T11:22:45.815+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2807 ms policy-api | [2024-01-17T11:22:46.253+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-01-17T11:22:46.332+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 prometheus | ts=2024-01-17T11:22:29.703Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-01-17T11:22:29.703Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" prometheus | ts=2024-01-17T11:22:29.703Z caller=main.go:593 level=info build_context="(go=go1.21.6, platform=linux/amd64, user=root@6d5f4c649d25, date=20240115-16:58:43, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-01-17T11:22:29.703Z caller=main.go:594 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-17T11:22:29.703Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-01-17T11:22:29.703Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-01-17T11:22:29.708Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-01-17T11:22:29.708Z caller=main.go:1039 level=info msg="Starting TSDB ..." prometheus | ts=2024-01-17T11:22:29.710Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-01-17T11:22:29.710Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-01-17T11:22:29.715Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-01-17T11:22:29.715Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.111µs prometheus | ts=2024-01-17T11:22:29.715Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-01-17T11:22:29.715Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-01-17T11:22:29.715Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=52.634µs wal_replay_duration=625.472µs wbl_replay_duration=210ns total_replay_duration=735.582µs prometheus | ts=2024-01-17T11:22:29.718Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-01-17T11:22:29.718Z caller=main.go:1063 level=info msg="TSDB started" prometheus | ts=2024-01-17T11:22:29.718Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-01-17T11:22:29.719Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.020395ms db_storage=1.211µs remote_storage=1.76µs web_handler=400ns query_engine=1µs scrape=254.641µs scrape_sd=127.361µs notify=39.223µs notify_sd=24.692µs rules=1.701µs tracing=15.751µs prometheus | ts=2024-01-17T11:22:29.719Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-01-17T11:22:29.719Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." mariadb | 2024-01-17 11:22:30 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-17 11:22:30 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-17 11:22:30 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-17 11:22:30 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-17 11:22:30 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-17 11:22:31+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-01-17 11:22:33+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-01-17 11:22:33+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-01-17 11:22:33+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-01-17 11:22:33+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=migrator t=2024-01-17T11:22:30.790304877Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-01-17T11:22:30.794534919Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.229402ms grafana | logger=migrator t=2024-01-17T11:22:30.798098824Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-01-17T11:22:30.798863849Z level=info msg="Migration successfully executed" id="create user table v2" duration=765.925µs grafana | logger=migrator t=2024-01-17T11:22:30.801828203Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-01-17T11:22:30.802496741Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=664.447µs grafana | logger=migrator t=2024-01-17T11:22:30.808220481Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-01-17T11:22:30.809278341Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.05728ms grafana | logger=migrator t=2024-01-17T11:22:30.812806053Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-01-17T11:22:30.813392493Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=585.57µs grafana | logger=migrator t=2024-01-17T11:22:30.816616559Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-01-17T11:22:30.817085649Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=469.08µs grafana | logger=migrator t=2024-01-17T11:22:30.822567469Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-01-17T11:22:30.823654241Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.082383ms grafana | logger=migrator t=2024-01-17T11:22:30.826850675Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-01-17T11:22:30.826890248Z level=info msg="Migration successfully executed" id="Update user table charset" duration=40.994µs grafana | logger=migrator t=2024-01-17T11:22:30.831569679Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-01-17T11:22:30.833290486Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.720318ms grafana | logger=migrator t=2024-01-17T11:22:30.836660005Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-01-17T11:22:30.836870883Z level=info msg="Migration successfully executed" id="Add missing user data" duration=211.118µs grafana | logger=migrator t=2024-01-17T11:22:30.842765647Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-01-17T11:22:30.844633767Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.86781ms grafana | logger=migrator t=2024-01-17T11:22:30.848073891Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-01-17T11:22:30.84876739Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=693.259µs grafana | logger=migrator t=2024-01-17T11:22:30.851777228Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-01-17T11:22:30.852926737Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.149039ms grafana | logger=migrator t=2024-01-17T11:22:30.856160434Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-01-17T11:22:30.866467585Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.305512ms grafana | logger=migrator t=2024-01-17T11:22:30.872549486Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-01-17T11:22:30.873232565Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=682.868µs grafana | logger=migrator t=2024-01-17T11:22:30.876418367Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-01-17T11:22:30.877105216Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=686.218µs grafana | logger=migrator t=2024-01-17T11:22:30.880271787Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" policy-api | [2024-01-17T11:22:46.336+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-01-17T11:22:46.387+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-01-17T11:22:46.739+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-01-17T11:22:46.760+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-01-17T11:22:46.864+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 policy-api | [2024-01-17T11:22:46.866+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-01-17T11:22:46.901+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-17T11:22:46.903+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-01-17T11:22:48.787+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-01-17T11:22:48.790+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-01-17T11:22:50.013+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-01-17T11:22:50.844+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-01-17T11:22:52.038+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-17T11:22:52.245+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-17T11:22:53.105+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-01-17T11:22:53.161+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-17T11:22:53.183+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-01-17T11:22:53.204+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.974 seconds (process running for 11.55) policy-api | [2024-01-17T11:23:01.176+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-01-17T11:23:01.177+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-01-17T11:23:01.179+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2024-01-17T11:23:04.375+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-01-17T11:23:04.501+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-01-17T11:23:04.765+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-01-17T11:23:06.113+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-api | [2024-01-17T11:23:08.258+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-01-17T11:23:08.591+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-01-17T11:23:08.820+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-17T11:23:09.094+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-01-17T11:23:09.331+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-01-17T11:23:09.565+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-01-17T11:22:30.880947475Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=675.349µs grafana | logger=migrator t=2024-01-17T11:22:30.886216625Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-01-17T11:22:30.886909865Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=692.81µs grafana | logger=migrator t=2024-01-17T11:22:30.890227769Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-01-17T11:22:30.891442333Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.213403ms grafana | logger=migrator t=2024-01-17T11:22:30.894881328Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-01-17T11:22:30.894921941Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=51.244µs grafana | logger=migrator t=2024-01-17T11:22:30.900482287Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-01-17T11:22:30.901153924Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=667.577µs grafana | logger=migrator t=2024-01-17T11:22:30.904155761Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-01-17T11:22:30.905415718Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.264248ms grafana | logger=migrator t=2024-01-17T11:22:30.908643285Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-01-17T11:22:30.909651411Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=981.705µs grafana | logger=migrator t=2024-01-17T11:22:30.915401084Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-01-17T11:22:30.916031047Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=630.244µs grafana | logger=migrator t=2024-01-17T11:22:30.919136223Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-17T11:22:30.922651713Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.51493ms grafana | logger=migrator t=2024-01-17T11:22:30.925789513Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-01-17T11:22:30.926534736Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=744.823µs grafana | logger=migrator t=2024-01-17T11:22:30.932146077Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-01-17T11:22:30.933579679Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.423692ms grafana | logger=migrator t=2024-01-17T11:22:30.937196239Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-01-17T11:22:30.938321565Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.124446ms grafana | logger=migrator t=2024-01-17T11:22:30.941518188Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-01-17T11:22:30.942223018Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=704.56µs grafana | logger=migrator t=2024-01-17T11:22:30.944475511Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-01-17T11:22:30.945164661Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=688.98µs grafana | logger=migrator t=2024-01-17T11:22:30.949895805Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-01-17T11:22:30.950264147Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=368.672µs grafana | logger=migrator t=2024-01-17T11:22:30.953664149Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-01-17T11:22:30.95414892Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=479.311µs grafana | logger=migrator t=2024-01-17T11:22:30.957582694Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-01-17T11:22:30.958319496Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=742.303µs grafana | logger=migrator t=2024-01-17T11:22:30.963311044Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-01-17T11:22:30.964221701Z level=info msg="Migration successfully executed" id="create star table" duration=910.638µs grafana | logger=migrator t=2024-01-17T11:22:30.967748934Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-01-17T11:22:30.969455609Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.705835ms grafana | logger=migrator t=2024-01-17T11:22:30.973280577Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-01-17T11:22:30.973923082Z level=info msg="Migration successfully executed" id="create org table v1" duration=642.245µs grafana | logger=migrator t=2024-01-17T11:22:30.979201944Z level=info msg="Executing migration" id="create index UQE_org_name - v1" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 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-17 11:22:34+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-01-17 11:22:34 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-01-17 11:22:34 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-01-17 11:22:34 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-01-17 11:22:34 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-17 11:22:34 0 [Note] InnoDB: Buffer pool(s) dump completed at 240117 11:22:34 mariadb | 2024-01-17 11:22:34 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-01-17 11:22:34 0 [Note] InnoDB: Shutdown completed; log sequence number 328189; transaction id 298 mariadb | 2024-01-17 11:22:34 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-01-17 11:22:34+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-01-17 11:22:34+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-01-17 11:22:34 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-01-17 11:22:34 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-17 11:22:34 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-17 11:22:34 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-17 11:22:34 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-17 11:22:34 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-17 11:22:34 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-17 11:22:34 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-17 11:22:34 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-17 11:22:34 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-17 11:22:35 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-17 11:22:35 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-17 11:22:35 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-17 11:22:35 0 [Note] InnoDB: log sequence number 328189; transaction id 299 mariadb | 2024-01-17 11:22:35 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-17 11:22:35 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-17 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-17 11:22:35 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-01-17 11:22:35 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-01-17 11:22:35 0 [Note] Server socket created on IP: '::'. mariadb | 2024-01-17 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: 3306 mariadb.org binary distribution mariadb | 2024-01-17 11:22:35 0 [Note] InnoDB: Buffer pool(s) load completed at 240117 11:22:35 mariadb | 2024-01-17 11:22:35 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) mariadb | 2024-01-17 11:22:35 5 [Warning] Aborted connection 5 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:30.980418588Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.216133ms grafana | logger=migrator t=2024-01-17T11:22:30.985379843Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-01-17T11:22:30.986721987Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.348265ms grafana | logger=migrator t=2024-01-17T11:22:30.990683847Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-01-17T11:22:30.991910761Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.224775ms grafana | logger=migrator t=2024-01-17T11:22:30.995582456Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-01-17T11:22:30.99633646Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=756.764µs grafana | logger=migrator t=2024-01-17T11:22:30.999818548Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-01-17T11:22:31.000586304Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=767.595µs grafana | logger=migrator t=2024-01-17T11:22:31.005431003Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-01-17T11:22:31.005479267Z level=info msg="Migration successfully executed" id="Update org table charset" duration=49.674µs grafana | logger=migrator t=2024-01-17T11:22:31.009148879Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-01-17T11:22:31.009185792Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=38.443µs grafana | logger=migrator t=2024-01-17T11:22:31.013280225Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-01-17T11:22:31.01370529Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=420.165µs grafana | logger=migrator t=2024-01-17T11:22:31.017859727Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-01-17T11:22:31.019117303Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.258025ms grafana | logger=migrator t=2024-01-17T11:22:31.024249492Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-01-17T11:22:31.025641547Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.392436ms grafana | logger=migrator t=2024-01-17T11:22:31.029905834Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-01-17T11:22:31.031573143Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.669549ms grafana | logger=migrator t=2024-01-17T11:22:31.038176125Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-01-17T11:22:31.038925588Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=749.152µs grafana | logger=migrator t=2024-01-17T11:22:31.042376156Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-01-17T11:22:31.043166463Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=789.976µs grafana | logger=migrator t=2024-01-17T11:22:31.046813467Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-01-17T11:22:31.048023728Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.20986ms grafana | logger=migrator t=2024-01-17T11:22:31.05415969Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-01-17T11:22:31.064176398Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=10.025008ms grafana | logger=migrator t=2024-01-17T11:22:31.104155748Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-01-17T11:22:31.105223648Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=1.0725ms grafana | logger=migrator t=2024-01-17T11:22:31.109607894Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-01-17T11:22:31.110803724Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.195911ms grafana | logger=migrator t=2024-01-17T11:22:31.117119722Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-01-17T11:22:31.118354664Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.235423ms grafana | logger=migrator t=2024-01-17T11:22:31.122133591Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-01-17T11:22:31.122714459Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=580.779µs grafana | logger=migrator t=2024-01-17T11:22:31.125865732Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-01-17T11:22:31.126715883Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=849.921µs grafana | logger=migrator t=2024-01-17T11:22:31.132230924Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-01-17T11:22:31.132344113Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=112.579µs grafana | logger=migrator t=2024-01-17T11:22:31.136982141Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-01-17T11:22:31.139875503Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.897682ms 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-17T11:22:31.143489315Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-01-17T11:22:31.145257243Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.767218ms grafana | logger=migrator t=2024-01-17T11:22:31.150697487Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-01-17T11:22:31.153177465Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.478477ms grafana | logger=migrator t=2024-01-17T11:22:31.156944489Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-01-17T11:22:31.158155951Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.219623ms grafana | logger=migrator t=2024-01-17T11:22:31.161405492Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-01-17T11:22:31.163170219Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.764737ms grafana | logger=migrator t=2024-01-17T11:22:31.168767097Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-01-17T11:22:31.169977738Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.210252ms grafana | logger=migrator t=2024-01-17T11:22:31.174505266Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-01-17T11:22:31.175814796Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.30895ms grafana | logger=migrator t=2024-01-17T11:22:31.180229804Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-01-17T11:22:31.180259327Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=30.383µs grafana | logger=migrator t=2024-01-17T11:22:31.183920913Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-01-17T11:22:31.184028132Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=106.409µs grafana | logger=migrator t=2024-01-17T11:22:31.189455836Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-01-17T11:22:31.193772536Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=4.31574ms grafana | logger=migrator t=2024-01-17T11:22:31.199275576Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-01-17T11:22:31.201687868Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.412071ms grafana | logger=migrator t=2024-01-17T11:22:31.204862863Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-01-17T11:22:31.206811726Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.948253ms grafana | logger=migrator t=2024-01-17T11:22:31.212037633Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-01-17T11:22:31.214131288Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.093495ms grafana | logger=migrator t=2024-01-17T11:22:31.217557834Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-01-17T11:22:31.217736209Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=178.465µs grafana | logger=migrator t=2024-01-17T11:22:31.220156711Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-01-17T11:22:31.220909974Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=758.253µs grafana | logger=migrator t=2024-01-17T11:22:31.224171896Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-01-17T11:22:31.224848233Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=676.317µs grafana | logger=migrator t=2024-01-17T11:22:31.230210921Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-01-17T11:22:31.230255615Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=45.663µs grafana | logger=migrator t=2024-01-17T11:22:31.233649578Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-01-17T11:22:31.234855539Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.205441ms grafana | logger=migrator t=2024-01-17T11:22:31.238465221Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-01-17T11:22:31.239071131Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=607.151µs grafana | logger=migrator t=2024-01-17T11:22:31.244306579Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-17T11:22:31.251190954Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.883856ms grafana | logger=migrator t=2024-01-17T11:22:31.254651703Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-01-17T11:22:31.255261744Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=609.921µs grafana | logger=migrator t=2024-01-17T11:22:31.258655077Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-01-17T11:22:31.259384999Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=729.682µs grafana | logger=migrator t=2024-01-17T11:22:31.264771239Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-01-17T11:22:31.266056556Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.284947ms grafana | logger=migrator t=2024-01-17T11:22:31.269822771Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-01-17T11:22:31.270318833Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=496.223µs grafana | logger=migrator t=2024-01-17T11:22:31.273349006Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-01-17T11:22:31.27387851Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=529.064µs grafana | logger=migrator t=2024-01-17T11:22:31.279428894Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-01-17T11:22:31.281480636Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.051451ms grafana | logger=migrator t=2024-01-17T11:22:31.284655121Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-01-17T11:22:31.285431255Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=775.694µs grafana | logger=migrator t=2024-01-17T11:22:31.288672976Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-01-17T11:22:31.2888373Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=164.623µs grafana | logger=migrator t=2024-01-17T11:22:31.294188167Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-01-17T11:22:31.294442948Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=255.241µs grafana | logger=migrator t=2024-01-17T11:22:31.298087642Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-01-17T11:22:31.299267491Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.179679ms grafana | logger=migrator t=2024-01-17T11:22:31.302793646Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-01-17T11:22:31.304863789Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.069933ms grafana | logger=migrator t=2024-01-17T11:22:31.308051655Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-01-17T11:22:31.308818459Z level=info msg="Migration successfully executed" id="create data_source table" duration=769.014µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.313739941Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-17T11:22:31.314490593Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=750.443µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.317876317Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.318683264Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=807.227µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.321727998Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-01-17T11:22:31.3224705Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=742.282µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.327900704Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-17T11:22:31.329014757Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.113863ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.332425352Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.341042682Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.61774ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.346601237Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-01-17T11:22:31.347411454Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=809.907µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.350664626Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2024-01-17T11:22:31.351441611Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=773.805µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.354641409Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.355869171Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.227152ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.362125763Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-01-17T11:22:31.362938962Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=813.389µs 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)) grafana | logger=migrator t=2024-01-17T11:22:31.366307723Z level=info msg="Executing migration" id="Add column with_credentials" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.36998329Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.666706ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.373228141Z level=info msg="Executing migration" id="Add secure json data column" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.375599649Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.371238ms policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-01-17T11:22:31.380919904Z level=info msg="Executing migration" id="Update data_source table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.380941206Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=22.082µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-01-17T11:22:31.383877171Z level=info msg="Executing migration" id="Update initial version to 1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.384077988Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=196.196µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.387002572Z level=info msg="Executing migration" id="Add read_only data column" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.389288873Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.285681ms policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-01-17T11:22:31.392329827Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.392494551Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=164.554µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-01-17T11:22:31.397431524Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.397581316Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=159.333µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.400079415Z level=info msg="Executing migration" id="Add uid column" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.403826108Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.745633ms policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-01-17T11:22:31.407041156Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.407308659Z level=info msg="Migration successfully executed" id="Update uid value" duration=267.462µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-01-17T11:22:31.412698829Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.413596145Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=896.976µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.41665124Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.417990981Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.312809ms policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-01-17T11:22:31.421365024Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.422543552Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.177968ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-17T11:22:31.428464907Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.42946054Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=995.242µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.432720893Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.434078986Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.357683ms policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-01-17T11:22:31.437443827Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.438870137Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.416068ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-17T11:22:31.44610125Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.446863945Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=768.324µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.449876056Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.451136971Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.261245ms 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)) grafana | logger=migrator t=2024-01-17T11:22:31.454685827Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.455924972Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.239014ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.461364216Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.47027166Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.906774ms policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-01-17T11:22:31.473308054Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.473962518Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=654.164µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-01-17T11:22:31.479095127Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.479831949Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=736.161µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.482833069Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.483700402Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=866.103µs policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-01-17T11:22:31.486895729Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.488169395Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.272806ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-17T11:22:31.492774Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.493115819Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=341.609µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.496387112Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.496936098Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=548.786µs policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-01-17T11:22:31.548362515Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.548452823Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=87.327µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-01-17T11:22:31.555885594Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.560361778Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.476243ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.563888712Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.567373194Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.484122ms policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-01-17T11:22:31.574263699Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.574575705Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=315.056µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.578065977Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.580927856Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.861499ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.588163981Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-01-17T11:22:31.59174123Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=3.578998ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.600088267Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-17T11:22:31.600638603Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=548.455µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.604266577Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.604814342Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=548.206µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.60837855Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-01-17T11:22:31.609109162Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=730.401µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.613916983Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-01-17T11:22:31.615757977Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.839294ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.620193117Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.622152551Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.970715ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.626170567Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-01-17T11:22:31.627178891Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.007554ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.635272657Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-01-17T11:22:31.635348494Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=77.017µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-17T11:22:31.640051137Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.640078379Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=28.282µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.644018918Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.650166822Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=6.146803ms policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-01-17T11:22:31.654188368Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.657594423Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.400184ms grafana | logger=migrator t=2024-01-17T11:22:31.662380883Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-01-17T11:22:31.66246246Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=81.847µs grafana | logger=migrator t=2024-01-17T11:22:31.708106233Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-01-17T11:22:31.709328425Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.221452ms grafana | logger=migrator t=2024-01-17T11:22:31.71620645Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-17T11:22:31.717127097Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=919.867µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.722010125Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.722036247Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=27.262µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.724732633Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-01-17T11:22:31.725435041Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=702.179µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.728639529Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-01-17T11:22:31.729471058Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=831.129µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.733781469Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.736732675Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.950647ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.740475677Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-01-17T11:22:31.74050313Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=29.533µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.809943232Z level=info msg="Executing migration" id="create session table" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-01-17T11:22:31.811386983Z level=info msg="Migration successfully executed" id="create session table" duration=1.444771ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.815281828Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.815368426Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=87.127µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.819872452Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-01-17T11:22:31.819973361Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=81.307µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.823779368Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-01-17T11:22:31.825169475Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.393207ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.830753022Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.831910808Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.157347ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.836560317Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-01-17T11:22:31.836614381Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=62.345µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.841098705Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-01-17T11:22:31.841126958Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=28.903µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.846340804Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.850030063Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.687859ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.856133312Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-01-17T11:22:31.8593393Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.206448ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.862708291Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-01-17T11:22:31.862823221Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=114.87µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.873722512Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.873922888Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=202.137µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.880421041Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-01-17T11:22:31.881862552Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.43143ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.887120511Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-01-17T11:22:31.887195228Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=75.867µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.891195952Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.894572113Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.376692ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.898137982Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-01-17T11:22:31.898320647Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=183.195µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.903767033Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-01-17T11:22:31.907439919Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.674687ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.912147583Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.915360081Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.212428ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.918595161Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-01-17T11:22:31.91869751Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=94.788µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.923092487Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-01-17T11:22:31.924198379Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.098772ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.930394977Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.931419023Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.027326ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.935059307Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-01-17T11:22:31.936050119Z level=info msg="Migration successfully executed" id="create alert table v1" duration=990.742µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.940249891Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.941136645Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=886.434µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.945779073Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-01-17T11:22:31.94658758Z level=info msg="Migration successfully executed" id="add index alert state" duration=808.227µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.993090456Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-01-17T11:22:31.994121592Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.033786ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:31.997216821Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:31.997870315Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=653.465µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.002907616Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-01-17T11:22:32.003733375Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=825.499µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.006752936Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-01-17T11:22:32.007497109Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=744.123µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.010519431Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.024131895Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.607784ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.031426292Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-01-17T11:22:32.03247305Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=1.049328ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.036208211Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-01-17T11:22:32.037032959Z 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=824.888µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.039528648Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.039816981Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=288.544µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.044532575Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-01-17T11:22:32.045370134Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=837.85µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.04868583Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-17T11:22:32.049479937Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=794.757µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.052601967Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.056491571Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.892954ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.061363717Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-01-17T11:22:32.06500301Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.639163ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.06812831Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-17T11:22:32.072071949Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.942829ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.075150256Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.078814231Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.663865ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.083434146Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-01-17T11:22:32.084520636Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.08271ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.087991135Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-17T11:22:32.088020918Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=30.512µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.091184742Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.091206904Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=24.662µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.094149009Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-01-17T11:22:32.094840536Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=691.577µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.100223735Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-17T11:22:32.101144271Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=920.406µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.104578277Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.105845083Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.265606ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.111406977Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-01-17T11:22:32.112278179Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=870.232µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.115629368Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 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-17T11:22:32.116691307Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.0684ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.120039226Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.12380743Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.762963ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.128634482Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.132400315Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.765113ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-17T11:22:32.136471055Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.136684413Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=220.189µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.139860657Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.141007673Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.153475ms policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-01-17T11:22:32.145871838Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.146696046Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=824.978µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-17T11:22:32.150735874Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.153511675Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=2.775512ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.156390425Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.156484052Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=94.277µs policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-01-17T11:22:32.159566339Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.16041466Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=847.8µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-17T11:22:32.165476071Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.166567072Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.093521ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.169864878Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.169969336Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=104.849µs policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-01-17T11:22:32.172350485Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.173078815Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=728.24µs policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-17T11:22:32.178191711Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.17961897Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.426969ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.183156784Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.18465522Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.483704ms policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-01-17T11:22:32.187909571Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.188793634Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=883.884µs policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-17T11:22:32.19366499Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.195270094Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.596183ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.199322882Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.200962009Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.633357ms policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-01-17T11:22:32.206168642Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.206190784Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=28.092µs grafana | logger=migrator t=2024-01-17T11:22:32.20854891Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-01-17T11:22:32.212548444Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.998814ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-17T11:22:32.215738589Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.216552917Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=814.188µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.222221639Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.228918948Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.695739ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-01-17T11:22:32.232383306Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.232975595Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=591.999µs policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-01-17T11:22:32.236224346Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.237082628Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=850.951µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.241756727Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.243083018Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.334442ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-17T11:22:32.246374682Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.264212188Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=17.839026ms policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-01-17T11:22:32.267208838Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.267659066Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=448.919µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.271749936Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.272658462Z 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=908.335µs policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-01-17T11:22:32.275545252Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.275827946Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=282.593µs policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.278695445Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.27923482Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=539.365µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.284035199Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-01-17T11:22:32.284305503Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=270.654µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.287559724Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2024-01-17T11:22:32.293941635Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.386012ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.297199007Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.301140316Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.941049ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.30420052Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-01-17T11:22:32.305025829Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=824.859µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.309669646Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2024-01-17T11:22:32.310499615Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=825.099µs grafana | logger=migrator t=2024-01-17T11:22:32.31392143Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.314292341Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=371.11µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.317676322Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.323378398Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.702545ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-01-17T11:22:32.328176418Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.329022148Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=845.191µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.332319613Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.332474116Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=154.613µs policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-01-17T11:22:32.335857538Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.336518043Z level=info msg="Migration successfully executed" id="Move region to single row" duration=652.284µs policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-01-17T11:22:32.341384348Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.342688877Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.313319ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.346496024Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.347813014Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.313989ms policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-17T11:22:32.3515997Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.352513296Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=913.035µs policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-01-17T11:22:32.356946374Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.357861521Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=919.667µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.361352692Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.362129546Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=776.474µs policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-17T11:22:32.366744021Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.367664158Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=918.446µs policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-01-17T11:22:32.465051562Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-01-17T11:22:32.465191924Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=143.832µ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-17T11:22:32.469397375Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-01-17T11:22:32.470695772Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.289817ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.475275314Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.476566771Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.281446ms policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.483477598Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-17T11:22:32.48435235Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=876.403µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.48782548Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-01-17T11:22:32.489593497Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.769818ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.493532565Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.493854552Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=322.456µs policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:32.499804537Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.500200731Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=395.584µs 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)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-17T11:22:32.50355163Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-01-17T11:22:32.503620486Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=68.646µs grafana | logger=migrator t=2024-01-17T11:22:32.506960044Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-01-17T11:22:32.507747019Z level=info msg="Migration successfully executed" id="create team table" duration=789.896µs grafana | logger=migrator t=2024-01-17T11:22:32.511377632Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-01-17T11:22:32.512921081Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.542758ms grafana | logger=migrator t=2024-01-17T11:22:32.517757704Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-01-17T11:22:32.518635277Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=876.812µs grafana | logger=migrator t=2024-01-17T11:22:32.522331264Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-01-17T11:22:32.529890304Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.55865ms grafana | logger=migrator t=2024-01-17T11:22:32.534130218Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-01-17T11:22:32.534252338Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=122.35µs grafana | logger=migrator t=2024-01-17T11:22:32.537407001Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-01-17T11:22:32.538049954Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=642.693µs grafana | logger=migrator t=2024-01-17T11:22:32.541284704Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-01-17T11:22:32.542373875Z level=info msg="Migration successfully executed" id="create team member table" duration=1.089172ms grafana | logger=migrator t=2024-01-17T11:22:32.546252188Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-01-17T11:22:32.547619082Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.366475ms grafana | logger=migrator t=2024-01-17T11:22:32.552155309Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-01-17T11:22:32.553536015Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.380976ms grafana | logger=migrator t=2024-01-17T11:22:32.556645284Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-01-17T11:22:32.557552349Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=906.645µs grafana | logger=migrator t=2024-01-17T11:22:32.560839273Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-01-17T11:22:32.565326797Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.487464ms grafana | logger=migrator t=2024-01-17T11:22:32.569465212Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-01-17T11:22:32.573969597Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.503976ms grafana | logger=migrator t=2024-01-17T11:22:32.577227359Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-01-17T11:22:32.581634686Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.404718ms grafana | logger=migrator t=2024-01-17T11:22:32.58492265Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-01-17T11:22:32.585725477Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=802.566µs grafana | logger=migrator t=2024-01-17T11:22:32.591064972Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-01-17T11:22:32.591924603Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=859.072µs grafana | logger=migrator t=2024-01-17T11:22:32.595537435Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-01-17T11:22:32.596558979Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.020845ms grafana | logger=migrator t=2024-01-17T11:22:32.600853038Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-01-17T11:22:32.60197303Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.118653ms grafana | logger=migrator t=2024-01-17T11:22:32.608401726Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-01-17T11:22:32.609796543Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.394486ms grafana | logger=migrator t=2024-01-17T11:22:32.613314235Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-01-17T11:22:32.61457463Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.259765ms grafana | logger=migrator t=2024-01-17T11:22:32.619559626Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-01-17T11:22:32.620628945Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.06941ms grafana | logger=migrator t=2024-01-17T11:22:32.623819141Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-01-17T11:22:32.62598373Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=2.164109ms grafana | logger=migrator t=2024-01-17T11:22:32.629295377Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-01-17T11:22:32.630063741Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=778.435µs grafana | logger=migrator t=2024-01-17T11:22:32.63569373Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-01-17T11:22:32.635907838Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=214.198µs grafana | logger=migrator t=2024-01-17T11:22:32.640761903Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-01-17T11:22:32.641959332Z level=info msg="Migration successfully executed" id="create tag table" duration=1.188139ms grafana | logger=migrator t=2024-01-17T11:22:32.645431211Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-01-17T11:22:32.646841629Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.410218ms grafana | logger=migrator t=2024-01-17T11:22:32.651602046Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-01-17T11:22:32.652282552Z level=info msg="Migration successfully executed" id="create login attempt table" duration=679.966µs grafana | logger=migrator t=2024-01-17T11:22:32.655194375Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-01-17T11:22:32.656082309Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=887.653µs grafana | logger=migrator t=2024-01-17T11:22:32.659279775Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-01-17T11:22:32.660725906Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.411028ms grafana | logger=migrator t=2024-01-17T11:22:32.666239285Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-17T11:22:32.684778209Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.539064ms grafana | logger=migrator t=2024-01-17T11:22:32.952478214Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-01-17T11:22:32.953840088Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=1.363794ms grafana | logger=migrator t=2024-01-17T11:22:32.960632464Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-01-17T11:22:32.962294473Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.661218ms grafana | logger=migrator t=2024-01-17T11:22:32.968178793Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-01-17T11:22:32.968968088Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=789.075µs grafana | logger=migrator t=2024-01-17T11:22:32.973171788Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-01-17T11:22:32.973805982Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=634.274µs grafana | logger=migrator t=2024-01-17T11:22:32.977116177Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-01-17T11:22:32.978252692Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.136074ms grafana | logger=migrator t=2024-01-17T11:22:32.983711437Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-01-17T11:22:32.985274367Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.570961ms grafana | logger=migrator t=2024-01-17T11:22:32.988962564Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-01-17T11:22:32.989108456Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=147.002µs grafana | logger=migrator t=2024-01-17T11:22:32.992795243Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-01-17T11:22:33.001454376Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.658912ms grafana | logger=migrator t=2024-01-17T11:22:33.007267342Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-01-17T11:22:33.010850619Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.581227ms grafana | logger=migrator t=2024-01-17T11:22:33.014397151Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-01-17T11:22:33.019388488Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.991007ms grafana | logger=migrator t=2024-01-17T11:22:33.022595191Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-01-17T11:22:33.027538934Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.941452ms grafana | logger=migrator t=2024-01-17T11:22:33.032449473Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-01-17T11:22:33.033410405Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=960.931µs grafana | logger=migrator t=2024-01-17T11:22:33.036681194Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-01-17T11:22:33.044903925Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.213481ms grafana | logger=migrator t=2024-01-17T11:22:33.0488326Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-01-17T11:22:33.049699045Z level=info msg="Migration successfully executed" id="create server_lock table" duration=866.155µs grafana | logger=migrator t=2024-01-17T11:22:33.054623994Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-01-17T11:22:33.055581847Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=957.493µs grafana | logger=migrator t=2024-01-17T11:22:33.059082265Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-01-17T11:22:33.0604139Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.331444ms grafana | logger=migrator t=2024-01-17T11:22:33.063738773Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-01-17T11:22:33.064742678Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.003635ms grafana | logger=migrator t=2024-01-17T11:22:33.071365743Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-01-17T11:22:33.072938028Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.570515ms grafana | logger=migrator t=2024-01-17T11:22:33.076276893Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-01-17T11:22:33.077912623Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.63538ms grafana | logger=migrator t=2024-01-17T11:22:33.081471506Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-01-17T11:22:33.086839804Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.367708ms grafana | logger=migrator t=2024-01-17T11:22:33.0918254Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-01-17T11:22:33.092855368Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.035168ms grafana | logger=migrator t=2024-01-17T11:22:33.232015205Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-01-17T11:22:33.233384621Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.371607ms grafana | logger=migrator t=2024-01-17T11:22:33.23710748Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-01-17T11:22:33.238691614Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.577904ms grafana | logger=migrator t=2024-01-17T11:22:33.243714603Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-01-17T11:22:33.244648963Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=933.989µs grafana | logger=migrator t=2024-01-17T11:22:33.247946374Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-01-17T11:22:33.249262317Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.313202ms grafana | logger=migrator t=2024-01-17T11:22:33.252520404Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-01-17T11:22:33.252621933Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=102.699µs grafana | logger=migrator t=2024-01-17T11:22:33.25726998Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-01-17T11:22:33.257406792Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=128.071µs grafana | logger=migrator t=2024-01-17T11:22:33.261163252Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-01-17T11:22:33.262385317Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.221785ms grafana | logger=migrator t=2024-01-17T11:22:33.267063776Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-17T11:22:33.268614348Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.550063ms policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.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 | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:33.313788834Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-17T11:22:33.315334036Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.549233ms grafana | logger=migrator t=2024-01-17T11:22:33.367380227Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-17T11:22:33.367492377Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=112.54µs grafana | logger=migrator t=2024-01-17T11:22:33.460153575Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-17T11:22:33.462105472Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.951477ms grafana | logger=migrator t=2024-01-17T11:22:33.468222874Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-17T11:22:33.469279774Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.056489ms grafana | logger=migrator t=2024-01-17T11:22:33.47403154Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-17T11:22:33.475049407Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.021208ms grafana | logger=migrator t=2024-01-17T11:22:33.479554511Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-17T11:22:33.480598261Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.04751ms grafana | logger=migrator t=2024-01-17T11:22:33.486004991Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-01-17T11:22:33.494352134Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.342612ms grafana | logger=migrator t=2024-01-17T11:22:33.497772026Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-01-17T11:22:33.498721957Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=949.121µs grafana | logger=migrator t=2024-01-17T11:22:33.502948648Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-01-17T11:22:33.503061448Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=113.02µs grafana | logger=migrator t=2024-01-17T11:22:33.507569582Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-01-17T11:22:33.508464608Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=894.786µs grafana | logger=migrator t=2024-01-17T11:22:33.513732558Z 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-17T11:22:33.515497429Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.756001ms grafana | logger=migrator t=2024-01-17T11:22:33.55382101Z 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-17T11:22:33.555802778Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.981579ms grafana | logger=migrator t=2024-01-17T11:22:33.560224646Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-17T11:22:33.560362138Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=138.331µs grafana | logger=migrator t=2024-01-17T11:22:33.565654129Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-01-17T11:22:33.566620772Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=966.222µs grafana | logger=migrator t=2024-01-17T11:22:33.570899467Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-01-17T11:22:33.572428787Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.520059ms grafana | logger=migrator t=2024-01-17T11:22:33.576048467Z 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-17T11:22:33.577087125Z 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.038518ms grafana | logger=migrator t=2024-01-17T11:22:33.580435521Z 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-17T11:22:33.581427016Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=990.885µs grafana | logger=migrator t=2024-01-17T11:22:33.586780772Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-01-17T11:22:33.592736661Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.955509ms policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | TRUNCATE TABLE sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-17T11:22:33.596871424Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-17T11:22:33.597865428Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=994.005µs grafana | logger=migrator t=2024-01-17T11:22:33.601520361Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-17T11:22:33.602488943Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=968.323µs grafana | logger=migrator t=2024-01-17T11:22:33.606588203Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-01-17T11:22:33.64405015Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=37.463997ms grafana | logger=migrator t=2024-01-17T11:22:33.647276935Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-01-17T11:22:33.688712502Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=41.396204ms grafana | logger=migrator t=2024-01-17T11:22:33.692841394Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-17T11:22:33.693801627Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=963.672µs grafana | logger=migrator t=2024-01-17T11:22:33.698406009Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-17T11:22:33.69946817Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.061221ms grafana | logger=migrator t=2024-01-17T11:22:33.703646616Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-01-17T11:22:33.709770069Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.124632ms grafana | logger=migrator t=2024-01-17T11:22:33.71435567Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-01-17T11:22:33.715481336Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.125646ms grafana | logger=migrator t=2024-01-17T11:22:33.721562966Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-01-17T11:22:33.722679721Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.116305ms grafana | logger=migrator t=2024-01-17T11:22:33.726968536Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-01-17T11:22:33.728102774Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.133428ms grafana | logger=migrator t=2024-01-17T11:22:33.731595232Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-01-17T11:22:33.732840538Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.244477ms grafana | logger=migrator t=2024-01-17T11:22:33.738155721Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-17T11:22:33.738336207Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=180.346µs grafana | logger=migrator t=2024-01-17T11:22:33.816371797Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-01-17T11:22:33.825153327Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=8.77733ms grafana | logger=migrator t=2024-01-17T11:22:33.828663846Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-01-17T11:22:33.83456816Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.903614ms grafana | logger=migrator t=2024-01-17T11:22:33.839847121Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-01-17T11:22:33.845801339Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.954098ms grafana | logger=migrator t=2024-01-17T11:22:33.850755492Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-01-17T11:22:33.851777949Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.022507ms grafana | logger=migrator t=2024-01-17T11:22:33.856465819Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-01-17T11:22:33.857487096Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.021047ms grafana | logger=migrator t=2024-01-17T11:22:33.861852479Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-01-17T11:22:33.867792686Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.937156ms grafana | logger=migrator t=2024-01-17T11:22:33.873066026Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-01-17T11:22:33.880085615Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=7.017638ms grafana | logger=migrator t=2024-01-17T11:22:33.884547426Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-01-17T11:22:33.885598955Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.050889ms grafana | logger=migrator t=2024-01-17T11:22:33.892015253Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-01-17T11:22:33.901200837Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.183585ms grafana | logger=migrator t=2024-01-17T11:22:33.90534528Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-01-17T11:22:33.909704513Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.358783ms grafana | logger=migrator t=2024-01-17T11:22:33.913361775Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-01-17T11:22:33.913462393Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=100.538µs policy-db-migrator | policyadmin: OK: upgrade (1300) policy-db-migrator | name version policy-db-migrator | policyadmin 1300 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:36 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 grafana | logger=migrator t=2024-01-17T11:22:33.920213739Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-01-17T11:22:33.921934356Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.720117ms grafana | logger=migrator t=2024-01-17T11:22:33.930038388Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2024-01-17T11:22:33.932686314Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=2.647186ms grafana | logger=migrator t=2024-01-17T11:22:33.940436016Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2024-01-17T11:22:33.941791911Z 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.355465ms grafana | logger=migrator t=2024-01-17T11:22:33.948651607Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-17T11:22:33.948971544Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=319.657µs grafana | logger=migrator t=2024-01-17T11:22:33.953485839Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-01-17T11:22:33.959828021Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.343232ms grafana | logger=migrator t=2024-01-17T11:22:33.964777893Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-01-17T11:22:33.970148711Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=5.370449ms grafana | logger=migrator t=2024-01-17T11:22:33.974016962Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-01-17T11:22:33.980276606Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.259334ms grafana | logger=migrator t=2024-01-17T11:22:33.985195156Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-01-17T11:22:33.990848648Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=5.653622ms grafana | logger=migrator t=2024-01-17T11:22:33.99485918Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-01-17T11:22:33.999239934Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=4.380354ms grafana | logger=migrator t=2024-01-17T11:22:34.005962267Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-01-17T11:22:34.006159254Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=196.937µs grafana | logger=migrator t=2024-01-17T11:22:34.011002496Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-01-17T11:22:34.01257245Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.569343ms grafana | logger=migrator t=2024-01-17T11:22:34.016507595Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-01-17T11:22:34.024844405Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.333329ms grafana | logger=migrator t=2024-01-17T11:22:34.029562955Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-01-17T11:22:34.02972858Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=164.895µs grafana | logger=migrator t=2024-01-17T11:22:34.035064054Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-01-17T11:22:34.044865918Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.806775ms grafana | logger=migrator t=2024-01-17T11:22:34.050231115Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-01-17T11:22:34.051069866Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=839.451µs grafana | logger=migrator t=2024-01-17T11:22:34.055414626Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-01-17T11:22:34.062349986Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.93483ms grafana | logger=migrator t=2024-01-17T11:22:34.068395391Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-01-17T11:22:34.069151056Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=749.705µs grafana | logger=migrator t=2024-01-17T11:22:34.076442406Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-01-17T11:22:34.07813363Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.690905ms grafana | logger=migrator t=2024-01-17T11:22:34.083981187Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-01-17T11:22:34.092134321Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=8.148934ms grafana | logger=migrator t=2024-01-17T11:22:34.097026008Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-01-17T11:22:34.09787103Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=841.301µs grafana | logger=migrator t=2024-01-17T11:22:34.103126317Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-01-17T11:22:34.104286505Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.163799ms grafana | logger=migrator t=2024-01-17T11:22:34.110736234Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-01-17T11:22:34.111536853Z level=info msg="Migration successfully executed" id="create alert_image table" duration=796.278µs grafana | logger=migrator t=2024-01-17T11:22:34.122610025Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-01-17T11:22:34.124484654Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.874529ms grafana | logger=migrator t=2024-01-17T11:22:34.12913165Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-01-17T11:22:34.12936945Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=237.49µs grafana | logger=migrator t=2024-01-17T11:22:34.133885665Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-01-17T11:22:34.135513453Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.627347ms policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:37 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:38 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1701241122350800u 1 2024-01-17 11:22:39 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1701241122350900u 1 2024-01-17 11:22:40 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1701241122350900u 1 2024-01-17 11:22:40 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1701241122350900u 1 2024-01-17 11:22:40 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1701241122350900u 1 2024-01-17 11:22:40 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1701241122350900u 1 2024-01-17 11:22:40 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1701241122350900u 1 2024-01-17 11:22:40 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1701241122350900u 1 2024-01-17 11:22:40 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1701241122350900u 1 2024-01-17 11:22:40 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1701241122350900u 1 2024-01-17 11:22:40 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1701241122350900u 1 2024-01-17 11:22:40 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1701241122350900u 1 2024-01-17 11:22:40 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1701241122350900u 1 2024-01-17 11:22:40 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1701241122350900u 1 2024-01-17 11:22:40 grafana | logger=migrator t=2024-01-17T11:22:34.139876095Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-01-17T11:22:34.140875329Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.001195ms grafana | logger=migrator t=2024-01-17T11:22:34.146374247Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-01-17T11:22:34.147096899Z 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-17T11:22:34.15403469Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-01-17T11:22:34.154782433Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=747.394µs grafana | logger=migrator t=2024-01-17T11:22:34.158580947Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-01-17T11:22:34.1603842Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.803002ms grafana | logger=migrator t=2024-01-17T11:22:34.164753342Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-01-17T11:22:34.171439861Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.686108ms grafana | logger=migrator t=2024-01-17T11:22:34.178822619Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-01-17T11:22:34.18001251Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.188341ms grafana | logger=migrator t=2024-01-17T11:22:34.184385693Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-01-17T11:22:34.186286054Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.899821ms grafana | logger=migrator t=2024-01-17T11:22:34.229687368Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-01-17T11:22:34.230994979Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.29844ms grafana | logger=migrator t=2024-01-17T11:22:34.238445803Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-01-17T11:22:34.240574945Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=2.128111ms grafana | logger=migrator t=2024-01-17T11:22:34.245721603Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-01-17T11:22:34.246897183Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.174799ms grafana | logger=migrator t=2024-01-17T11:22:34.252993831Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-01-17T11:22:34.253045236Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=52.765µs grafana | logger=migrator t=2024-01-17T11:22:34.258706968Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-01-17T11:22:34.258963259Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=255.792µs grafana | logger=migrator t=2024-01-17T11:22:34.264409273Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-01-17T11:22:34.265002624Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=592.821µs grafana | logger=migrator t=2024-01-17T11:22:34.270873824Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-01-17T11:22:34.27224828Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.376027ms grafana | logger=migrator t=2024-01-17T11:22:34.278577019Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-01-17T11:22:34.279487817Z level=info msg="Migration successfully executed" id="create secrets table" duration=910.349µs grafana | logger=migrator t=2024-01-17T11:22:34.286706171Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-01-17T11:22:34.336717227Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=50.009247ms grafana | logger=migrator t=2024-01-17T11:22:34.340722208Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-01-17T11:22:34.345784848Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.06232ms grafana | logger=migrator t=2024-01-17T11:22:34.351126983Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-01-17T11:22:34.351372924Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=245.421µs grafana | logger=migrator t=2024-01-17T11:22:34.358441536Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-01-17T11:22:34.40643235Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=47.992114ms grafana | logger=migrator t=2024-01-17T11:22:34.41336833Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-01-17T11:22:34.458736172Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=45.372332ms grafana | logger=migrator t=2024-01-17T11:22:34.461898971Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-01-17T11:22:34.462501582Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=602.381µs grafana | logger=migrator t=2024-01-17T11:22:34.467383848Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-01-17T11:22:34.468443908Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.05951ms grafana | logger=migrator t=2024-01-17T11:22:34.471710966Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-01-17T11:22:34.472008701Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=293.204µs grafana | logger=migrator t=2024-01-17T11:22:34.475237287Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-01-17T11:22:34.476464811Z level=info msg="Migration successfully executed" id="create permission table" duration=1.227104ms grafana | logger=migrator t=2024-01-17T11:22:34.481774863Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-01-17T11:22:34.482830302Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.049309ms policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1701241122351000u 1 2024-01-17 11:22:40 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1701241122351000u 1 2024-01-17 11:22:40 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1701241122351000u 1 2024-01-17 11:22:40 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1701241122351000u 1 2024-01-17 11:22:40 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1701241122351000u 1 2024-01-17 11:22:40 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1701241122351000u 1 2024-01-17 11:22:40 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1701241122351000u 1 2024-01-17 11:22:40 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1701241122351000u 1 2024-01-17 11:22:40 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1701241122351000u 1 2024-01-17 11:22:41 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1701241122351100u 1 2024-01-17 11:22:41 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1701241122351200u 1 2024-01-17 11:22:41 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1701241122351200u 1 2024-01-17 11:22:41 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1701241122351200u 1 2024-01-17 11:22:41 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1701241122351200u 1 2024-01-17 11:22:41 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1701241122351300u 1 2024-01-17 11:22:41 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1701241122351300u 1 2024-01-17 11:22:41 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1701241122351300u 1 2024-01-17 11:22:41 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-01-17T11:22:34.487407822Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-01-17T11:22:34.488551049Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.142487ms grafana | logger=migrator t=2024-01-17T11:22:34.491859391Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-01-17T11:22:34.492702023Z level=info msg="Migration successfully executed" id="create role table" duration=842.222µs grafana | logger=migrator t=2024-01-17T11:22:34.496121314Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-01-17T11:22:34.503415645Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.294102ms grafana | logger=migrator t=2024-01-17T11:22:34.507908507Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-01-17T11:22:34.515100979Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.192113ms grafana | logger=migrator t=2024-01-17T11:22:34.518501848Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-01-17T11:22:34.519495473Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=993.344µs grafana | logger=migrator t=2024-01-17T11:22:34.522912884Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-01-17T11:22:34.524003207Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.086922ms grafana | logger=migrator t=2024-01-17T11:22:34.528129667Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-01-17T11:22:34.529202349Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.072122ms grafana | logger=migrator t=2024-01-17T11:22:34.533024994Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-01-17T11:22:34.533882158Z level=info msg="Migration successfully executed" id="create team role table" duration=855.684µs grafana | logger=migrator t=2024-01-17T11:22:34.537952964Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-01-17T11:22:34.539658919Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.705515ms grafana | logger=migrator t=2024-01-17T11:22:34.544111828Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-01-17T11:22:34.545339003Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.226635ms grafana | logger=migrator t=2024-01-17T11:22:34.548944919Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-01-17T11:22:34.55001428Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.071991ms grafana | logger=migrator t=2024-01-17T11:22:34.554213768Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-01-17T11:22:34.555015506Z level=info msg="Migration successfully executed" id="create user role table" duration=798.487µs grafana | logger=migrator t=2024-01-17T11:22:34.559717626Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-01-17T11:22:34.561006916Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.282879ms grafana | logger=migrator t=2024-01-17T11:22:34.564690329Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-01-17T11:22:34.566548787Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.857768ms grafana | logger=migrator t=2024-01-17T11:22:34.570316619Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-01-17T11:22:34.57175401Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.438732ms grafana | logger=migrator t=2024-01-17T11:22:34.577897543Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-01-17T11:22:34.578647657Z level=info msg="Migration successfully executed" id="create builtin role table" duration=742.693µs grafana | logger=migrator t=2024-01-17T11:22:34.582418398Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-01-17T11:22:34.583524182Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.098193ms grafana | logger=migrator t=2024-01-17T11:22:34.587037181Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-01-17T11:22:34.588184659Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.147078ms grafana | logger=migrator t=2024-01-17T11:22:34.59301325Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-01-17T11:22:34.600627498Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.613747ms grafana | logger=migrator t=2024-01-17T11:22:34.671403252Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-01-17T11:22:34.672632006Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.229174ms grafana | logger=migrator t=2024-01-17T11:22:34.68277432Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-01-17T11:22:34.684581953Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.807403ms grafana | logger=migrator t=2024-01-17T11:22:34.695085977Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-01-17T11:22:34.69652107Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.434012ms grafana | logger=migrator t=2024-01-17T11:22:34.704628229Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-01-17T11:22:34.706493088Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.864619ms grafana | logger=migrator t=2024-01-17T11:22:34.715242302Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-01-17T11:22:34.716048051Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=800.759µs grafana | logger=migrator t=2024-01-17T11:22:34.725174578Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-01-17T11:22:34.727030365Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.854997ms grafana | logger=migrator t=2024-01-17T11:22:34.735749448Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-01-17T11:22:34.743552081Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.802533ms grafana | logger=migrator t=2024-01-17T11:22:34.7871258Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-01-17T11:22:34.798496748Z level=info msg="Migration successfully executed" id="permission kind migration" duration=11.377538ms grafana | logger=migrator t=2024-01-17T11:22:34.803671579Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-01-17T11:22:34.811696392Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.024304ms grafana | logger=migrator t=2024-01-17T11:22:34.815188899Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-01-17T11:22:34.82072289Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.533741ms grafana | logger=migrator t=2024-01-17T11:22:34.825207161Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-01-17T11:22:34.826293774Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.086373ms grafana | logger=migrator t=2024-01-17T11:22:34.830521573Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-01-17T11:22:34.831873889Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.352205ms grafana | logger=migrator t=2024-01-17T11:22:34.837722476Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-01-17T11:22:34.839559183Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.841317ms grafana | logger=migrator t=2024-01-17T11:22:34.84293141Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-01-17T11:22:34.843010387Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=79.377µs grafana | logger=migrator t=2024-01-17T11:22:34.846161915Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-01-17T11:22:34.846195378Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=34.322µs grafana | logger=migrator t=2024-01-17T11:22:34.850779218Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-01-17T11:22:34.851562154Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=758.594µs grafana | logger=migrator t=2024-01-17T11:22:34.855376439Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-01-17T11:22:34.856346792Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=978.814µs grafana | logger=migrator t=2024-01-17T11:22:34.860098831Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-01-17T11:22:34.860724244Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=625.723µs grafana | logger=migrator t=2024-01-17T11:22:34.864188008Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-01-17T11:22:34.864399676Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=208.758µs grafana | logger=migrator t=2024-01-17T11:22:34.869554325Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-01-17T11:22:34.870115064Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=560.438µs grafana | logger=migrator t=2024-01-17T11:22:34.875081956Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-01-17T11:22:34.876429961Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.347496ms grafana | logger=migrator t=2024-01-17T11:22:34.914652113Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-01-17T11:22:34.916474969Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.822656ms grafana | logger=migrator t=2024-01-17T11:22:34.921141936Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-01-17T11:22:34.929383838Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.250672ms grafana | logger=migrator t=2024-01-17T11:22:34.934888176Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-01-17T11:22:34.934959802Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=72.396µs grafana | logger=migrator t=2024-01-17T11:22:34.938951732Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-01-17T11:22:34.940386004Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.433513ms grafana | logger=migrator t=2024-01-17T11:22:34.944743615Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-01-17T11:22:34.94668197Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.928925ms grafana | logger=migrator t=2024-01-17T11:22:34.953794055Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-01-17T11:22:34.954922781Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.128387ms grafana | logger=migrator t=2024-01-17T11:22:34.960028676Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-01-17T11:22:34.970531289Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.508384ms grafana | logger=migrator t=2024-01-17T11:22:34.976052049Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-01-17T11:22:34.977126461Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.072502ms grafana | logger=migrator t=2024-01-17T11:22:34.980739138Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-01-17T11:22:34.981806719Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.06358ms grafana | logger=migrator t=2024-01-17T11:22:34.985837522Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-17T11:22:35.014875003Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=29.036971ms grafana | logger=migrator t=2024-01-17T11:22:35.022251451Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-01-17T11:22:35.023330533Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.078442ms grafana | logger=migrator t=2024-01-17T11:22:35.027426932Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-01-17T11:22:35.028676458Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.245925ms grafana | logger=migrator t=2024-01-17T11:22:35.032800459Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-01-17T11:22:35.034249852Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.447793ms grafana | logger=migrator t=2024-01-17T11:22:35.040485733Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-01-17T11:22:35.042574461Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=2.087657ms grafana | logger=migrator t=2024-01-17T11:22:35.051944628Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-01-17T11:22:35.052369205Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=434.208µs grafana | logger=migrator t=2024-01-17T11:22:35.096285712Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-01-17T11:22:35.097584133Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.298551ms grafana | logger=migrator t=2024-01-17T11:22:35.102675226Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-01-17T11:22:35.111213033Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.537387ms grafana | logger=migrator t=2024-01-17T11:22:35.114398024Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-01-17T11:22:35.115203162Z level=info msg="Migration successfully executed" id="create entity_events table" duration=805.388µs grafana | logger=migrator t=2024-01-17T11:22:35.119530621Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-01-17T11:22:35.120499903Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=969.302µs grafana | logger=migrator t=2024-01-17T11:22:35.123763581Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-17T11:22:35.124291155Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-17T11:22:35.127325994Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-17T11:22:35.127816836Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-17T11:22:35.130989036Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-01-17T11:22:35.131842058Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=852.922µs grafana | logger=migrator t=2024-01-17T11:22:35.135916715Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-01-17T11:22:35.136850325Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=933.491µs grafana | logger=migrator t=2024-01-17T11:22:35.139913545Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-17T11:22:35.141083785Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.169709ms grafana | logger=migrator t=2024-01-17T11:22:35.145499521Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-17T11:22:35.146693452Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.193791ms grafana | logger=migrator t=2024-01-17T11:22:35.149680076Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-17T11:22:35.150804302Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.123916ms grafana | logger=migrator t=2024-01-17T11:22:35.153685428Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-17T11:22:35.154768069Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.082672ms grafana | logger=migrator t=2024-01-17T11:22:35.158708605Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-01-17T11:22:35.159525164Z level=info msg="Migration successfully executed" id="Drop public config table" duration=816.269µs grafana | logger=migrator t=2024-01-17T11:22:35.162943685Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-01-17T11:22:35.163982513Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.045899ms grafana | logger=migrator t=2024-01-17T11:22:35.168175061Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-17T11:22:35.16923539Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.05952ms grafana | logger=migrator t=2024-01-17T11:22:35.172541522Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-17T11:22:35.173666008Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.124047ms grafana | logger=migrator t=2024-01-17T11:22:35.177072178Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-01-17T11:22:35.178180111Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.071291ms grafana | logger=migrator t=2024-01-17T11:22:35.182327285Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-01-17T11:22:35.216409705Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=34.087801ms grafana | logger=migrator t=2024-01-17T11:22:35.219530231Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-01-17T11:22:35.225665173Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.134422ms grafana | logger=migrator t=2024-01-17T11:22:35.228817272Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-01-17T11:22:35.237599889Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.781677ms grafana | logger=migrator t=2024-01-17T11:22:35.241681286Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-01-17T11:22:35.241916286Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=235.05µs grafana | logger=migrator t=2024-01-17T11:22:35.244413199Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-01-17T11:22:35.252920883Z level=info msg="Migration successfully executed" id="add share column" duration=8.506374ms grafana | logger=migrator t=2024-01-17T11:22:35.256107154Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-01-17T11:22:35.25630257Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=201.757µs grafana | logger=migrator t=2024-01-17T11:22:35.259402154Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-01-17T11:22:35.260089813Z level=info msg="Migration successfully executed" id="create file table" duration=687.049µs grafana | logger=migrator t=2024-01-17T11:22:35.264373887Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-01-17T11:22:35.26545082Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.073592ms grafana | logger=migrator t=2024-01-17T11:22:35.268809135Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-01-17T11:22:35.269884506Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.074681ms grafana | logger=migrator t=2024-01-17T11:22:35.273268524Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-01-17T11:22:35.274006258Z level=info msg="Migration successfully executed" id="create file_meta table" duration=737.134µs grafana | logger=migrator t=2024-01-17T11:22:35.278183653Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-01-17T11:22:35.279410138Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.219514ms grafana | logger=migrator t=2024-01-17T11:22:35.284346697Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-01-17T11:22:35.284414513Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=65.455µs grafana | logger=migrator t=2024-01-17T11:22:35.287532139Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-01-17T11:22:35.287599685Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=67.496µs grafana | logger=migrator t=2024-01-17T11:22:35.292143261Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-01-17T11:22:35.293064349Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=924.508µs grafana | logger=migrator t=2024-01-17T11:22:35.296533145Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-01-17T11:22:35.296855722Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=322.547µs grafana | logger=migrator t=2024-01-17T11:22:35.300071866Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-01-17T11:22:35.300932919Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=860.703µs grafana | logger=migrator t=2024-01-17T11:22:35.303949305Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-01-17T11:22:35.312941662Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.991886ms grafana | logger=migrator t=2024-01-17T11:22:35.320487743Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-01-17T11:22:35.320991346Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=512.313µs grafana | logger=migrator t=2024-01-17T11:22:35.325035551Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-01-17T11:22:35.326344311Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.309621ms grafana | logger=migrator t=2024-01-17T11:22:35.331571897Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-01-17T11:22:35.332350654Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=779.817µs grafana | logger=migrator t=2024-01-17T11:22:35.335641853Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-01-17T11:22:35.336123724Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=481.401µs grafana | logger=migrator t=2024-01-17T11:22:35.339119039Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-01-17T11:22:35.339651704Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=532.535µs grafana | logger=migrator t=2024-01-17T11:22:35.342528599Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-01-17T11:22:35.351397174Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.867924ms grafana | logger=migrator t=2024-01-17T11:22:35.357020222Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-01-17T11:22:35.365882626Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.861984ms grafana | logger=migrator t=2024-01-17T11:22:35.369143975Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-01-17T11:22:35.370260549Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.114824ms grafana | logger=migrator t=2024-01-17T11:22:35.373148175Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-01-17T11:22:35.480913237Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=107.765192ms grafana | logger=migrator t=2024-01-17T11:22:35.50868865Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-01-17T11:22:35.510687271Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.99866ms grafana | logger=migrator t=2024-01-17T11:22:35.513883523Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-01-17T11:22:35.515129109Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.245257ms grafana | logger=migrator t=2024-01-17T11:22:35.518262186Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-01-17T11:22:35.553415797Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=35.153482ms grafana | logger=migrator t=2024-01-17T11:22:35.558468827Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-01-17T11:22:35.558789824Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=320.557µs grafana | logger=migrator t=2024-01-17T11:22:35.561877677Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-01-17T11:22:35.562127439Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=249.462µs grafana | logger=migrator t=2024-01-17T11:22:35.566186484Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-01-17T11:22:35.566514932Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=328.768µs grafana | logger=migrator t=2024-01-17T11:22:35.569810222Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-01-17T11:22:35.571235654Z level=info msg="Migration successfully executed" id="create folder table" duration=1.423002ms grafana | logger=migrator t=2024-01-17T11:22:35.574429876Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-01-17T11:22:35.575574543Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.144047ms grafana | logger=migrator t=2024-01-17T11:22:35.57836248Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-01-17T11:22:35.579540511Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.177621ms grafana | logger=migrator t=2024-01-17T11:22:35.582675738Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-01-17T11:22:35.58270298Z level=info msg="Migration successfully executed" id="Update folder title length" duration=27.872µs grafana | logger=migrator t=2024-01-17T11:22:35.585724367Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-17T11:22:35.586903837Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.17742ms grafana | logger=migrator t=2024-01-17T11:22:35.589927744Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-17T11:22:35.591067342Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.136147ms grafana | logger=migrator t=2024-01-17T11:22:35.594180637Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-01-17T11:22:35.596064357Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.885301ms grafana | logger=migrator t=2024-01-17T11:22:35.599092785Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-01-17T11:22:35.599931926Z level=info msg="Migration successfully executed" id="create anon_device table" duration=838.771µs grafana | logger=migrator t=2024-01-17T11:22:35.603117897Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-01-17T11:22:35.604301689Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.183131ms grafana | logger=migrator t=2024-01-17T11:22:35.607381371Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-01-17T11:22:35.608526238Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.144517ms grafana | logger=migrator t=2024-01-17T11:22:35.613947319Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-01-17T11:22:35.614746927Z level=info msg="Migration successfully executed" id="create signing_key table" duration=799.808µs grafana | logger=migrator t=2024-01-17T11:22:35.618487086Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-01-17T11:22:35.619576928Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.089672ms grafana | logger=migrator t=2024-01-17T11:22:35.624019067Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-01-17T11:22:35.625291544Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.275098ms grafana | logger=migrator t=2024-01-17T11:22:35.628086212Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-01-17T11:22:35.628368236Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=282.754µs grafana | logger=migrator t=2024-01-17T11:22:35.633197557Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-01-17T11:22:35.647259114Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=14.061717ms grafana | logger=migrator t=2024-01-17T11:22:35.650107877Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-01-17T11:22:35.650632611Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=525.144µs grafana | logger=migrator t=2024-01-17T11:22:35.653481314Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-01-17T11:22:35.654318775Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=837.301µs grafana | logger=migrator t=2024-01-17T11:22:35.659340132Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-01-17T11:22:35.660282473Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=941.981µs grafana | logger=migrator t=2024-01-17T11:22:35.664815208Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-01-17T11:22:35.665949425Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.137917ms grafana | logger=migrator t=2024-01-17T11:22:35.669789482Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-01-17T11:22:35.670216038Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=427.687µs grafana | logger=migrator t=2024-01-17T11:22:35.67894007Z level=info msg="migrations completed" performed=523 skipped=0 duration=4.920402442s grafana | logger=sqlstore t=2024-01-17T11:22:35.687917734Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-01-17T11:22:35.68820801Z level=info msg="Created default organization" grafana | logger=secrets t=2024-01-17T11:22:35.691306113Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-01-17T11:22:35.711506232Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-01-17T11:22:35.747225642Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-01-17T11:22:35.747274367Z level=info msg="Plugins loaded" count=55 duration=35.769545ms grafana | logger=query_data t=2024-01-17T11:22:35.750541194Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-01-17T11:22:35.754024051Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-01-17T11:22:35.760978683Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-01-17T11:22:35.761845236Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-01-17T11:22:35.762207577Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2024-01-17T11:22:35.762617772Z level=warn msg="No available receivers" grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-17T11:22:35.76529127Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-01-17T11:22:35.798049148Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-01-17T11:22:35.799896514Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-01-17T11:22:35.813202057Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-01-17T11:22:35.813216368Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-01-17T11:22:35.81335846Z level=info msg="Storage starting" grafana | logger=ngalert.multiorg.alertmanager t=2024-01-17T11:22:35.820688404Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-01-17T11:22:35.821119541Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.state.manager t=2024-01-17T11:22:35.821038654Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.state.manager t=2024-01-17T11:22:35.823027954Z level=info msg="State cache has been initialized" states=0 duration=2.422957ms grafana | logger=ngalert.scheduler t=2024-01-17T11:22:35.823063157Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-01-17T11:22:35.82310723Z level=info msg=starting first_tick=2024-01-17T11:22:40Z grafana | logger=grafana.update.checker t=2024-01-17T11:22:35.847678581Z level=info msg="Update check succeeded" duration=34.334101ms grafana | logger=sqlstore.transactions t=2024-01-17T11:22:35.870369843Z 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-17T11:22:37.201943094Z level=info msg="Update check succeeded" duration=1.388530859s grafana | logger=infra.usagestats t=2024-01-17T11:23:42.829479536Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing grafana ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing grafana ... done Removing policy-db-migrator ... done Removing policy-api ... done Removing mariadb ... done Removing prometheus ... 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.OflqrmoF98 ]] + rsync -av /tmp/tmp.OflqrmoF98/ /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,817 bytes received 95 bytes 2,689,824.00 bytes/sec total size is 1,344,167 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 2082 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/jenkins14005989439064244114.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins12774010581235896372.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/jenkins5428296511929273436.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-RdR6 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-RdR6/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins6263068342840449033.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config17257968978507684965tmp 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/jenkins10331525729582708552.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins10589627828613524152.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-RdR6 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-RdR6/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins7586026938593748861.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins266767164761442624.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-RdR6 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.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-RdR6/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/jenkins15121590534056573863.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-RdR6 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-RdR6/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1496 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-12896 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 842 27319 0 4005 30868 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:b2:d8:75 brd ff:ff:ff:ff:ff:ff inet 10.30.107.56/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86046sec preferred_lft 86046sec inet6 fe80::f816:3eff:feb2:d875/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:8b:4c:6c:5f 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-12896) 01/17/24 _x86_64_ (8 CPU) 11:19:20 LINUX RESTART (8 CPU) 11:20:01 tps rtps wtps bread/s bwrtn/s 11:21:01 99.73 22.45 77.29 1154.87 25759.71 11:22:01 134.18 23.00 111.18 2751.27 33479.35 11:23:01 368.94 13.26 355.67 835.99 78838.78 11:24:01 16.11 0.00 16.11 0.00 18653.82 11:25:02 54.45 1.95 52.50 115.16 21864.33 Average: 134.68 12.13 122.55 971.43 35718.74 11:20:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:21:01 30085884 31708160 2853336 8.66 70868 1860700 1439592 4.24 865344 1693984 180140 11:22:01 28732284 31657676 4206936 12.77 103400 3090816 1593164 4.69 995920 2830996 1003956 11:23:01 27215580 30879468 5723640 17.38 127720 3760348 3938216 11.59 1864860 3405196 324 11:24:01 26672624 30337704 6266596 19.02 127852 3761044 4524480 13.31 2407996 3405116 44 11:25:02 28006036 31638836 4933184 14.98 131472 3734236 1450980 4.27 1143448 3362900 56368 Average: 28142482 31244369 4796738 14.56 112262 3241429 2589286 7.62 1455514 2939638 248166 11:20:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:21:01 docker0 0.00 0.00 0.00 0.00 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 ens3 58.09 40.11 998.23 7.28 0.00 0.00 0.00 0.00 11:22:01 br-26ae67e00d5c 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:22:01 lo 6.53 6.53 0.61 0.61 0.00 0.00 0.00 0.00 11:22:01 ens3 228.95 145.24 6577.30 14.75 0.00 0.00 0.00 0.00 11:23:01 br-26ae67e00d5c 0.73 0.80 0.08 0.32 0.00 0.00 0.00 0.00 11:23:01 vethc3141bc 33.51 30.24 13.06 23.59 0.00 0.00 0.00 0.00 11:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:23:01 lo 4.03 4.03 0.36 0.36 0.00 0.00 0.00 0.00 11:24:01 br-26ae67e00d5c 2.90 3.32 6.09 2.20 0.00 0.00 0.00 0.00 11:24:01 vethc3141bc 91.38 75.25 28.32 90.33 0.00 0.00 0.00 0.01 11:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:01 lo 9.83 9.83 8.47 8.47 0.00 0.00 0.00 0.00 11:25:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:25:02 lo 7.10 7.10 0.62 0.62 0.00 0.00 0.00 0.00 11:25:02 ens3 800.33 536.10 11907.46 109.54 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 5.79 5.79 2.04 2.04 0.00 0.00 0.00 0.00 Average: ens3 96.32 63.31 2228.29 10.89 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-12896) 01/17/24 _x86_64_ (8 CPU) 11:19:20 LINUX RESTART (8 CPU) 11:20:01 CPU %user %nice %system %iowait %steal %idle 11:21:01 all 10.10 0.00 0.73 2.51 0.03 86.62 11:21:01 0 35.39 0.00 1.94 1.92 0.05 60.70 11:21:01 1 7.33 0.00 0.55 0.65 0.03 91.44 11:21:01 2 13.92 0.00 0.65 0.13 0.08 85.21 11:21:01 3 2.02 0.00 0.37 0.05 0.00 97.57 11:21:01 4 0.62 0.00 0.32 0.32 0.02 98.73 11:21:01 5 3.02 0.00 0.70 15.52 0.02 80.74 11:21:01 6 1.08 0.00 0.28 0.17 0.02 98.45 11:21:01 7 17.52 0.00 1.08 1.28 0.05 80.07 11:22:01 all 11.10 0.00 2.04 2.96 0.04 83.85 11:22:01 0 3.20 0.00 1.78 0.17 0.03 94.82 11:22:01 1 13.37 0.00 2.26 0.75 0.05 83.56 11:22:01 2 9.24 0.00 1.75 7.28 0.05 81.67 11:22:01 3 12.25 0.00 2.55 1.11 0.03 84.07 11:22:01 4 11.14 0.00 2.04 0.10 0.03 86.69 11:22:01 5 3.46 0.00 1.48 7.67 0.05 87.35 11:22:01 6 17.03 0.00 1.44 5.49 0.07 75.97 11:22:01 7 19.21 0.00 3.02 1.09 0.05 76.63 11:23:01 all 13.80 0.00 3.07 6.31 0.06 76.76 11:23:01 0 12.53 0.00 3.37 0.94 0.05 83.11 11:23:01 1 12.15 0.00 2.75 6.57 0.07 78.47 11:23:01 2 13.81 0.00 2.69 4.15 0.05 79.29 11:23:01 3 17.06 0.00 3.62 0.34 0.07 78.92 11:23:01 4 13.83 0.00 2.87 1.76 0.03 81.51 11:23:01 5 14.50 0.00 2.47 2.99 0.07 79.98 11:23:01 6 17.05 0.00 4.27 27.91 0.07 50.70 11:23:01 7 9.47 0.00 2.55 6.04 0.05 81.89 11:24:01 all 3.88 0.00 0.32 1.44 0.03 94.34 11:24:01 0 4.54 0.00 0.42 0.17 0.02 94.86 11:24:01 1 3.52 0.00 0.25 0.00 0.02 96.21 11:24:01 2 3.13 0.00 0.32 0.23 0.02 96.30 11:24:01 3 6.16 0.00 0.54 0.00 0.03 93.27 11:24:01 4 2.18 0.00 0.15 0.07 0.02 97.58 11:24:01 5 3.21 0.00 0.28 0.00 0.05 96.46 11:24:01 6 5.59 0.00 0.35 0.00 0.05 94.01 11:24:01 7 2.70 0.00 0.20 11.03 0.02 86.05 11:25:02 all 7.08 0.00 0.71 1.71 0.03 90.47 11:25:02 0 14.97 0.00 0.60 0.38 0.03 84.01 11:25:02 1 1.25 0.00 0.47 0.53 0.02 97.73 11:25:02 2 1.37 0.00 0.62 0.60 0.00 97.41 11:25:02 3 5.30 0.00 0.80 2.08 0.03 91.78 11:25:02 4 17.55 0.00 1.20 0.20 0.03 81.02 11:25:02 5 2.84 0.00 0.53 5.15 0.05 91.43 11:25:02 6 10.61 0.00 0.84 2.47 0.05 86.03 11:25:02 7 2.77 0.00 0.57 2.27 0.03 94.35 Average: all 9.19 0.00 1.37 2.98 0.04 86.43 Average: 0 14.13 0.00 1.62 0.72 0.04 83.50 Average: 1 7.51 0.00 1.25 1.69 0.04 89.51 Average: 2 8.28 0.00 1.20 2.48 0.04 88.00 Average: 3 8.54 0.00 1.57 0.72 0.03 89.14 Average: 4 9.05 0.00 1.31 0.49 0.03 89.12 Average: 5 5.40 0.00 1.09 6.27 0.05 87.20 Average: 6 10.25 0.00 1.43 7.15 0.05 81.13 Average: 7 10.33 0.00 1.48 4.35 0.04 83.80