Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-6710 (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-SSuvFDuxikUE/agent.2078 SSH_AGENT_PID=2080 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_13068240622378119802.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_13068240622378119802.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 dd836dc2d2bd379fba19b395c912d32f1bc7ee38 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f dd836dc2d2bd379fba19b395c912d32f1bc7ee38 # timeout=30 Commit message: "Update snapshot and/or references of policy/docker to latest snapshots" > git rev-list --no-walk dd836dc2d2bd379fba19b395c912d32f1bc7ee38 # 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/jenkins11223304325717938088.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-vTj2 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-vTj2/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-vTj2/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.44 botocore==1.34.44 bs4==0.0.2 cachetools==5.3.2 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.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.6.1 docker==4.2.2 dogpile.cache==1.3.1 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.0 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==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==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.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.1 python-swiftclient==4.4.0 pytz==2024.1 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.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.2 typing_extensions==4.9.0 tzdata==2024.1 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/jenkins14875057700090212700.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/jenkins9079912610358893460.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.p52hEVW52R ++ echo ROBOT_VENV=/tmp/tmp.p52hEVW52R +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.p52hEVW52R ++ source /tmp/tmp.p52hEVW52R/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.p52hEVW52R +++ 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.p52hEVW52R/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.p52hEVW52R) ' '!=' x ']' +++ PS1='(tmp.p52hEVW52R) ' +++ 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.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.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.p52hEVW52R/src/onap ++ rm -rf /tmp/tmp.p52hEVW52R/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.3 bitarray==2.9.2 certifi==2024.2.2 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.p52hEVW52R/bin/activate + '[' -z /tmp/tmp.p52hEVW52R/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.p52hEVW52R/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.p52hEVW52R ++ 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.p52hEVW52R/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.p52hEVW52R) ' ++ '[' 'x(tmp.p52hEVW52R) ' '!=' x ']' ++ PS1='(tmp.p52hEVW52R) (tmp.p52hEVW52R) ' ++ 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.QKiZEp8TWk + cd /tmp/tmp.QKiZEp8TWk + 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:6dc9b5d15d5c92b51ee9067496c5209e4419813b605f45e6e3ce7c61cbd0cf2d 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:83ef526db4e13f0a2bb480c243664be5d32f31e0113221dd08f72a39c815ca19 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:8640e5038e83ca4554ed56b9d76375158bcd51580238c6f5d8adaf3f20dd5379 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-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 grafana Up 10 seconds policy-api Up 12 seconds prometheus Up 11 seconds mariadb Up 14 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds prometheus Up 16 seconds mariadb Up 19 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds prometheus Up 21 seconds mariadb Up 24 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds prometheus Up 26 seconds mariadb Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + 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:23:34 up 3 min, 0 users, load average: 2.24, 0.98, 0.39 Tasks: 180 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.1 us, 2.3 sy, 0.0 ni, 83.6 id, 3.0 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.4G 26G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds prometheus Up 26 seconds mariadb Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 260589f0b5c3 grafana 0.01% 56.88MiB / 31.41GiB 0.18% 18.5kB / 3.31kB 0B / 24.1MB 21 381c9c328e31 policy-api 0.10% 544.4MiB / 31.41GiB 1.69% 999kB / 710kB 0B / 0B 57 f8206f4e12e4 prometheus 0.00% 17.63MiB / 31.41GiB 0.05% 782B / 0B 0B / 0B 11 47be787d0744 mariadb 0.02% 100.7MiB / 31.41GiB 0.31% 986kB / 1.18MB 11.2MB / 62.3MB 26 + echo + cd /tmp/tmp.QKiZEp8TWk + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' api-slas.robot' + 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.QKiZEp8TWk/output.xml Log: /tmp/tmp.QKiZEp8TWk/log.html Report: /tmp/tmp.QKiZEp8TWk/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 grafana Up About a minute policy-api Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:24:46 up 4 min, 0 users, load average: 0.94, 0.88, 0.40 Tasks: 178 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.4 us, 1.8 sy, 0.0 ni, 86.3 id, 2.4 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 260589f0b5c3 grafana 0.02% 63.64MiB / 31.41GiB 0.20% 19.5kB / 4.46kB 0B / 24.1MB 21 381c9c328e31 policy-api 0.17% 1007MiB / 31.41GiB 3.13% 7.01MB / 2.58MB 0B / 0B 57 f8206f4e12e4 prometheus 0.09% 23.58MiB / 31.41GiB 0.07% 88.3kB / 7.47kB 0B / 0B 13 47be787d0744 mariadb 0.01% 101.8MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11.2MB / 62.6MB 18 + echo + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose ++ cd /w/workspace/policy-api-master-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, prometheus, mariadb grafana | logger=settings t=2024-02-19T11:23:09.091980631Z level=info msg="Starting Grafana" version=10.3.3 commit=252761264e22ece57204b327f9130d3b44592c01 branch=HEAD compiled=2024-02-19T11:23:09Z grafana | logger=settings t=2024-02-19T11:23:09.092337495Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-02-19T11:23:09.092379065Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-02-19T11:23:09.092414176Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-02-19T11:23:09.092437746Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-02-19T11:23:09.092465706Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-19T11:23:09.092502816Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-19T11:23:09.092526877Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-02-19T11:23:09.092579687Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-02-19T11:23:09.092607937Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-02-19T11:23:09.092675078Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-19T11:23:09.092708318Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-19T11:23:09.092748809Z level=info msg=Target target=[all] grafana | logger=settings t=2024-02-19T11:23:09.092799549Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-02-19T11:23:09.09283324Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-02-19T11:23:09.09286062Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-02-19T11:23:09.09288442Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-02-19T11:23:09.09290825Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-02-19T11:23:09.092952291Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-02-19T11:23:09.093300914Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-02-19T11:23:09.093368485Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-02-19T11:23:09.094047911Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-02-19T11:23:09.095025572Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-02-19T11:23:09.095786319Z level=info msg="Migration successfully executed" id="create migration_log table" duration=760.437µs grafana | logger=migrator t=2024-02-19T11:23:09.130608047Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-02-19T11:23:09.131751949Z level=info msg="Migration successfully executed" id="create user table" duration=1.143392ms grafana | logger=migrator t=2024-02-19T11:23:09.137155864Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-02-19T11:23:09.138415416Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.255052ms grafana | logger=migrator t=2024-02-19T11:23:09.213564788Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-02-19T11:23:09.215114784Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.548536ms grafana | logger=migrator t=2024-02-19T11:23:09.222660369Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-02-19T11:23:09.223825761Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.165082ms grafana | logger=migrator t=2024-02-19T11:23:09.227967682Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-02-19T11:23:09.229170555Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.197903ms grafana | logger=migrator t=2024-02-19T11:23:09.233825781Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-02-19T11:23:09.236665589Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.839228ms grafana | logger=migrator t=2024-02-19T11:23:09.242086894Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-02-19T11:23:09.242844902Z level=info msg="Migration successfully executed" id="create user table v2" duration=757.428µs grafana | logger=migrator t=2024-02-19T11:23:09.246283106Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-02-19T11:23:09.247050614Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=767.228µs grafana | logger=migrator t=2024-02-19T11:23:09.250376147Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-02-19T11:23:09.251143524Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=764.207µs grafana | logger=migrator t=2024-02-19T11:23:09.283868082Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-02-19T11:23:09.284583159Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=714.267µs grafana | logger=migrator t=2024-02-19T11:23:09.292570659Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-02-19T11:23:09.293482919Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=911.66µs grafana | logger=migrator t=2024-02-19T11:23:09.326999575Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-02-19T11:23:09.328821722Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.827737ms grafana | logger=migrator t=2024-02-19T11:23:09.335105215Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-02-19T11:23:09.335136285Z level=info msg="Migration successfully executed" id="Update user table charset" duration=31.92µs grafana | logger=migrator t=2024-02-19T11:23:09.340754872Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-02-19T11:23:09.342637011Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.88162ms grafana | logger=migrator t=2024-02-19T11:23:09.346381858Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-02-19T11:23:09.346741192Z level=info msg="Migration successfully executed" id="Add missing user data" duration=359.154µs grafana | logger=migrator t=2024-02-19T11:23:09.351067425Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-02-19T11:23:09.352454269Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.386284ms grafana | logger=migrator t=2024-02-19T11:23:09.357841983Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-02-19T11:23:09.358677332Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=835.099µs grafana | logger=migrator t=2024-02-19T11:23:09.362046485Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-02-19T11:23:09.363899664Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.852429ms grafana | logger=migrator t=2024-02-19T11:23:09.367946764Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-02-19T11:23:09.37854135Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.596066ms grafana | logger=migrator t=2024-02-19T11:23:09.381785813Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-02-19T11:23:09.382404229Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=618.036µs grafana | logger=migrator t=2024-02-19T11:23:09.389831473Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-02-19T11:23:09.390435099Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=601.126µs grafana | logger=migrator t=2024-02-19T11:23:09.39653929Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-02-19T11:23:09.398371679Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.834379ms grafana | logger=migrator t=2024-02-19T11:23:09.40545637Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-02-19T11:23:09.406211078Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=755.188µs grafana | logger=migrator t=2024-02-19T11:23:09.409598781Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-02-19T11:23:09.410387019Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=788.468µs grafana | logger=migrator t=2024-02-19T11:23:09.4144702Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-02-19T11:23:09.414497861Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=28.181µs grafana | logger=migrator t=2024-02-19T11:23:09.420150527Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-02-19T11:23:09.420949925Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=799.578µs grafana | logger=migrator t=2024-02-19T11:23:09.424456Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-02-19T11:23:09.425222558Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=766.038µs grafana | logger=migrator t=2024-02-19T11:23:09.429344979Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-02-19T11:23:09.430080946Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=736.687µs grafana | logger=migrator t=2024-02-19T11:23:09.434501111Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-02-19T11:23:09.435208688Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=707.137µs grafana | logger=migrator t=2024-02-19T11:23:09.438753283Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-19T11:23:09.44244112Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.686657ms grafana | logger=migrator t=2024-02-19T11:23:09.447019486Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-02-19T11:23:09.447744554Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=724.888µs grafana | logger=migrator t=2024-02-19T11:23:09.452200898Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-02-19T11:23:09.453002216Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=800.278µs grafana | logger=migrator t=2024-02-19T11:23:09.45742016Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-02-19T11:23:09.458210598Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=788.408µs grafana | logger=migrator t=2024-02-19T11:23:09.461909245Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-02-19T11:23:09.463168778Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.258812ms grafana | logger=migrator t=2024-02-19T11:23:09.46941584Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-02-19T11:23:09.470187698Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=768.858µs grafana | logger=migrator t=2024-02-19T11:23:09.473664463Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-02-19T11:23:09.474069547Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=404.914µs grafana | logger=migrator t=2024-02-19T11:23:09.47742354Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-02-19T11:23:09.478192049Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=767.599µs grafana | logger=migrator t=2024-02-19T11:23:09.483097197Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-02-19T11:23:09.483681913Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=584.786µs grafana | logger=migrator t=2024-02-19T11:23:09.488290119Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-02-19T11:23:09.488920445Z level=info msg="Migration successfully executed" id="create star table" duration=629.616µs grafana | logger=migrator t=2024-02-19T11:23:09.492385511Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-02-19T11:23:09.49339838Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.012139ms grafana | logger=migrator t=2024-02-19T11:23:09.497060337Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-02-19T11:23:09.498208029Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.139392ms grafana | logger=migrator t=2024-02-19T11:23:09.504801465Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-02-19T11:23:09.505577302Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=775.858µs mariadb | 2024-02-19 11:23:04+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-19 11:23:05+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-02-19 11:23:05+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-19 11:23:05+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-02-19 11:23:05 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-19 11:23:05 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-19 11:23:05 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-02-19 11:23:06+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-02-19 11:23:06+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-02-19 11:23:06+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-02-19 11:23:06 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 100 ... mariadb | 2024-02-19 11:23:06 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-19 11:23:06 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-19 11:23:06 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-19 11:23:06 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=migrator t=2024-02-19T11:23:09.510624703Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-02-19T11:23:09.511633472Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.007899ms grafana | logger=migrator t=2024-02-19T11:23:09.51829038Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-02-19T11:23:09.519500191Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.208851ms grafana | logger=migrator t=2024-02-19T11:23:09.523520682Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-02-19T11:23:09.524796695Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.274843ms grafana | logger=migrator t=2024-02-19T11:23:09.531899066Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-02-19T11:23:09.532664264Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=764.708µs grafana | logger=migrator t=2024-02-19T11:23:09.537561603Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-02-19T11:23:09.537626403Z level=info msg="Migration successfully executed" id="Update org table charset" duration=38.65µs grafana | logger=migrator t=2024-02-19T11:23:09.542419141Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-02-19T11:23:09.542454351Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=36.21µs grafana | logger=migrator t=2024-02-19T11:23:09.547913016Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-02-19T11:23:09.54821113Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=298.184µs grafana | logger=migrator t=2024-02-19T11:23:09.554841886Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-02-19T11:23:09.555841805Z level=info msg="Migration successfully executed" id="create dashboard table" duration=999.369µs grafana | logger=migrator t=2024-02-19T11:23:09.560142949Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-02-19T11:23:09.561355381Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.213462ms grafana | logger=migrator t=2024-02-19T11:23:09.565968587Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-02-19T11:23:09.566818385Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=849.248µs grafana | logger=migrator t=2024-02-19T11:23:09.57330817Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-02-19T11:23:09.574444082Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.128032ms grafana | logger=migrator t=2024-02-19T11:23:09.579017238Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-02-19T11:23:09.580305121Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.287393ms grafana | logger=migrator t=2024-02-19T11:23:09.587947487Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-02-19T11:23:09.589072938Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.118861ms grafana | logger=migrator t=2024-02-19T11:23:09.596756955Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-02-19T11:23:09.605002578Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=8.245913ms grafana | logger=migrator t=2024-02-19T11:23:09.610734585Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-02-19T11:23:09.611383962Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=653.427µs grafana | logger=migrator t=2024-02-19T11:23:09.618142139Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-02-19T11:23:09.618890087Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=747.618µs grafana | logger=migrator t=2024-02-19T11:23:09.624508353Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-02-19T11:23:09.625821946Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.315233ms grafana | logger=migrator t=2024-02-19T11:23:09.633428293Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-02-19T11:23:09.633754986Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=326.333µs grafana | logger=migrator t=2024-02-19T11:23:09.637682155Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-02-19T11:23:09.638919488Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.235713ms grafana | logger=migrator t=2024-02-19T11:23:09.645412482Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-02-19T11:23:09.645544764Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=132.771µs grafana | logger=migrator t=2024-02-19T11:23:09.650717005Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-02-19T11:23:09.653377302Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.658487ms grafana | logger=migrator t=2024-02-19T11:23:09.661455503Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-02-19T11:23:09.664748486Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=3.259693ms grafana | logger=migrator t=2024-02-19T11:23:09.679289731Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-02-19T11:23:09.681283992Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.989231ms grafana | logger=migrator t=2024-02-19T11:23:09.687033559Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-02-19T11:23:09.687891017Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=860.028µs grafana | logger=migrator t=2024-02-19T11:23:09.690876007Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-02-19T11:23:09.69404771Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.170873ms grafana | logger=migrator t=2024-02-19T11:23:09.698836957Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-02-19T11:23:09.699732267Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=894.7µs grafana | logger=migrator t=2024-02-19T11:23:09.707278312Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-02-19T11:23:09.708573185Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.294693ms grafana | logger=migrator t=2024-02-19T11:23:09.714404633Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-02-19T11:23:09.714475754Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=72.581µs grafana | logger=migrator t=2024-02-19T11:23:09.719401954Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-02-19T11:23:09.719468204Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=67.63µs grafana | logger=migrator t=2024-02-19T11:23:09.726216181Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-02-19T11:23:09.729252472Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.035201ms grafana | logger=migrator t=2024-02-19T11:23:09.735262272Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-02-19T11:23:09.737299202Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.0366ms grafana | logger=migrator t=2024-02-19T11:23:09.74203469Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-02-19T11:23:09.74405197Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.01714ms grafana | logger=migrator t=2024-02-19T11:23:09.748198312Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-02-19T11:23:09.750375534Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.176742ms grafana | logger=migrator t=2024-02-19T11:23:09.756634826Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-02-19T11:23:09.756874459Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=240.282µs grafana | logger=migrator t=2024-02-19T11:23:09.762945739Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-02-19T11:23:09.764371244Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.423735ms grafana | logger=migrator t=2024-02-19T11:23:09.769849119Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-02-19T11:23:09.770629986Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=780.897µs grafana | logger=migrator t=2024-02-19T11:23:09.777776937Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-02-19T11:23:09.777804198Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=28.201µs grafana | logger=migrator t=2024-02-19T11:23:09.784812688Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-02-19T11:23:09.786192852Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.373543ms grafana | logger=migrator t=2024-02-19T11:23:09.791540955Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-02-19T11:23:09.792612917Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.072572ms grafana | logger=migrator t=2024-02-19T11:23:09.803204213Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-19T11:23:09.81894765Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=15.738677ms grafana | logger=migrator t=2024-02-19T11:23:09.824119442Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-02-19T11:23:09.824814299Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=699.486µs grafana | logger=migrator t=2024-02-19T11:23:09.829264623Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-02-19T11:23:09.8298952Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=630.167µs grafana | logger=migrator t=2024-02-19T11:23:09.834660508Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-02-19T11:23:09.83594058Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.284702ms grafana | logger=migrator t=2024-02-19T11:23:09.841842309Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-02-19T11:23:09.842215153Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=372.764µs grafana | logger=migrator t=2024-02-19T11:23:09.847498506Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-02-19T11:23:09.848445186Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=946.03µs grafana | logger=migrator t=2024-02-19T11:23:09.855023341Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-02-19T11:23:09.858387965Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.364284ms grafana | logger=migrator t=2024-02-19T11:23:09.865717078Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-02-19T11:23:09.866403505Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=690.947µs grafana | logger=migrator t=2024-02-19T11:23:09.873600538Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-02-19T11:23:09.873783469Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=182.551µs grafana | logger=migrator t=2024-02-19T11:23:09.909586098Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-02-19T11:23:09.909965802Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=389.684µs grafana | logger=migrator t=2024-02-19T11:23:09.915053312Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-02-19T11:23:09.916693939Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.640397ms grafana | logger=migrator t=2024-02-19T11:23:09.921161814Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-02-19T11:23:09.923352185Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.189831ms grafana | logger=migrator t=2024-02-19T11:23:09.927363406Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-02-19T11:23:09.928224834Z level=info msg="Migration successfully executed" id="create data_source table" duration=861.178µs grafana | logger=migrator t=2024-02-19T11:23:09.934865741Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-02-19T11:23:09.936181844Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.335493ms grafana | logger=migrator t=2024-02-19T11:23:09.943081822Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-02-19T11:23:09.944434837Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.347704ms grafana | logger=migrator t=2024-02-19T11:23:09.949128044Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-02-19T11:23:09.950366656Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.239752ms grafana | logger=migrator t=2024-02-19T11:23:09.957832581Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-02-19T11:23:09.958631969Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=799.508µs grafana | logger=migrator t=2024-02-19T11:23:09.964002903Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-02-19T11:23:09.974191715Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.189603ms grafana | logger=migrator t=2024-02-19T11:23:09.97964459Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-02-19T11:23:09.980478278Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=836.059µs grafana | logger=migrator t=2024-02-19T11:23:09.98472989Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-02-19T11:23:09.98566595Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=935.92µs grafana | logger=migrator t=2024-02-19T11:23:09.990797881Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-02-19T11:23:09.992150624Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.348153ms grafana | logger=migrator t=2024-02-19T11:23:09.997578539Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-02-19T11:23:09.998556518Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=978.009µs grafana | logger=migrator t=2024-02-19T11:23:10.006130831Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-02-19T11:23:10.009868625Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.733354ms grafana | logger=migrator t=2024-02-19T11:23:10.015455479Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-02-19T11:23:10.017812798Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.356419ms grafana | logger=migrator t=2024-02-19T11:23:10.023842135Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-02-19T11:23:10.023937255Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=95.02µs grafana | logger=migrator t=2024-02-19T11:23:10.029603619Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-02-19T11:23:10.029991783Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=388.584µs grafana | logger=migrator t=2024-02-19T11:23:10.038230066Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-02-19T11:23:10.042074476Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.84405ms grafana | logger=migrator t=2024-02-19T11:23:10.048364175Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-02-19T11:23:10.048677747Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=313.182µs grafana | logger=migrator t=2024-02-19T11:23:10.054756304Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-02-19T11:23:10.055126487Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=370.513µs grafana | logger=migrator t=2024-02-19T11:23:10.061761079Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-02-19T11:23:10.065456527Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.694858ms grafana | logger=migrator t=2024-02-19T11:23:10.070655918Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-02-19T11:23:10.07090506Z level=info msg="Migration successfully executed" id="Update uid value" duration=245.781µs grafana | logger=migrator t=2024-02-19T11:23:10.079041553Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-02-19T11:23:10.080924698Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.882575ms grafana | logger=migrator t=2024-02-19T11:23:10.086240719Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-02-19T11:23:10.087107435Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=866.486µs grafana | logger=migrator t=2024-02-19T11:23:10.094743915Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-02-19T11:23:10.095698372Z level=info msg="Migration successfully executed" id="create api_key table" duration=952.387µs grafana | logger=migrator t=2024-02-19T11:23:10.103092849Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-02-19T11:23:10.104363739Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.27066ms grafana | logger=migrator t=2024-02-19T11:23:10.112030968Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-02-19T11:23:10.11360635Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.588292ms grafana | logger=migrator t=2024-02-19T11:23:10.117217709Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-02-19T11:23:10.118663309Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.44525ms grafana | logger=migrator t=2024-02-19T11:23:10.127106895Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-02-19T11:23:10.127923131Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=813.206µs grafana | logger=migrator t=2024-02-19T11:23:10.132158994Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-02-19T11:23:10.133496464Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.33596ms grafana | logger=migrator t=2024-02-19T11:23:10.141542947Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" mariadb | 2024-02-19 11:23:06 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-19 11:23:06 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-19 11:23:06 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-19 11:23:06 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-19 11:23:06 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-19 11:23:06 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-19 11:23:06 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-19 11:23:06 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-19 11:23:06 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-02-19 11:23:06 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-19 11:23:06 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-19 11:23:06 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-19 11:23:06 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-19 11:23:06 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-02-19 11:23:07+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-02-19 11:23:09+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-02-19 11:23:09+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-02-19 11:23:09+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-02-19 11:23:09+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;' grafana | logger=migrator t=2024-02-19T11:23:10.143043399Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.499402ms grafana | logger=migrator t=2024-02-19T11:23:10.149424128Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-02-19T11:23:10.159654087Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.235619ms grafana | logger=migrator t=2024-02-19T11:23:10.165394342Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-02-19T11:23:10.166135257Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=740.235µs grafana | logger=migrator t=2024-02-19T11:23:10.173307733Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-02-19T11:23:10.174717144Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.408851ms grafana | logger=migrator t=2024-02-19T11:23:10.179796623Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-02-19T11:23:10.181171233Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.37442ms grafana | logger=migrator t=2024-02-19T11:23:10.188156668Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-02-19T11:23:10.18962954Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.471791ms grafana | logger=migrator t=2024-02-19T11:23:10.195204762Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-02-19T11:23:10.195854908Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=649.466µs grafana | logger=migrator t=2024-02-19T11:23:10.200955588Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-02-19T11:23:10.201603893Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=646.394µs grafana | logger=migrator t=2024-02-19T11:23:10.204878548Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-02-19T11:23:10.204949518Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=67.67µs grafana | logger=migrator t=2024-02-19T11:23:10.209626505Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-02-19T11:23:10.213868867Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.241802ms grafana | logger=migrator t=2024-02-19T11:23:10.226415515Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-02-19T11:23:10.230333475Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.91922ms grafana | logger=migrator t=2024-02-19T11:23:10.236326311Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-02-19T11:23:10.236484912Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=158.841µs grafana | logger=migrator t=2024-02-19T11:23:10.240472944Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-02-19T11:23:10.244353593Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.876189ms grafana | logger=migrator t=2024-02-19T11:23:10.24784801Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-02-19T11:23:10.250313Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.464399ms grafana | logger=migrator t=2024-02-19T11:23:10.255883363Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-02-19T11:23:10.256543148Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=662.365µs grafana | logger=migrator t=2024-02-19T11:23:10.259655262Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-02-19T11:23:10.260189047Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=532.774µs grafana | logger=migrator t=2024-02-19T11:23:10.263487342Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-02-19T11:23:10.26459934Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.111668ms grafana | logger=migrator t=2024-02-19T11:23:10.270023942Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-02-19T11:23:10.271213232Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.18879ms grafana | logger=migrator t=2024-02-19T11:23:10.274597528Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-02-19T11:23:10.275355824Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=757.976µs grafana | logger=migrator t=2024-02-19T11:23:10.278586638Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-02-19T11:23:10.279390145Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=803.227µs grafana | logger=migrator t=2024-02-19T11:23:10.284448294Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-02-19T11:23:10.284510614Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=62.81µs grafana | logger=migrator t=2024-02-19T11:23:10.28773126Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-02-19T11:23:10.28775367Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=23.02µs grafana | logger=migrator t=2024-02-19T11:23:10.291003045Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-02-19T11:23:10.295268928Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.278063ms grafana | logger=migrator t=2024-02-19T11:23:10.300973102Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-02-19T11:23:10.303658963Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.685191ms grafana | logger=migrator t=2024-02-19T11:23:10.306787617Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-02-19T11:23:10.306848527Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=61.48µs grafana | logger=migrator t=2024-02-19T11:23:10.310045152Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-02-19T11:23:10.310703028Z level=info msg="Migration successfully executed" id="create quota table v1" duration=657.516µs grafana | logger=migrator t=2024-02-19T11:23:10.314038263Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2024-02-19T11:23:10.315269293Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.22791ms grafana | logger=migrator t=2024-02-19T11:23:10.320979327Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-02-19T11:23:10.321013577Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=35.43µs grafana | logger=migrator t=2024-02-19T11:23:10.324472525Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-02-19T11:23:10.32515171Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=678.925µs grafana | logger=migrator t=2024-02-19T11:23:10.328239393Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-02-19T11:23:10.329052369Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=812.426µs grafana | logger=migrator t=2024-02-19T11:23:10.334373901Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-02-19T11:23:10.338835426Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.460505ms grafana | logger=migrator t=2024-02-19T11:23:10.342239742Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-02-19T11:23:10.342261612Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=22.77µs grafana | logger=migrator t=2024-02-19T11:23:10.345513137Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-02-19T11:23:10.346250053Z level=info msg="Migration successfully executed" id="create session table" duration=731.866µs grafana | logger=migrator t=2024-02-19T11:23:10.351985347Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-02-19T11:23:10.352111079Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=121.652µs grafana | logger=migrator t=2024-02-19T11:23:10.355518265Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-02-19T11:23:10.355642076Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=127.481µs grafana | logger=migrator t=2024-02-19T11:23:10.359247344Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-02-19T11:23:10.360206491Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=958.697µs grafana | logger=migrator t=2024-02-19T11:23:10.363797019Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-02-19T11:23:10.364808297Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.010938ms grafana | logger=migrator t=2024-02-19T11:23:10.370248789Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-02-19T11:23:10.370276959Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=28.94µs grafana | logger=migrator t=2024-02-19T11:23:10.373385223Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-02-19T11:23:10.373407343Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=22.83µs grafana | logger=migrator t=2024-02-19T11:23:10.376541247Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-02-19T11:23:10.381282594Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.744937ms grafana | logger=migrator t=2024-02-19T11:23:10.387642514Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-02-19T11:23:10.390924939Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.280726ms grafana | logger=migrator t=2024-02-19T11:23:10.395023041Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-02-19T11:23:10.395145202Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=122.721µs grafana | logger=migrator t=2024-02-19T11:23:10.3987823Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-02-19T11:23:10.398907351Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=122.321µs grafana | logger=migrator t=2024-02-19T11:23:10.402213516Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-02-19T11:23:10.402890952Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=677.146µs grafana | logger=migrator t=2024-02-19T11:23:10.410566681Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-02-19T11:23:10.410600601Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=35.08µs grafana | logger=migrator t=2024-02-19T11:23:10.413825227Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-02-19T11:23:10.418537763Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.705556ms grafana | logger=migrator t=2024-02-19T11:23:10.422354883Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-02-19T11:23:10.422638355Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=290.682µs grafana | logger=migrator t=2024-02-19T11:23:10.426053461Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-02-19T11:23:10.430755988Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.703157ms grafana | logger=migrator t=2024-02-19T11:23:10.436331231Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-02-19T11:23:10.439536286Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.204685ms grafana | logger=migrator t=2024-02-19T11:23:10.449880505Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-02-19T11:23:10.449952116Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=71.611µs grafana | logger=migrator t=2024-02-19T11:23:10.459577641Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-02-19T11:23:10.461046252Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.467841ms grafana | logger=migrator t=2024-02-19T11:23:10.471965097Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-02-19T11:23:10.473357728Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.392291ms grafana | logger=migrator t=2024-02-19T11:23:10.483332075Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-02-19T11:23:10.485005088Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.673093ms grafana | logger=migrator t=2024-02-19T11:23:10.493355763Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:10.49437831Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.021197ms grafana | logger=migrator t=2024-02-19T11:23:10.505548217Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-02-19T11:23:10.507289371Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.746544ms grafana | logger=migrator t=2024-02-19T11:23:10.51747512Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-02-19T11:23:10.518902771Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.426781ms grafana | logger=migrator t=2024-02-19T11:23:10.555034141Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-02-19T11:23:10.556017058Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=982.587µs grafana | logger=migrator t=2024-02-19T11:23:10.560789945Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-02-19T11:23:10.562259097Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.463052ms grafana | logger=migrator t=2024-02-19T11:23:10.566435189Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-02-19T11:23:10.567660958Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.235009ms grafana | logger=migrator t=2024-02-19T11:23:10.573225751Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-02-19T11:23:10.587108969Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.882718ms grafana | logger=migrator t=2024-02-19T11:23:10.591655154Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-02-19T11:23:10.592087278Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=432.014µs grafana | logger=migrator t=2024-02-19T11:23:10.595146761Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-02-19T11:23:10.595756966Z 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=609.965µs grafana | logger=migrator t=2024-02-19T11:23:10.602565009Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-02-19T11:23:10.603000772Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=435.873µs grafana | logger=migrator t=2024-02-19T11:23:10.606315188Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-02-19T11:23:10.607075944Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=760.606µs grafana | logger=migrator t=2024-02-19T11:23:10.647456427Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-02-19T11:23:10.648547105Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.086438ms grafana | logger=migrator t=2024-02-19T11:23:10.65564099Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-02-19T11:23:10.660588709Z level=info msg="Migration successfully executed" id="Add column is_default" duration=4.942789ms grafana | logger=migrator t=2024-02-19T11:23:10.692441045Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-02-19T11:23:10.698320781Z level=info msg="Migration successfully executed" id="Add column frequency" duration=5.889726ms grafana | logger=migrator t=2024-02-19T11:23:10.702276312Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-02-19T11:23:10.707206659Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=4.928437ms grafana | logger=migrator t=2024-02-19T11:23:10.713967382Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-02-19T11:23:10.717410209Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.434297ms grafana | logger=migrator t=2024-02-19T11:23:10.720836675Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-02-19T11:23:10.721739992Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=902.987µs grafana | logger=migrator t=2024-02-19T11:23:10.725634413Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-02-19T11:23:10.725658783Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=25.26µs grafana | logger=migrator t=2024-02-19T11:23:10.730074156Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-02-19T11:23:10.730111647Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=47.171µs grafana | logger=migrator t=2024-02-19T11:23:10.738830805Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-02-19T11:23:10.739998024Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.167019ms grafana | logger=migrator t=2024-02-19T11:23:10.743808503Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-02-19T11:23:10.745346035Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.537252ms grafana | logger=migrator t=2024-02-19T11:23:10.748992353Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-02-19T11:23:10.750288634Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.295491ms grafana | logger=migrator t=2024-02-19T11:23:10.757476919Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-02-19T11:23:10.758192064Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=714.365µs grafana | logger=migrator t=2024-02-19T11:23:10.763898288Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-02-19T11:23:10.765443631Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.537643ms grafana | logger=migrator t=2024-02-19T11:23:10.771129985Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-02-19T11:23:10.7769301Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=5.799195ms grafana | logger=migrator t=2024-02-19T11:23:10.783225668Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-02-19T11:23:10.786931668Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.70555ms 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 prometheus | ts=2024-02-19T11:23:07.898Z 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-02-19T11:23:07.898Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" prometheus | ts=2024-02-19T11:23:07.898Z 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-02-19T11:23:07.898Z 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-02-19T11:23:07.898Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-02-19T11:23:07.898Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-02-19T11:23:07.900Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-02-19T11:23:07.901Z caller=main.go:1039 level=info msg="Starting TSDB ..." prometheus | ts=2024-02-19T11:23:07.905Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-02-19T11:23:07.905Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-02-19T11:23:07.911Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-02-19T11:23:07.911Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.27µs prometheus | ts=2024-02-19T11:23:07.911Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-02-19T11:23:07.911Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-02-19T11:23:07.911Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=26.27µs wal_replay_duration=764.894µs wbl_replay_duration=360ns total_replay_duration=822.144µs prometheus | ts=2024-02-19T11:23:07.914Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-02-19T11:23:07.914Z caller=main.go:1063 level=info msg="TSDB started" prometheus | ts=2024-02-19T11:23:07.914Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-02-19T11:23:07.916Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.551148ms db_storage=1.98µs remote_storage=3.68µs web_handler=490ns query_engine=1.52µs scrape=495.612µs scrape_sd=112.011µs notify=118.28µs notify_sd=21.72µs rules=2.68µs tracing=5.24µs prometheus | ts=2024-02-19T11:23:07.916Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-02-19T11:23:07.916Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." 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-02-19 11:23:10+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-02-19 11:23:10 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-02-19 11:23:10 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-02-19 11:23:10 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-02-19 11:23:10 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-19 11:23:10 0 [Note] InnoDB: Buffer pool(s) dump completed at 240219 11:23:10 mariadb | 2024-02-19 11:23:10 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-02-19 11:23:10 0 [Note] InnoDB: Shutdown completed; log sequence number 340307; transaction id 298 mariadb | 2024-02-19 11:23:10 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-02-19 11:23:10+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-02-19 11:23:10+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-02-19 11:23:10 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-02-19 11:23:10 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-19 11:23:10 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-19 11:23:10 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-19 11:23:10 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-19 11:23:10 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-19 11:23:10 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-19 11:23:10 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-19 11:23:10 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-19 11:23:10 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-19 11:23:10 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-19 11:23:10 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-19 11:23:10 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-19 11:23:10 0 [Note] InnoDB: log sequence number 340307; transaction id 299 mariadb | 2024-02-19 11:23:10 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-19 11:23:10 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-19 11:23:10 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-19 11:23:10 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-02-19 11:23:10 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-02-19 11:23:10 0 [Note] Server socket created on IP: '::'. mariadb | 2024-02-19 11:23:10 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-02-19 11:23:10 0 [Note] InnoDB: Buffer pool(s) load completed at 240219 11:23:10 mariadb | 2024-02-19 11:23:11 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-02-19 11:23:11 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) 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-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.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.8) policy-api | policy-api | [2024-02-19T11:23:20.154+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.10 with PID 22 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-02-19T11:23:20.156+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-02-19T11:23:22.048+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-02-19T11:23:22.160+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 100 ms. Found 6 JPA repository interfaces. policy-api | [2024-02-19T11:23:22.619+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-02-19T11:23:22.620+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-02-19T11:23:23.324+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-02-19T11:23:23.335+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-19T11:23:23.338+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-02-19T11:23:23.338+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.18] policy-api | [2024-02-19T11:23:23.446+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-02-19T11:23:23.447+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3221 ms policy-api | [2024-02-19T11:23:23.908+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-02-19T11:23:23.988+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-02-19T11:23:23.992+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-02-19T11:23:24.040+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-02-19T11:23:24.420+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-02-19T11:23:24.443+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-02-19T11:23:24.550+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@7636823f policy-api | [2024-02-19T11:23:24.552+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-02-19T11:23:24.582+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-02-19T11:23:24.584+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-02-19T11:23:26.652+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-02-19T11:23:26.657+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-02-19T11:23:27.863+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-02-19T11:23:28.788+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-02-19T11:23:29.961+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-02-19T11:23:30.172+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@206d4413, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@58d291c1, org.springframework.security.web.context.SecurityContextHolderFilter@5a487b86, org.springframework.security.web.header.HeaderWriterFilter@392da875, org.springframework.security.web.authentication.logout.LogoutFilter@36c6d53b, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@2f29400e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@673ade3d, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@4529b266, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@c7a7d3, org.springframework.security.web.access.ExceptionTranslationFilter@69c70b62, org.springframework.security.web.access.intercept.AuthorizationFilter@dcaa0e8] policy-api | [2024-02-19T11:23:31.020+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-02-19T11:23:31.120+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-19T11:23:31.153+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-02-19T11:23:31.173+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.84 seconds (process running for 12.519) policy-api | [2024-02-19T11:23:37.480+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-3] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-02-19T11:23:37.480+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Initializing Servlet 'dispatcherServlet' grafana | logger=migrator t=2024-02-19T11:23:10.791362651Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-02-19T11:23:10.791548783Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=185.842µs grafana | logger=migrator t=2024-02-19T11:23:10.797940883Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-02-19T11:23:10.798780849Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=839.796µs grafana | logger=migrator t=2024-02-19T11:23:10.806129407Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-02-19T11:23:10.807516317Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.386781ms grafana | logger=migrator t=2024-02-19T11:23:10.811424947Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-02-19T11:23:10.816690628Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.263861ms grafana | logger=migrator t=2024-02-19T11:23:10.822063459Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-02-19T11:23:10.82212941Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=66.801µs grafana | logger=migrator t=2024-02-19T11:23:10.827617502Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-02-19T11:23:10.828426429Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=808.937µs grafana | logger=migrator t=2024-02-19T11:23:10.833109155Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-02-19T11:23:10.834051053Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=938.638µs grafana | logger=migrator t=2024-02-19T11:23:10.838213395Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-02-19T11:23:10.838310025Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=97.07µs grafana | logger=migrator t=2024-02-19T11:23:10.844830846Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-02-19T11:23:10.845724733Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=893.657µs grafana | logger=migrator t=2024-02-19T11:23:10.851608519Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-02-19T11:23:10.852451735Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=842.666µs grafana | logger=migrator t=2024-02-19T11:23:10.859657721Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-02-19T11:23:10.860505387Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=847.466µs grafana | logger=migrator t=2024-02-19T11:23:10.86852371Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-02-19T11:23:10.869393006Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=869.036µs grafana | logger=migrator t=2024-02-19T11:23:10.875198551Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-02-19T11:23:10.876150089Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=945.758µs grafana | logger=migrator t=2024-02-19T11:23:10.879596955Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-02-19T11:23:10.880537902Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=940.457µs grafana | logger=migrator t=2024-02-19T11:23:10.884934597Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-02-19T11:23:10.884958377Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=24.64µs grafana | logger=migrator t=2024-02-19T11:23:10.888325473Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-02-19T11:23:10.892266523Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.94621ms grafana | logger=migrator t=2024-02-19T11:23:10.895890052Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-02-19T11:23:10.896680408Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=790.116µs grafana | logger=migrator t=2024-02-19T11:23:10.901480665Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-02-19T11:23:10.905263994Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.782929ms grafana | logger=migrator t=2024-02-19T11:23:10.908503499Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-02-19T11:23:10.909108424Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=604.435µs grafana | logger=migrator t=2024-02-19T11:23:10.912539611Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-02-19T11:23:10.913415027Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=874.746µs grafana | logger=migrator t=2024-02-19T11:23:10.918102574Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-02-19T11:23:10.91890318Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=800.446µs grafana | logger=migrator t=2024-02-19T11:23:10.922494178Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-02-19T11:23:10.936449806Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=13.955668ms grafana | logger=migrator t=2024-02-19T11:23:10.940130334Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:10.94082724Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=696.856µs policy-api | [2024-02-19T11:23:37.483+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Completed initialization in 2 ms grafana | logger=migrator t=2024-02-19T11:23:10.945405635Z 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-api | [2024-02-19T11:23:40.889+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:10.946248682Z 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=842.737µs policy-api | [] policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:10.949811459Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-api | [2024-02-19T11:23:41.012+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-02-19T11:23:10.950076731Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=265.032µs policy-api | [2024-02-19T11:23:41.294+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:10.953444597Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-api | [2024-02-19T11:23:42.569+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies 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-api | [2024-02-19T11:23:44.747+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 grafana | logger=migrator t=2024-02-19T11:23:10.953967581Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=522.624µs policy-db-migrator | -------------- policy-api | [2024-02-19T11:23:45.097+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 grafana | logger=migrator t=2024-02-19T11:23:10.958578727Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | policy-api | [2024-02-19T11:23:45.345+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 grafana | logger=migrator t=2024-02-19T11:23:10.958745118Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=166.771µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:10.962205155Z level=info msg="Executing migration" id="Add created time to annotation table" policy-api | [2024-02-19T11:23:45.595+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-02-19T11:23:10.966189596Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=3.985531ms policy-api | [2024-02-19T11:23:45.840+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:10.969778814Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-api | [2024-02-19T11:23:46.075+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2024-02-19T11:23:10.973718864Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.93971ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:10.978391741Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:10.979245377Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=853.446µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:10.982985817Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-02-19T11:23:10.984207986Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.216309ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:10.98863863Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-02-19T11:23:10.989007553Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=369.853µs grafana | logger=migrator t=2024-02-19T11:23:10.99507192Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-19T11:23:10.999106591Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.040221ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.002689029Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.003547726Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=858.227µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.00699587Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-02-19T11:23:11.007156692Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=160.992µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.00981698Z level=info msg="Executing migration" id="Move region to single row" 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)) grafana | logger=migrator t=2024-02-19T11:23:11.010755607Z level=info msg="Migration successfully executed" id="Move region to single row" duration=938.167µs grafana | logger=migrator t=2024-02-19T11:23:11.015111038Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.016342978Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.23375ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.020115434Z 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-02-19T11:23:11.021412853Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.296639ms policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-02-19T11:23:11.025247451Z 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-02-19T11:23:11.026131787Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=884.176µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2024-02-19T11:23:11.03066764Z 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-02-19T11:23:11.031749827Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.080697ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.035725846Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.037078106Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.35254ms policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-02-19T11:23:11.042093152Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.042996678Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=909.156µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2024-02-19T11:23:11.046594803Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.046686334Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=86.041µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.050353051Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.051596489Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.242488ms policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-02-19T11:23:11.056814097Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.057592202Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=777.595µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-19T11:23:11.063051191Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.063913328Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=861.657µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.067513493Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.06847379Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=959.697µs policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-02-19T11:23:11.071993865Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.072222557Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=228.502µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2024-02-19T11:23:11.076730459Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.077298723Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=568.224µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.081496603Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.081635324Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=139.991µs policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-02-19T11:23:11.085621472Z level=info msg="Executing migration" id="create team table" 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)) grafana | logger=migrator t=2024-02-19T11:23:11.086765521Z level=info msg="Migration successfully executed" id="create team table" duration=1.142809ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.091847648Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.092805464Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=957.526µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.09639145Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-02-19T11:23:11.097269237Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=877.427µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.101113304Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-19T11:23:11.105520275Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.406441ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.109842296Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.110012607Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=170.381µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.113639893Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-02-19T11:23:11.11453608Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=895.777µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.118233496Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-02-19T11:23:11.119369974Z level=info msg="Migration successfully executed" id="create team member table" duration=1.135938ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.123021911Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.12441392Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.39137ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.129535127Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-02-19T11:23:11.131091178Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.555221ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.135006536Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2024-02-19T11:23:11.135982593Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=975.897µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.139624789Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.144179791Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.557492ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.148962806Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-02-19T11:23:11.153406458Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.443042ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.157089464Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-19T11:23:11.161787848Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.695404ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.16632364Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.168051092Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.732132ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.173799614Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-02-19T11:23:11.176751635Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=2.950921ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.183379532Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2024-02-19T11:23:11.185710478Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=2.329926ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.191892392Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.192951931Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.060179ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.198046426Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-02-19T11:23:11.198937303Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=890.347µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.204836735Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-02-19T11:23:11.205798472Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=958.437µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.209370288Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.210813858Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.44274ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.214201432Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-02-19T11:23:11.215648593Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.446131ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.219183958Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-19T11:23:11.219681201Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=499.593µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.224663837Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.224881749Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=218.342µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.228137222Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-02-19T11:23:11.22919191Z level=info msg="Migration successfully executed" id="create tag table" duration=1.054318ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.234718759Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2024-02-19T11:23:11.236156749Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.45197ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.239694434Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.240773053Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.078419ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.244332628Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-02-19T11:23:11.245204324Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=871.416µs 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)) grafana | logger=migrator t=2024-02-19T11:23:11.250778184Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.252178444Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.421351ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.255765379Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.274783496Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=19.018847ms policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-02-19T11:23:11.277886208Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.278425351Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=538.973µs 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-02-19T11:23:11.283878571Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.285267591Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.388091ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.288914787Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.28938385Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=471.243µs policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-02-19T11:23:11.292710504Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.293360989Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=649.875µs grafana | logger=migrator t=2024-02-19T11:23:11.298685886Z level=info msg="Executing migration" id="create user auth table" 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-02-19T11:23:11.299562903Z level=info msg="Migration successfully executed" id="create user auth table" duration=875.487µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.302910177Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.304314716Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.404099ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.307841802Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-02-19T11:23:11.307911563Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=73.691µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.313712184Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 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-02-19T11:23:11.320813814Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.09953ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.324843484Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.329773389Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.929315ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.333199574Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-02-19T11:23:11.33821211Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.012586ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.34381229Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 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-02-19T11:23:11.348993316Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.182906ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.38303552Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.384541501Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.50438ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.388410378Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-02-19T11:23:11.394481492Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=6.071654ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.399737259Z level=info msg="Executing migration" id="create server_lock table" 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-02-19T11:23:11.400474445Z level=info msg="Migration successfully executed" id="create server_lock table" duration=738.106µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.403696378Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.404591394Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=894.556µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.407897997Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-02-19T11:23:11.408675303Z level=info msg="Migration successfully executed" id="create user auth token table" duration=777.026µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.414050272Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 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-02-19T11:23:11.414963458Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=912.906µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.419669282Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.420563598Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=893.976µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.424042203Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-02-19T11:23:11.425028631Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=986.178µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.430218657Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 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-02-19T11:23:11.435577235Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.358448ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.439097171Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.440050188Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=952.257µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.443546842Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-02-19T11:23:11.444276927Z level=info msg="Migration successfully executed" id="create cache_data table" duration=729.945µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.449953138Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 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-02-19T11:23:11.450868825Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=915.397µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.454289419Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.455615528Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.325449ms policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.459176955Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 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-02-19T11:23:11.460489674Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.312819ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.465954443Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.466020153Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=65.35µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.469436267Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-02-19T11:23:11.469574538Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=139.051µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.473088714Z level=info msg="Executing migration" id="recreate alert_definition table" 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-02-19T11:23:11.474344703Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.255799ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.477755167Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.478681954Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=926.447µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.48379091Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-02-19T11:23:11.485019119Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.226259ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.488720585Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 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-02-19T11:23:11.488818876Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=106.761µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.49222286Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.493129437Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=906.637µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.499844915Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-02-19T11:23:11.501056454Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.215829ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.504884561Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 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-02-19T11:23:11.506382352Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.496871ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.512164004Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.51308843Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=924.076µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.517168329Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-02-19T11:23:11.525411858Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.244299ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.528629491Z level=info msg="Executing migration" id="drop alert_definition table" 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-02-19T11:23:11.529531038Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=897.587µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.535158518Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.535235808Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=77.59µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.537730266Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-02-19T11:23:11.538555202Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=824.416µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.541742465Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2024-02-19T11:23:11.543287176Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.551761ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.549268149Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.550783859Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.51505ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.554274185Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-02-19T11:23:11.554370175Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=96.47µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.55790162Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-19T11:23:11.558763396Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=861.236µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.564559208Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.565888798Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.32019ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.569674114Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-02-19T11:23:11.571221706Z 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.554662ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.577003157Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 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-02-19T11:23:11.577943134Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=939.617µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.581278777Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.590908397Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=9.62886ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.594408522Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-19T11:23:11.595056696Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=646.844µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.600648226Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.602188117Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.539591ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.605958364Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-02-19T11:23:11.641178856Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=35.221832ms grafana | logger=migrator t=2024-02-19T11:23:11.644780142Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-02-19T11:23:11.679676451Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=34.897799ms policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-02-19T11:23:11.687736249Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.688747097Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.008648ms 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-02-19T11:23:11.69359489Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.695125342Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.529902ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.699967017Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.705601127Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.63371ms policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-02-19T11:23:11.710872715Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.716938218Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=6.065103ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-02-19T11:23:11.72151395Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.722547288Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.033118ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.727696265Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.728754662Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.050677ms policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-02-19T11:23:11.733615667Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.734643734Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.027767ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-02-19T11:23:11.738429201Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.739812632Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.381611ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.744703137Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.744936168Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=230.411µs policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-02-19T11:23:11.750035105Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.756112108Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.076683ms policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-02-19T11:23:11.76063677Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.766502672Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.865462ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.770189069Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.776314103Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.119654ms policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-02-19T11:23:11.782280365Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.783439073Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.160428ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-02-19T11:23:11.787644044Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.788813561Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.169067ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.792551199Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.798647552Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.096243ms policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-02-19T11:23:11.803512417Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.809691731Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.179404ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-02-19T11:23:11.813389987Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.814421265Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.030478ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.819445941Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.825343383Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.896992ms policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-02-19T11:23:11.830003446Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.835901778Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.897912ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-02-19T11:23:11.840582622Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.840728663Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=142.431µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.84452973Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-02-19T11:23:11.845649389Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.118669ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.851556831Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-02-19T11:23:11.852664108Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=1.104157ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.856271224Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.858127347Z 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.855983ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.862359688Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-02-19T11:23:11.86257294Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=212.842µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.867373913Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-02-19T11:23:11.873595189Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.220866ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.877231574Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.883358168Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.126114ms grafana | logger=migrator t=2024-02-19T11:23:11.887005014Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.893132628Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.127304ms policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-02-19T11:23:11.898278394Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.904459919Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.181595ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-02-19T11:23:11.908181886Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.914278839Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.096453ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.91854061Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.918712281Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=171.551µs policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-02-19T11:23:11.923269453Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.92406445Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=794.796µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-02-19T11:23:11.927945427Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.936959061Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.009704ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.940735659Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.9408423Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=106.53µs policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-02-19T11:23:11.944291364Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.953208298Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=8.914223ms policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-02-19T11:23:11.957860741Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.958640796Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=779.605µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.96331084Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.969701546Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.387436ms policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-02-19T11:23:11.973503422Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.974313909Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=810.287µs policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-02-19T11:23:11.979247723Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.980349272Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.100829ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.984124709Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:11.993183133Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.058674ms policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-02-19T11:23:11.996562058Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:11.997150532Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=589.834µs policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-19T11:23:12.005061799Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.006207307Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.150088ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.013284357Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.014564716Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.279749ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-02-19T11:23:12.018620335Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.020394838Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.776793ms 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-02-19T11:23:12.026180489Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.026360251Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=178.232µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.030756552Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-02-19T11:23:12.03182791Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.071118ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.035501726Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 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-02-19T11:23:12.037201378Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.700122ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.041799201Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.042305015Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.046051821Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-02-19T11:23:12.046516355Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=461.634µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.052911891Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 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-02-19T11:23:12.054592332Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.680121ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.059293206Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.066418337Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.124881ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.069781442Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-02-19T11:23:12.070740418Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=958.806µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.074549985Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 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-02-19T11:23:12.075667194Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.118689ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.080609359Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.081880878Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.270219ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.123974719Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-02-19T11:23:12.127642835Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=4.371871ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.134101422Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 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-02-19T11:23:12.13528175Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.180598ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.139143427Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.139217577Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=75.43µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.142940595Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-02-19T11:23:12.143251607Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=310.242µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.149526151Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 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-02-19T11:23:12.150339727Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=813.296µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.154202175Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.155580935Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.37698ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.161380696Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-02-19T11:23:12.162125802Z level=info msg="Migration successfully executed" id="create secrets table" duration=744.936µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.168781409Z level=info msg="Executing migration" id="rename data_keys name column to id" 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-02-19T11:23:12.215231162Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=46.447333ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.221452276Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.228802308Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.350322ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.23316725Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-02-19T11:23:12.233382491Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=215.021µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.239729876Z level=info msg="Executing migration" id="rename data_keys name column to label" 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-02-19T11:23:12.289464152Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=49.735696ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.294452328Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.339795512Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=45.341444ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.343336287Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-02-19T11:23:12.344053363Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=716.876µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.34783691Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 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-02-19T11:23:12.349062248Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.218418ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.356448132Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.356859824Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=411.683µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.365653087Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-02-19T11:23:12.367524661Z level=info msg="Migration successfully executed" id="create permission table" duration=1.871684ms grafana | logger=migrator t=2024-02-19T11:23:12.37305541Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.374154468Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.095748ms 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-02-19T11:23:12.379776468Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.381613631Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.833803ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.386361076Z level=info msg="Executing migration" id="create role table" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.387208082Z level=info msg="Migration successfully executed" id="create role table" duration=846.715µs policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-02-19T11:23:12.391139609Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.399090026Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.950397ms policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-02-19T11:23:12.404288464Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.409999264Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.70978ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.414042134Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.415158711Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.117067ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-02-19T11:23:12.418974888Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.420235038Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.25978ms policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-02-19T11:23:12.424193316Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.425492296Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.29745ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.43041371Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.431876081Z level=info msg="Migration successfully executed" id="create team role table" duration=1.414921ms policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-02-19T11:23:12.43596418Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.43735701Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.39262ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-02-19T11:23:12.442662768Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.443960967Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.297939ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.449260125Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.451061408Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.792463ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-02-19T11:23:12.455151227Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.456524728Z level=info msg="Migration successfully executed" id="create user role table" duration=1.37318ms 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-02-19T11:23:12.462019897Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.463131664Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.111547ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.467537376Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.468674954Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.136908ms policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-02-19T11:23:12.472536261Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.474057773Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.520262ms 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-02-19T11:23:12.484078335Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.485498174Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.419029ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.491458917Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.49329721Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.838043ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-02-19T11:23:12.497275978Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.498454527Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.174999ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.502388505Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.510125431Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.742456ms policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-02-19T11:23:12.514663063Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.515883192Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.219799ms policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-02-19T11:23:12.523143744Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.525027957Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.883853ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.529994563Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.531155511Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.160938ms policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-19T11:23:12.535576293Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.536791471Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.214738ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-02-19T11:23:12.541873587Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.542648453Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=774.526µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.547477078Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.549768014Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=2.289906ms policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-19T11:23:12.55759713Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.56600807Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.41047ms policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-02-19T11:23:12.569632596Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-02-19T11:23:12.577487332Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.854986ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.581783003Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.588544012Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=6.755259ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.593394377Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-19T11:23:12.601364083Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.974407ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.607340286Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-02-19T11:23:12.608192522Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=851.656µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.611901488Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.613095857Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.195589ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.618053342Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-02-19T11:23:12.619854955Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.800713ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.623777503Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2024-02-19T11:23:12.623887144Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=110.721µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.627795642Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.627857993Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=57.511µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.632261434Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-02-19T11:23:12.635009793Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=2.745899ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.642517307Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-02-19T11:23:12.643319183Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=799.426µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.647932496Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.648669991Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=737.385µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.652478009Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-02-19T11:23:12.652909362Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=431.423µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.658023469Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-02-19T11:23:12.658653033Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=629.894µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.663327797Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.664795127Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.47279ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.668597174Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-02-19T11:23:12.669727352Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.135219ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.673208177Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-02-19T11:23:12.681446176Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.239439ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.687569909Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.68761715Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=47.691µs policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.693576172Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-02-19T11:23:12.694975843Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.399221ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.698750099Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-02-19T11:23:12.699866168Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.115669ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.706170263Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.707827114Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.656251ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.711578292Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-02-19T11:23:12.721845024Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.266872ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.726913411Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-02-19T11:23:12.728751254Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.837513ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2024-02-19T11:23:12.737129424Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.738274402Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.144958ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.742256521Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.774715473Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=32.459372ms policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-02-19T11:23:12.779467097Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.780359623Z level=info msg="Migration successfully executed" id="create correlation v2" duration=892.206µs policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-02-19T11:23:12.783962039Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.785118327Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.155888ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.789204506Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.791020399Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.816453ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-02-19T11:23:12.79666137Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.797811319Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.145828ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.801851857Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.80228281Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=431.193µs policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-02-19T11:23:12.806213839Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.807475087Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.260978ms policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-02-19T11:23:12.815894687Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.826121351Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.227304ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.855672582Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.856962811Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.289779ms policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-02-19T11:23:12.860830509Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.86237922Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.548351ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-02-19T11:23:12.867176094Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.867647047Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.871645946Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.872098039Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-02-19T11:23:12.878138022Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.880109097Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.976125ms policy-db-migrator | grafana | logger=migrator t=2024-02-19T11:23:12.885780587Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.886764424Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=979.217µs policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-02-19T11:23:12.890701573Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-19T11:23:12.892679596Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.977873ms grafana | logger=migrator t=2024-02-19T11:23:12.898523009Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-02-19T11:23:12.90021985Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.696541ms grafana | logger=migrator t=2024-02-19T11:23:12.905847811Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-02-19T11:23:12.906937289Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.089058ms grafana | logger=migrator t=2024-02-19T11:23:12.910571405Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-02-19T11:23:12.911615332Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.042187ms grafana | logger=migrator t=2024-02-19T11:23:12.916433427Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-02-19T11:23:12.917363473Z level=info msg="Migration successfully executed" id="Drop public config table" duration=933.247µs grafana | logger=migrator t=2024-02-19T11:23:12.921653054Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-02-19T11:23:12.922751231Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.098137ms grafana | logger=migrator t=2024-02-19T11:23:12.926366967Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-02-19T11:23:12.927564526Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.197449ms grafana | logger=migrator t=2024-02-19T11:23:12.932138199Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-02-19T11:23:12.93365507Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.515501ms grafana | logger=migrator t=2024-02-19T11:23:12.939445631Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-02-19T11:23:12.941287834Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.842723ms grafana | logger=migrator t=2024-02-19T11:23:12.946723613Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-02-19T11:23:12.978634031Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=31.912338ms grafana | logger=migrator t=2024-02-19T11:23:12.984781385Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-02-19T11:23:12.993535877Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.774002ms grafana | logger=migrator t=2024-02-19T11:23:12.998793075Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-02-19T11:23:13.007440087Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.643742ms grafana | logger=migrator t=2024-02-19T11:23:13.011263425Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-02-19T11:23:13.011516617Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=253.062µs grafana | logger=migrator t=2024-02-19T11:23:13.019442733Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-02-19T11:23:13.027816083Z level=info msg="Migration successfully executed" id="add share column" duration=8.37276ms grafana | logger=migrator t=2024-02-19T11:23:13.031663371Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-02-19T11:23:13.031981623Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=317.673µs grafana | logger=migrator t=2024-02-19T11:23:13.035754869Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-02-19T11:23:13.036625306Z level=info msg="Migration successfully executed" id="create file table" duration=870.017µs grafana | logger=migrator t=2024-02-19T11:23:13.042569049Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-02-19T11:23:13.044650094Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=2.080165ms grafana | logger=migrator t=2024-02-19T11:23:13.048611312Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-02-19T11:23:13.050073203Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.458971ms grafana | logger=migrator t=2024-02-19T11:23:13.05682718Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-02-19T11:23:13.057888698Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.059688ms grafana | logger=migrator t=2024-02-19T11:23:13.064565076Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-02-19T11:23:13.06656755Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.997054ms grafana | logger=migrator t=2024-02-19T11:23:13.07216135Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-02-19T11:23:13.072261331Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=101.181µs grafana | logger=migrator t=2024-02-19T11:23:13.075885587Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-02-19T11:23:13.075947957Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=63µs grafana | logger=migrator t=2024-02-19T11:23:13.079529333Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-02-19T11:23:13.080089867Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=560.534µs grafana | logger=migrator t=2024-02-19T11:23:13.084884431Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-02-19T11:23:13.085231093Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=346.672µs grafana | logger=migrator t=2024-02-19T11:23:13.089064932Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-02-19T11:23:13.090451891Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.387169ms grafana | logger=migrator t=2024-02-19T11:23:13.097279669Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-02-19T11:23:13.10579895Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.520221ms grafana | logger=migrator t=2024-02-19T11:23:13.110460894Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-02-19T11:23:13.110659195Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=198.261µs grafana | logger=migrator t=2024-02-19T11:23:13.115332099Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-02-19T11:23:13.117129032Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.796753ms grafana | logger=migrator t=2024-02-19T11:23:13.122195668Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-02-19T11:23:13.123349617Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=1.151988ms grafana | logger=migrator t=2024-02-19T11:23:13.127108103Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-02-19T11:23:13.127319854Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=206.971µs grafana | logger=migrator t=2024-02-19T11:23:13.131982248Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-02-19T11:23:13.132426821Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=444.473µs grafana | logger=migrator t=2024-02-19T11:23:13.136715222Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-02-19T11:23:13.147448778Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.733566ms grafana | logger=migrator t=2024-02-19T11:23:13.150930764Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-02-19T11:23:13.158688329Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.756495ms grafana | logger=migrator t=2024-02-19T11:23:13.164062637Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-02-19T11:23:13.166164102Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=2.095855ms grafana | logger=migrator t=2024-02-19T11:23:13.175025906Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-02-19T11:23:13.285328385Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=110.285819ms grafana | logger=migrator t=2024-02-19T11:23:13.292054013Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-02-19T11:23:13.29305408Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=999.837µs grafana | logger=migrator t=2024-02-19T11:23:13.298008405Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-02-19T11:23:13.299873759Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.864664ms grafana | logger=migrator t=2024-02-19T11:23:13.303666806Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-02-19T11:23:13.338357234Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=34.688328ms grafana | logger=migrator t=2024-02-19T11:23:13.343515391Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-02-19T11:23:13.343698632Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=185.702µs grafana | logger=migrator t=2024-02-19T11:23:13.347181497Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-02-19T11:23:13.347421979Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=240.222µs 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 | 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 | -------------- grafana | logger=migrator t=2024-02-19T11:23:13.350970574Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-02-19T11:23:13.351367687Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=397.013µs grafana | logger=migrator t=2024-02-19T11:23:13.356887816Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-02-19T11:23:13.358568809Z level=info msg="Migration successfully executed" id="create folder table" duration=1.680363ms grafana | logger=migrator t=2024-02-19T11:23:13.362280945Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-02-19T11:23:13.363501613Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.220588ms grafana | logger=migrator t=2024-02-19T11:23:13.368506459Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-02-19T11:23:13.36991901Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.412191ms grafana | logger=migrator t=2024-02-19T11:23:13.375991523Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-02-19T11:23:13.376043164Z level=info msg="Migration successfully executed" id="Update folder title length" duration=52.551µs grafana | logger=migrator t=2024-02-19T11:23:13.37984365Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-02-19T11:23:13.381766314Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.913084ms grafana | logger=migrator t=2024-02-19T11:23:13.385283569Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-02-19T11:23:13.386462788Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.179079ms grafana | logger=migrator t=2024-02-19T11:23:13.392375331Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-02-19T11:23:13.393624059Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.202059ms grafana | logger=migrator t=2024-02-19T11:23:13.396990643Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-02-19T11:23:13.397588688Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=598.015µs grafana | logger=migrator t=2024-02-19T11:23:13.400855651Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-02-19T11:23:13.401277874Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=422.203µs grafana | logger=migrator t=2024-02-19T11:23:13.406865414Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-02-19T11:23:13.408350714Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.48485ms grafana | logger=migrator t=2024-02-19T11:23:13.413179749Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-02-19T11:23:13.415310934Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.130465ms grafana | logger=migrator t=2024-02-19T11:23:13.419293002Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-02-19T11:23:13.421482668Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=2.194736ms grafana | logger=migrator t=2024-02-19T11:23:13.426439804Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-02-19T11:23:13.42729836Z level=info msg="Migration successfully executed" id="create signing_key table" duration=858.206µs grafana | logger=migrator t=2024-02-19T11:23:13.430855206Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-02-19T11:23:13.4329195Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=2.063884ms grafana | logger=migrator t=2024-02-19T11:23:13.436556817Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-02-19T11:23:13.43852833Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.971503ms grafana | logger=migrator t=2024-02-19T11:23:13.446976741Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-02-19T11:23:13.447271383Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=291.901µs grafana | logger=migrator t=2024-02-19T11:23:13.45106647Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-02-19T11:23:13.463167357Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=12.095416ms grafana | logger=migrator t=2024-02-19T11:23:13.467520638Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-02-19T11:23:13.468446114Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=927.776µs grafana | logger=migrator t=2024-02-19T11:23:13.473301489Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-02-19T11:23:13.475004861Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.701152ms grafana | logger=migrator t=2024-02-19T11:23:13.47900647Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-02-19T11:23:13.480677612Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.664461ms grafana | logger=migrator t=2024-02-19T11:23:13.486670074Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-02-19T11:23:13.48742121Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=752.346µs grafana | logger=migrator t=2024-02-19T11:23:13.492612778Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-02-19T11:23:13.493159191Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=547.813µs grafana | logger=migrator t=2024-02-19T11:23:13.496715396Z level=info msg="migrations completed" performed=526 skipped=0 duration=4.401735945s grafana | logger=sqlstore t=2024-02-19T11:23:13.509098685Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-02-19T11:23:13.509464328Z level=info msg="Created default organization" grafana | logger=secrets t=2024-02-19T11:23:13.513125744Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-02-19T11:23:13.540857392Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-02-19T11:23:13.611995791Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1300) policy-db-migrator | name version policy-db-migrator | policyadmin 1300 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:12 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 grafana | logger=plugin.store t=2024-02-19T11:23:13.612117242Z level=info msg="Plugins loaded" count=55 duration=71.26081ms grafana | logger=query_data t=2024-02-19T11:23:13.615550976Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-02-19T11:23:13.619823877Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-02-19T11:23:13.627459742Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-02-19T11:23:13.628376318Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-02-19T11:23:13.629285904Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-02-19T11:23:13.63144633Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-02-19T11:23:13.667727669Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-02-19T11:23:13.673206199Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-02-19T11:23:13.685078993Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-02-19T11:23:13.685098104Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-02-19T11:23:13.685757579Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2024-02-19T11:23:13.686170722Z level=info msg="Storage starting" grafana | logger=http.server t=2024-02-19T11:23:13.690559683Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.multiorg.alertmanager t=2024-02-19T11:23:13.697958886Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=grafana-apiserver t=2024-02-19T11:23:13.702532089Z level=info msg="Authentication is disabled" grafana | logger=grafana-apiserver t=2024-02-19T11:23:13.706028304Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=ngalert.state.manager t=2024-02-19T11:23:13.717904178Z level=info msg="State cache has been initialized" states=0 duration=32.140739ms grafana | logger=ngalert.scheduler t=2024-02-19T11:23:13.717968349Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-02-19T11:23:13.718057339Z level=info msg=starting first_tick=2024-02-19T11:23:20Z grafana | logger=plugins.update.checker t=2024-02-19T11:23:13.807757541Z level=info msg="Update check succeeded" duration=121.143926ms grafana | logger=grafana.update.checker t=2024-02-19T11:23:13.826817587Z level=info msg="Update check succeeded" duration=141.528532ms grafana | logger=infra.usagestats t=2024-02-19T11:24:10.699209398Z level=info msg="Usage stats are ready to report" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:13 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:14 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:15 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:16 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:16 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:16 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1902241123110800u 1 2024-02-19 11:23:16 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1902241123110900u 1 2024-02-19 11:23:16 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1902241123110900u 1 2024-02-19 11:23:16 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1902241123110900u 1 2024-02-19 11:23:16 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1902241123110900u 1 2024-02-19 11:23:16 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1902241123110900u 1 2024-02-19 11:23:16 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1902241123110900u 1 2024-02-19 11:23:16 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1902241123110900u 1 2024-02-19 11:23:16 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1902241123110900u 1 2024-02-19 11:23:16 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1902241123110900u 1 2024-02-19 11:23:16 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1902241123110900u 1 2024-02-19 11:23:16 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1902241123110900u 1 2024-02-19 11:23:16 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1902241123110900u 1 2024-02-19 11:23:16 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1902241123110900u 1 2024-02-19 11:23:16 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1902241123111000u 1 2024-02-19 11:23:16 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1902241123111000u 1 2024-02-19 11:23:16 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1902241123111000u 1 2024-02-19 11:23:16 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1902241123111000u 1 2024-02-19 11:23:16 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1902241123111000u 1 2024-02-19 11:23:16 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1902241123111000u 1 2024-02-19 11:23:17 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1902241123111000u 1 2024-02-19 11:23:17 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1902241123111000u 1 2024-02-19 11:23:17 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1902241123111000u 1 2024-02-19 11:23:17 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1902241123111100u 1 2024-02-19 11:23:17 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1902241123111200u 1 2024-02-19 11:23:17 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1902241123111200u 1 2024-02-19 11:23:17 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1902241123111200u 1 2024-02-19 11:23:17 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1902241123111200u 1 2024-02-19 11:23:17 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1902241123111300u 1 2024-02-19 11:23:17 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1902241123111300u 1 2024-02-19 11:23:17 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1902241123111300u 1 2024-02-19 11:23:17 policy-db-migrator | policyadmin: OK @ 1300 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing prometheus ... Removing mariadb ... 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 ++ 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 + [[ -n /tmp/tmp.QKiZEp8TWk ]] + rsync -av /tmp/tmp.QKiZEp8TWk/ /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,345,535 bytes received 95 bytes 2,691,260.00 bytes/sec total size is 1,344,886 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 2080 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14962128205571085979.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins2142131795331695593.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/jenkins14769094178702240012.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-vTj2 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-vTj2/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins10723811885060727773.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config7303371169595251709tmp 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/jenkins12465349855593274184.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14769684583064185944.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-vTj2 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-vTj2/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins3729336155130792575.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins10876407798989772894.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-vTj2 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-vTj2/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/jenkins821183450083790407.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-vTj2 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.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-vTj2/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1538 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-6710 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 824 27349 0 3993 30886 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:6a:da:e8 brd ff:ff:ff:ff:ff:ff inet 10.30.107.161/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86048sec preferred_lft 86048sec inet6 fe80::f816:3eff:fe6a:dae8/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:cf:69:4c:30 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-6710) 02/19/24 _x86_64_ (8 CPU) 11:20:04 LINUX RESTART (8 CPU) 11:21:01 tps rtps wtps bread/s bwrtn/s 11:22:01 110.25 26.91 83.34 2081.39 21256.86 11:23:01 160.91 9.68 151.23 1707.56 62666.44 11:24:01 295.30 13.23 282.07 809.20 30700.37 11:25:01 32.86 0.05 32.81 9.20 13203.50 Average: 149.83 12.47 137.36 1151.81 31957.29 11:21:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:22:01 30012408 31738404 2926812 8.89 78160 1950304 1369588 4.03 839380 1781316 122592 11:23:01 28068016 31676936 4871204 14.79 114164 3727296 1387120 4.08 987440 3464840 390164 11:24:01 26798712 30451620 6140508 18.64 128468 3747724 4619704 13.59 2296304 3392220 1156 11:25:01 26952464 30628952 5986756 18.18 128872 3774776 3104604 9.13 2141840 3404580 116 Average: 27957900 31123978 4981320 15.12 112416 3300025 2620254 7.71 1566241 3010739 128507 11:21:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:22:01 lo 1.27 1.27 0.14 0.14 0.00 0.00 0.00 0.00 11:22:01 ens3 52.14 35.16 953.26 7.21 0.00 0.00 0.00 0.00 11:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:23:01 lo 8.33 8.33 0.77 0.77 0.00 0.00 0.00 0.00 11:23:01 ens3 338.09 221.06 9611.87 18.33 0.00 0.00 0.00 0.00 11:23:01 br-d95ba32bb47c 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:01 lo 8.25 8.25 8.42 8.42 0.00 0.00 0.00 0.00 11:24:01 vethd890a13 124.86 105.47 41.17 113.92 0.00 0.00 0.00 0.01 11:24:01 vethfa81e4f 130.66 159.96 114.57 38.96 0.00 0.00 0.00 0.01 11:24:01 ens3 7.40 6.87 1.67 1.61 0.00 0.00 0.00 0.00 11:25:01 lo 8.96 8.96 0.69 0.69 0.00 0.00 0.00 0.00 11:25:01 vethd890a13 1.37 1.40 0.84 0.09 0.00 0.00 0.00 0.00 11:25:01 ens3 12.55 12.83 5.62 6.37 0.00 0.00 0.00 0.00 11:25:01 br-d95ba32bb47c 5.30 6.01 6.31 2.70 0.00 0.00 0.00 0.00 Average: lo 6.70 6.70 2.50 2.50 0.00 0.00 0.00 0.00 Average: vethd890a13 31.55 26.71 10.50 28.50 0.00 0.00 0.00 0.00 Average: ens3 102.55 68.98 2643.29 8.38 0.00 0.00 0.00 0.00 Average: br-d95ba32bb47c 1.32 1.50 1.58 0.67 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-6710) 02/19/24 _x86_64_ (8 CPU) 11:20:04 LINUX RESTART (8 CPU) 11:21:01 CPU %user %nice %system %iowait %steal %idle 11:22:01 all 10.31 0.00 0.86 1.90 0.03 86.89 11:22:01 0 1.05 0.00 0.20 0.05 0.00 98.70 11:22:01 1 1.47 0.00 0.55 6.68 0.03 91.27 11:22:01 2 1.24 0.00 0.37 0.57 0.03 97.80 11:22:01 3 27.94 0.00 1.79 2.14 0.05 68.08 11:22:01 4 15.41 0.00 1.00 0.25 0.02 83.32 11:22:01 5 3.09 0.00 0.57 2.66 0.03 93.65 11:22:01 6 24.79 0.00 1.92 1.29 0.07 71.94 11:22:01 7 7.52 0.00 0.54 1.58 0.02 90.35 11:23:01 all 10.89 0.00 3.21 3.31 0.05 82.54 11:23:01 0 7.44 0.00 2.96 0.76 0.05 88.80 11:23:01 1 5.57 0.00 2.73 7.75 0.05 83.90 11:23:01 2 21.25 0.00 3.66 14.27 0.07 60.76 11:23:01 3 16.90 0.00 2.96 0.52 0.05 79.57 11:23:01 4 10.66 0.00 3.77 0.15 0.03 85.38 11:23:01 5 7.40 0.00 2.37 0.13 0.05 90.05 11:23:01 6 9.96 0.00 4.18 2.65 0.07 83.14 11:23:01 7 7.96 0.00 3.04 0.30 0.05 88.65 11:24:01 all 16.24 0.00 2.41 2.43 0.06 78.87 11:24:01 0 16.30 0.00 2.32 1.71 0.03 79.63 11:24:01 1 17.75 0.00 2.24 5.49 0.05 74.47 11:24:01 2 16.83 0.00 2.84 5.58 0.05 74.70 11:24:01 3 17.61 0.00 2.73 1.59 0.05 78.02 11:24:01 4 14.41 0.00 2.06 0.70 0.07 82.76 11:24:01 5 15.18 0.00 1.99 1.91 0.05 80.88 11:24:01 6 15.64 0.00 2.56 1.59 0.10 80.11 11:24:01 7 16.18 0.00 2.48 0.89 0.05 80.40 11:25:01 all 0.68 0.00 0.25 0.83 0.02 98.21 11:25:01 0 1.30 0.00 0.25 0.02 0.02 98.42 11:25:01 1 0.37 0.00 0.30 5.04 0.03 94.26 11:25:01 2 0.63 0.00 0.17 0.37 0.02 98.81 11:25:01 3 0.45 0.00 0.20 0.73 0.02 98.60 11:25:01 4 0.75 0.00 0.33 0.30 0.02 98.60 11:25:01 5 1.02 0.00 0.23 0.13 0.02 98.59 11:25:01 6 0.38 0.00 0.25 0.02 0.05 99.30 11:25:01 7 0.55 0.00 0.28 0.02 0.02 99.13 Average: all 9.52 0.00 1.68 2.11 0.04 86.64 Average: 0 6.51 0.00 1.43 0.63 0.03 91.40 Average: 1 6.28 0.00 1.45 6.23 0.04 85.99 Average: 2 9.95 0.00 1.75 5.17 0.04 83.09 Average: 3 15.72 0.00 1.92 1.25 0.04 81.07 Average: 4 10.30 0.00 1.79 0.35 0.03 87.53 Average: 5 6.67 0.00 1.29 1.21 0.04 90.79 Average: 6 12.70 0.00 2.22 1.38 0.07 83.63 Average: 7 8.04 0.00 1.58 0.70 0.03 89.65