Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-12414 (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-mGBScZo3IwFg/agent.2102 SSH_AGENT_PID=2105 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_4168371493003005012.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_4168371493003005012.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/policy/docker.git > git init /w/workspace/policy-api-master-project-csit-api # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision b9d434aeef048c4ea2cf9bd8a27681d375ec5b85 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f b9d434aeef048c4ea2cf9bd8a27681d375ec5b85 # timeout=30 Commit message: "Merge "Add kafka docker container for policy CSITs"" > git rev-list --no-walk b9d434aeef048c4ea2cf9bd8a27681d375ec5b85 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins8987004775936022447.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-M7h0 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-M7h0/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-M7h0/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.2 boto3==1.34.19 botocore==1.34.19 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.5.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.26.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.3 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.17.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/sh /tmp/jenkins10563621824761558340.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/jenkins4021306393093821116.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.j33SLusYQd ++ echo ROBOT_VENV=/tmp/tmp.j33SLusYQd +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.j33SLusYQd ++ source /tmp/tmp.j33SLusYQd/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.j33SLusYQd +++ 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.j33SLusYQd/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.j33SLusYQd) ' '!=' x ']' +++ PS1='(tmp.j33SLusYQd) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.9.2 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.j33SLusYQd/src/onap ++ rm -rf /tmp/tmp.j33SLusYQd/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Installing python confluent-kafka library' Installing python confluent-kafka library ++ python3 -m pip install -qq confluent-kafka ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.9.2 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 confluent-kafka==2.3.0 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.j33SLusYQd/bin/activate + '[' -z /tmp/tmp.j33SLusYQd/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.j33SLusYQd/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.j33SLusYQd ++ 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.j33SLusYQd/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.j33SLusYQd) ' ++ '[' 'x(tmp.j33SLusYQd) ' '!=' x ']' ++ PS1='(tmp.j33SLusYQd) (tmp.j33SLusYQd) ' ++ 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.XURzf17o6z + cd /tmp/tmp.XURzf17o6z + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-api/.gitreview +++ GERRIT_BRANCH=master +++ echo GERRIT_BRANCH=master GERRIT_BRANCH=master +++ rm -rf /w/workspace/policy-api-master-project-csit-api/models +++ mkdir /w/workspace/policy-api-master-project-csit-api/models +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-api/models Cloning into '/w/workspace/policy-api-master-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-master-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-master-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.1.1-SNAPSHOT)... 3.1.1-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:bd33796bedd5ad2337f9468b0cd9d04db279a1f831716e1c03cebe5a20ced20b Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.1-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.0)... 3.1.0: Pulling from onap/policy-api Digest: sha256:5c4c03761af8683035bdfb23ad490044d6b151e5d5939a59b93a6064a761dbbd Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.0 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:a67e5e402ff5410b86ec48b39eab1a3c4df2a7e78a71bf025ec5e32e09090ad4 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:6b5b37eb35bbf30e7f64bd7f0fd41c0a5b7637f65d3bf93223b04a192b8bf3e2 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-master-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds grafana Up 12 seconds policy-db-migrator Up 11 seconds mariadb Up 13 seconds prometheus Up 13 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 17 seconds mariadb Up 18 seconds prometheus Up 18 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 22 seconds mariadb Up 23 seconds prometheus Up 23 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 27 seconds mariadb Up 29 seconds prometheus Up 28 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ 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:25:06 up 3 min, 0 users, load average: 2.22, 1.03, 0.41 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.4 us, 2.0 sy, 0.0 ni, 83.6 id, 3.8 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.4G 25G 1.0M 4.1G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 27 seconds mariadb Up 29 seconds prometheus Up 28 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 633dd529c569 policy-api 0.12% 517MiB / 31.41GiB 1.61% 998kB / 710kB 0B / 0B 54 53ee515e6ede grafana 0.03% 47.71MiB / 31.41GiB 0.15% 18.6kB / 3.23kB 0B / 23.9MB 15 06fb23e81331 mariadb 0.02% 100.5MiB / 31.41GiB 0.31% 985kB / 1.18MB 11.1MB / 70.6MB 27 2fa94e6c7128 prometheus 0.13% 18.13MiB / 31.41GiB 0.06% 1.05kB / 0B 0B / 0B 13 + echo + cd /tmp/tmp.XURzf17o6z + 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.XURzf17o6z/output.xml Log: /tmp/tmp.XURzf17o6z/log.html Report: /tmp/tmp.XURzf17o6z/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:26:18 up 5 min, 0 users, load average: 0.86, 0.89, 0.41 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.0 us, 1.6 sy, 0.0 ni, 86.3 id, 3.1 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 4.1G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 633dd529c569 policy-api 0.17% 1.104GiB / 31.41GiB 3.51% 7.01MB / 2.55MB 0B / 0B 54 53ee515e6ede grafana 0.17% 52.65MiB / 31.41GiB 0.16% 19.9kB / 4.61kB 0B / 23.9MB 15 06fb23e81331 mariadb 0.02% 101.6MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11.1MB / 70.9MB 18 2fa94e6c7128 prometheus 0.00% 23.95MiB / 31.41GiB 0.07% 55.1kB / 6.43kB 0B / 0B 13 + echo + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose ++ cd /w/workspace/policy-api-master-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, grafana, policy-db-migrator, mariadb, prometheus grafana | logger=settings t=2024-01-15T11:24:38.932318329Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z grafana | logger=settings t=2024-01-15T11:24:38.932525384Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-01-15T11:24:38.932534024Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-01-15T11:24:38.932537804Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-01-15T11:24:38.932540904Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-01-15T11:24:38.932543734Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-15T11:24:38.932546674Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-15T11:24:38.932549284Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-01-15T11:24:38.932552814Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-01-15T11:24:38.932556745Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-01-15T11:24:38.932559725Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-15T11:24:38.932563585Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-15T11:24:38.932569545Z level=info msg=Target target=[all] grafana | logger=settings t=2024-01-15T11:24:38.932585445Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-01-15T11:24:38.932588435Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-01-15T11:24:38.932591245Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-01-15T11:24:38.932596315Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-01-15T11:24:38.932599306Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-01-15T11:24:38.932602446Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-01-15T11:24:38.932877222Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-01-15T11:24:38.932895342Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-01-15T11:24:38.933467096Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-01-15T11:24:38.934361827Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-01-15T11:24:38.935094314Z level=info msg="Migration successfully executed" id="create migration_log table" duration=732.458µs grafana | logger=migrator t=2024-01-15T11:24:38.947757868Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-01-15T11:24:38.948894814Z level=info msg="Migration successfully executed" id="create user table" duration=1.137376ms grafana | logger=migrator t=2024-01-15T11:24:38.960166756Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-01-15T11:24:38.960919804Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=752.828µs grafana | logger=migrator t=2024-01-15T11:24:38.970578288Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-01-15T11:24:38.971679434Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.100626ms grafana | logger=migrator t=2024-01-15T11:24:38.981458481Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-01-15T11:24:38.982748701Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.2904ms grafana | logger=migrator t=2024-01-15T11:24:38.992522408Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-01-15T11:24:38.993556043Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.033484ms grafana | logger=migrator t=2024-01-15T11:24:39.003303419Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-01-15T11:24:39.007438925Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.127936ms grafana | logger=migrator t=2024-01-15T11:24:39.016842454Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-01-15T11:24:39.018118283Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.279369ms grafana | logger=migrator t=2024-01-15T11:24:39.027381999Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-01-15T11:24:39.028613677Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.232088ms grafana | logger=migrator t=2024-01-15T11:24:39.034417812Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-01-15T11:24:39.035122609Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=705.077µs grafana | logger=migrator t=2024-01-15T11:24:39.039423339Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-01-15T11:24:39.040078574Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=655.205µs grafana | logger=migrator t=2024-01-15T11:24:39.043646327Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-01-15T11:24:39.044467046Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=820.489µs grafana | logger=migrator t=2024-01-15T11:24:39.050482766Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-01-15T11:24:39.051620092Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.133596ms grafana | logger=migrator t=2024-01-15T11:24:39.056333902Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-01-15T11:24:39.056387643Z level=info msg="Migration successfully executed" id="Update user table charset" duration=55.821µs grafana | logger=migrator t=2024-01-15T11:24:39.062168547Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-01-15T11:24:39.063809406Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.642859ms grafana | logger=migrator t=2024-01-15T11:24:39.067311627Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-01-15T11:24:39.067563503Z level=info msg="Migration successfully executed" id="Add missing user data" duration=252.306µs grafana | logger=migrator t=2024-01-15T11:24:39.07218558Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-01-15T11:24:39.074182967Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.997267ms grafana | logger=migrator t=2024-01-15T11:24:39.077854302Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-01-15T11:24:39.078710232Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=855.67µs grafana | logger=migrator t=2024-01-15T11:24:39.082037729Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-01-15T11:24:39.083598116Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.558966ms grafana | logger=migrator t=2024-01-15T11:24:39.089075523Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-01-15T11:24:39.100079859Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=11.004146ms grafana | logger=migrator t=2024-01-15T11:24:39.104744597Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-01-15T11:24:39.105808642Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.064065ms grafana | logger=migrator t=2024-01-15T11:24:39.111795111Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-01-15T11:24:39.11305071Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.255489ms grafana | logger=migrator t=2024-01-15T11:24:39.117970595Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-01-15T11:24:39.119192833Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.208528ms grafana | logger=migrator t=2024-01-15T11:24:39.123568755Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-01-15T11:24:39.124423865Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=855.49µs grafana | logger=migrator t=2024-01-15T11:24:39.129555384Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-01-15T11:24:39.130381943Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=826.249µs grafana | logger=migrator t=2024-01-15T11:24:39.135357779Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-01-15T11:24:39.135384949Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=27.97µs grafana | logger=migrator t=2024-01-15T11:24:39.140367405Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-01-15T11:24:39.141675936Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.311731ms grafana | logger=migrator t=2024-01-15T11:24:39.147427779Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-01-15T11:24:39.149084568Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.656579ms grafana | logger=migrator t=2024-01-15T11:24:39.153453269Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-01-15T11:24:39.154695348Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.241689ms grafana | logger=migrator t=2024-01-15T11:24:39.159825167Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-01-15T11:24:39.160582845Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=757.478µs grafana | logger=migrator t=2024-01-15T11:24:39.166465642Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-15T11:24:39.17241272Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.947918ms grafana | logger=migrator t=2024-01-15T11:24:39.177002747Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-01-15T11:24:39.178538182Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.529275ms grafana | logger=migrator t=2024-01-15T11:24:39.186731633Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-01-15T11:24:39.188056784Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.327431ms grafana | logger=migrator t=2024-01-15T11:24:39.193573952Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-01-15T11:24:39.194474563Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=902.171µs grafana | logger=migrator t=2024-01-15T11:24:39.199027329Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-01-15T11:24:39.199676344Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=648.775µs grafana | logger=migrator t=2024-01-15T11:24:39.204328552Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-01-15T11:24:39.205017448Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=689.836µs grafana | logger=migrator t=2024-01-15T11:24:39.209211335Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-01-15T11:24:39.209560504Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=345.878µs grafana | logger=migrator t=2024-01-15T11:24:39.212915032Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-01-15T11:24:39.213416173Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=501.311µs grafana | logger=migrator t=2024-01-15T11:24:39.217948329Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-01-15T11:24:39.21843405Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=487.192µs grafana | logger=migrator t=2024-01-15T11:24:39.222048384Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-01-15T11:24:39.222618597Z level=info msg="Migration successfully executed" id="create star table" duration=572.723µs grafana | logger=migrator t=2024-01-15T11:24:39.226115508Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-01-15T11:24:39.226786014Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=677.686µs grafana | logger=migrator t=2024-01-15T11:24:39.2305053Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-01-15T11:24:39.231261578Z level=info msg="Migration successfully executed" id="create org table v1" duration=756.608µs grafana | logger=migrator t=2024-01-15T11:24:39.236981181Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-01-15T11:24:39.238145598Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.156637ms grafana | logger=migrator t=2024-01-15T11:24:39.241692981Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-01-15T11:24:39.242680353Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=987.093µs grafana | logger=migrator t=2024-01-15T11:24:39.246355409Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-01-15T11:24:39.247148257Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=786.658µs grafana | logger=migrator t=2024-01-15T11:24:39.250545016Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-01-15T11:24:39.251242903Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=698.196µs grafana | logger=migrator t=2024-01-15T11:24:39.256093295Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-01-15T11:24:39.257922028Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.828833ms grafana | logger=migrator t=2024-01-15T11:24:39.261403739Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-01-15T11:24:39.261556502Z level=info msg="Migration successfully executed" id="Update org table charset" duration=154.183µs grafana | logger=migrator t=2024-01-15T11:24:39.264598933Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-01-15T11:24:39.264737436Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=138.853µs grafana | logger=migrator t=2024-01-15T11:24:39.267660814Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-01-15T11:24:39.268094874Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=432.42µs grafana | logger=migrator t=2024-01-15T11:24:39.273317596Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-01-15T11:24:39.274677417Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.359111ms grafana | logger=migrator t=2024-01-15T11:24:39.277989894Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-01-15T11:24:39.278902575Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=911.971µs grafana | logger=migrator t=2024-01-15T11:24:39.281739031Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-01-15T11:24:39.282705684Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=968.703µs grafana | logger=migrator t=2024-01-15T11:24:39.285876998Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-01-15T11:24:39.286701277Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=823.929µs grafana | logger=migrator t=2024-01-15T11:24:39.291308604Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-01-15T11:24:39.29241238Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.102445ms grafana | logger=migrator t=2024-01-15T11:24:39.295821129Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-01-15T11:24:39.297141219Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.31982ms grafana | logger=migrator t=2024-01-15T11:24:39.300725893Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-01-15T11:24:39.308001412Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.268929ms grafana | logger=migrator t=2024-01-15T11:24:39.312874715Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-01-15T11:24:39.313619882Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=744.787µs grafana | logger=migrator t=2024-01-15T11:24:39.316668603Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-01-15T11:24:39.317453492Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=784.659µs grafana | logger=migrator t=2024-01-15T11:24:39.321366633Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-01-15T11:24:39.322263453Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=896.45µs grafana | logger=migrator t=2024-01-15T11:24:39.326920692Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-01-15T11:24:39.327313801Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=392.489µs grafana | logger=migrator t=2024-01-15T11:24:39.330421013Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-01-15T11:24:39.33199681Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.574427ms grafana | logger=migrator t=2024-01-15T11:24:39.335611594Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-01-15T11:24:39.335737127Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=126.053µs grafana | logger=migrator t=2024-01-15T11:24:39.340334983Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-01-15T11:24:39.343498637Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.168314ms grafana | logger=migrator t=2024-01-15T11:24:39.347106091Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-01-15T11:24:39.350468879Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=3.362328ms grafana | logger=migrator t=2024-01-15T11:24:39.354162045Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-01-15T11:24:39.356796456Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.638481ms grafana | logger=migrator t=2024-01-15T11:24:39.361730211Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-01-15T11:24:39.362577131Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=846.939µs grafana | logger=migrator t=2024-01-15T11:24:39.365536799Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-01-15T11:24:39.367463244Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.925605ms grafana | logger=migrator t=2024-01-15T11:24:39.370409323Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2024-01-15T11:24:39.371330194Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=920.601µs grafana | logger=migrator t=2024-01-15T11:24:39.375952151Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-01-15T11:24:39.377564699Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.612518ms grafana | logger=migrator t=2024-01-15T11:24:39.380845705Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-01-15T11:24:39.381016629Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=170.164µs grafana | logger=migrator t=2024-01-15T11:24:39.384797767Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-01-15T11:24:39.384867029Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=69.732µs grafana | logger=migrator t=2024-01-15T11:24:39.389588048Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-01-15T11:24:39.391763149Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.174571ms grafana | logger=migrator t=2024-01-15T11:24:39.396350106Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-01-15T11:24:39.398326872Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.976355ms grafana | logger=migrator t=2024-01-15T11:24:39.401752591Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-01-15T11:24:39.405245342Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.492521ms grafana | logger=migrator t=2024-01-15T11:24:39.408794105Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-01-15T11:24:39.411966119Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.173144ms grafana | logger=migrator t=2024-01-15T11:24:39.416233378Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-01-15T11:24:39.416517764Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=284.126µs grafana | logger=migrator t=2024-01-15T11:24:39.419661667Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-01-15T11:24:39.421179633Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.516066ms grafana | logger=migrator t=2024-01-15T11:24:39.424741216Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-01-15T11:24:39.426050066Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.308741ms grafana | logger=migrator t=2024-01-15T11:24:39.431094333Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-01-15T11:24:39.431190665Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=95.862µs grafana | logger=migrator t=2024-01-15T11:24:39.434145304Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-01-15T11:24:39.434984974Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=839.4µs grafana | logger=migrator t=2024-01-15T11:24:39.438122557Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-01-15T11:24:39.439266393Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.143346ms grafana | logger=migrator t=2024-01-15T11:24:39.44429809Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-15T11:24:39.454447316Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=10.150676ms grafana | logger=migrator t=2024-01-15T11:24:39.457471446Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-01-15T11:24:39.458192973Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=721.207µs grafana | logger=migrator t=2024-01-15T11:24:39.461328706Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-01-15T11:24:39.462194996Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=866.18µs grafana | logger=migrator t=2024-01-15T11:24:39.466992748Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-01-15T11:24:39.467923539Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=929.991µs grafana | logger=migrator t=2024-01-15T11:24:39.471154964Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-01-15T11:24:39.471520993Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=366.059µs grafana | logger=migrator t=2024-01-15T11:24:39.474514853Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-01-15T11:24:39.475077906Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=562.844µs grafana | logger=migrator t=2024-01-15T11:24:39.479684563Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-01-15T11:24:39.482915388Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.230115ms grafana | logger=migrator t=2024-01-15T11:24:39.486274356Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-01-15T11:24:39.487671158Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.388262ms policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2024-01-15T11:24:52.311+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 19 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-01-15T11:24:52.312+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-01-15T11:24:54.041+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-01-15T11:24:54.136+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 85 ms. Found 6 JPA repository interfaces. policy-api | [2024-01-15T11:24:54.567+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-01-15T11:24:54.567+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-01-15T11:24:55.242+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-01-15T11:24:55.251+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-15T11:24:55.253+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-01-15T11:24:55.253+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.16] policy-api | [2024-01-15T11:24:55.355+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-01-15T11:24:55.355+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2976 ms policy-api | [2024-01-15T11:24:55.807+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-01-15T11:24:55.881+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-01-15T11:24:55.884+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-01-15T11:24:55.928+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-01-15T11:24:56.277+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-01-15T11:24:56.297+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-01-15T11:24:56.388+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 policy-api | [2024-01-15T11:24:56.391+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-01-15T11:24:56.418+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) policy-api | [2024-01-15T11:24:56.419+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-01-15T11:24:58.240+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-01-15T11:24:58.243+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-01-15T11:24:59.514+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-01-15T11:25:00.420+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-01-15T11:25:01.623+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-01-15T11:25:01.828+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@543d242e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5f967ad3, org.springframework.security.web.context.SecurityContextHolderFilter@19bd1f98, org.springframework.security.web.header.HeaderWriterFilter@7b3d759f, org.springframework.security.web.authentication.logout.LogoutFilter@276961df, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@c7a7d3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@69cf9acb, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5f160f9c, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5c1348c6, org.springframework.security.web.access.ExceptionTranslationFilter@15200332, org.springframework.security.web.access.intercept.AuthorizationFilter@607c7f58] policy-api | [2024-01-15T11:25:02.734+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-01-15T11:25:02.796+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-15T11:25:02.812+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-01-15T11:25:02.830+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.223 seconds (process running for 11.833) policy-api | [2024-01-15T11:25:09.412+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-01-15T11:25:09.412+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-01-15T11:25:09.413+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-01-15T11:25:12.540+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-01-15T11:25:12.687+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-01-15T11:25:13.008+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-01-15T11:25:14.467+00:00|WARN|CommonRestController|http-nio-6969-exec-8] POST /policies policy-api | [2024-01-15T11:25:16.579+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-01-15T11:25:16.887+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-01-15T11:25:17.124+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-01-15T11:25:17.356+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-01-15T11:25:17.584+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 mariadb | 2024-01-15 11:24:37+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. policy-db-migrator | -------------- policy-api | [2024-01-15T11:25:17.816+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-01-15T11:24:39.490834872Z level=info msg="Executing migration" id="delete tags for deleted dashboards" mariadb | 2024-01-15 11:24:37+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) prometheus | ts=2024-01-15T11:24:37.929Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d grafana | logger=migrator t=2024-01-15T11:24:39.491090248Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=254.466µs mariadb | 2024-01-15 11:24:37+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. policy-db-migrator | -------------- prometheus | ts=2024-01-15T11:24:37.929Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" grafana | logger=migrator t=2024-01-15T11:24:39.494071657Z level=info msg="Executing migration" id="delete stars for deleted dashboards" mariadb | 2024-01-15 11:24:37+00:00 [Note] [Entrypoint]: Initializing database files policy-db-migrator | prometheus | ts=2024-01-15T11:24:37.929Z caller=main.go:588 level=info build_context="(go=go1.21.5, platform=linux/amd64, user=root@71f108ff5632, date=20231208-23:33:22, tags=netgo,builtinassets,stringlabels)" policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.494338233Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=266.416µs mariadb | 2024-01-15 11:24:37 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-01-15T11:24:39.498249264Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" prometheus | ts=2024-01-15T11:24:37.929Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" mariadb | 2024-01-15 11:24:37 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2024-01-15T11:24:39.499154085Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=904.971µs policy-db-migrator | -------------- prometheus | ts=2024-01-15T11:24:37.929Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" mariadb | 2024-01-15 11:24:37 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 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) prometheus | ts=2024-01-15T11:24:37.929Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" grafana | logger=migrator t=2024-01-15T11:24:39.501916249Z level=info msg="Executing migration" id="Add isPublic for dashboard" mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.504259144Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.342905ms mariadb | prometheus | ts=2024-01-15T11:24:37.934Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 grafana | logger=migrator t=2024-01-15T11:24:39.507497119Z level=info msg="Executing migration" id="create data_source table" mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! policy-db-migrator | prometheus | ts=2024-01-15T11:24:37.934Z caller=main.go:1024 level=info msg="Starting TSDB ..." mariadb | To do so, start the server, then issue the following command: grafana | logger=migrator t=2024-01-15T11:24:39.508347079Z level=info msg="Migration successfully executed" id="create data_source table" duration=849.88µs policy-db-migrator | prometheus | ts=2024-01-15T11:24:37.936Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 mariadb | grafana | logger=migrator t=2024-01-15T11:24:39.513203442Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql prometheus | ts=2024-01-15T11:24:37.936Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 mariadb | '/usr/bin/mysql_secure_installation' grafana | logger=migrator t=2024-01-15T11:24:39.514073732Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=869.94µs policy-db-migrator | -------------- prometheus | ts=2024-01-15T11:24:37.975Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" mariadb | grafana | logger=migrator t=2024-01-15T11:24:39.517281217Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 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) prometheus | ts=2024-01-15T11:24:37.975Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.3µs mariadb | which will also give you the option of removing the test grafana | logger=migrator t=2024-01-15T11:24:39.518167767Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=886.09µs policy-db-migrator | -------------- prometheus | ts=2024-01-15T11:24:37.975Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" mariadb | databases and anonymous user created by default. This is grafana | logger=migrator t=2024-01-15T11:24:39.521922715Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" policy-db-migrator | prometheus | ts=2024-01-15T11:24:37.977Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 mariadb | strongly recommended for production servers. grafana | logger=migrator t=2024-01-15T11:24:39.522789235Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=866.421µs policy-db-migrator | prometheus | ts=2024-01-15T11:24:37.977Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=37.151µs wal_replay_duration=1.842958ms wbl_replay_duration=340ns total_replay_duration=1.90823ms mariadb | grafana | logger=migrator t=2024-01-15T11:24:39.527963195Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql prometheus | ts=2024-01-15T11:24:37.980Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb grafana | logger=migrator t=2024-01-15T11:24:39.529448439Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.487084ms policy-db-migrator | -------------- prometheus | ts=2024-01-15T11:24:37.980Z caller=main.go:1048 level=info msg="TSDB started" mariadb | grafana | logger=migrator t=2024-01-15T11:24:39.53289828Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 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) prometheus | ts=2024-01-15T11:24:37.980Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml mariadb | Please report any problems at https://mariadb.org/jira grafana | logger=migrator t=2024-01-15T11:24:39.542125914Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=9.225684ms policy-db-migrator | -------------- prometheus | ts=2024-01-15T11:24:37.981Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=774.691µs db_storage=1.11µs remote_storage=1.75µs web_handler=550ns query_engine=740ns scrape=240.507µs scrape_sd=92.532µs notify=29.861µs notify_sd=15.34µs rules=1.57µs tracing=5.141µs mariadb | grafana | logger=migrator t=2024-01-15T11:24:39.545038722Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | prometheus | ts=2024-01-15T11:24:37.981Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." mariadb | The latest information about MariaDB is available at https://mariadb.org/. grafana | logger=migrator t=2024-01-15T11:24:39.545790629Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=745.847µs policy-db-migrator | prometheus | ts=2024-01-15T11:24:37.981Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." mariadb | grafana | logger=migrator t=2024-01-15T11:24:39.550043938Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql mariadb | Consider joining MariaDB's strong and vibrant community: grafana | logger=migrator t=2024-01-15T11:24:39.550715534Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=671.706µs policy-db-migrator | -------------- mariadb | https://mariadb.org/get-involved/ grafana | logger=migrator t=2024-01-15T11:24:39.553693063Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 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) mariadb | grafana | logger=migrator t=2024-01-15T11:24:39.554667746Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=971.973µs policy-db-migrator | -------------- mariadb | 2024-01-15 11:24:39+00:00 [Note] [Entrypoint]: Database files initialized grafana | logger=migrator t=2024-01-15T11:24:39.559433096Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" policy-db-migrator | mariadb | 2024-01-15 11:24:39+00:00 [Note] [Entrypoint]: Starting temporary server policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.560398639Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=965.573µs mariadb | 2024-01-15 11:24:39+00:00 [Note] [Entrypoint]: Waiting for server startup policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2024-01-15T11:24:39.563791608Z level=info msg="Executing migration" id="Add column with_credentials" mariadb | 2024-01-15 11:24:39 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 100 ... policy-db-migrator | -------------- mariadb | 2024-01-15 11:24:39 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2024-01-15T11:24:39.567800511Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=4.008393ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-15T11:24:39.5712148Z level=info msg="Executing migration" id="Add secure json data column" mariadb | 2024-01-15 11:24:39 0 [Note] InnoDB: Number of transaction pools: 1 policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.576216017Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=5.001787ms mariadb | 2024-01-15 11:24:39 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.580835224Z level=info msg="Executing migration" id="Update data_source table charset" mariadb | 2024-01-15 11:24:39 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.580866085Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=35.201µs mariadb | 2024-01-15 11:24:39 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-01-15T11:24:39.583796133Z level=info msg="Executing migration" id="Update initial version to 1" mariadb | 2024-01-15 11:24:39 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2024-01-15T11:24:39.584127Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=330.687µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.587597131Z level=info msg="Executing migration" id="Add read_only data column" 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) mariadb | 2024-01-15 11:24:39 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2024-01-15T11:24:39.591259736Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.662815ms policy-db-migrator | -------------- mariadb | 2024-01-15 11:24:39 0 [Note] InnoDB: Completed initialization of buffer pool grafana | logger=migrator t=2024-01-15T11:24:39.594487801Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | mariadb | 2024-01-15 11:24:39 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2024-01-15T11:24:39.594704376Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=215.255µs policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.599445417Z level=info msg="Executing migration" id="Update json_data with nulls" mariadb | 2024-01-15 11:24:39 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-01-15T11:24:39.599627181Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=186.145µs policy-db-migrator | -------------- mariadb | 2024-01-15 11:24:39 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... grafana | logger=migrator t=2024-01-15T11:24:39.60301674Z level=info msg="Executing migration" id="Add uid column" 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) mariadb | 2024-01-15 11:24:39 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. grafana | logger=migrator t=2024-01-15T11:24:39.605651781Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.636151ms mariadb | 2024-01-15 11:24:39 0 [Note] InnoDB: log sequence number 46590; transaction id 14 grafana | logger=migrator t=2024-01-15T11:24:39.608777113Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | -------------- mariadb | 2024-01-15 11:24:39 0 [Note] Plugin 'FEEDBACK' is disabled. grafana | logger=migrator t=2024-01-15T11:24:39.608987008Z level=info msg="Migration successfully executed" id="Update uid value" duration=209.295µs policy-db-migrator | mariadb | 2024-01-15 11:24:39 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. grafana | logger=migrator t=2024-01-15T11:24:39.612037749Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | mariadb | 2024-01-15 11:24:39 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. grafana | logger=migrator t=2024-01-15T11:24:39.612993502Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=952.372µs policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql mariadb | 2024-01-15 11:24:39 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. grafana | logger=migrator t=2024-01-15T11:24:39.622007611Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | -------------- mariadb | 2024-01-15 11:24:39 0 [Note] mariadbd: ready for connections. grafana | logger=migrator t=2024-01-15T11:24:39.622994024Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.000923ms 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) mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution grafana | logger=migrator t=2024-01-15T11:24:39.626075916Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | -------------- mariadb | 2024-01-15 11:24:40+00:00 [Note] [Entrypoint]: Temporary server started. grafana | logger=migrator t=2024-01-15T11:24:39.626793842Z level=info msg="Migration successfully executed" id="create api_key table" duration=717.806µs policy-db-migrator | mariadb | 2024-01-15 11:24:41+00:00 [Note] [Entrypoint]: Creating user policy_user grafana | logger=migrator t=2024-01-15T11:24:39.630884677Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | mariadb | 2024-01-15 11:24:41+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) grafana | logger=migrator t=2024-01-15T11:24:39.631689876Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=805.229µs policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql mariadb | grafana | logger=migrator t=2024-01-15T11:24:39.634479821Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | -------------- mariadb | 2024-01-15 11:24:41+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf grafana | logger=migrator t=2024-01-15T11:24:39.635248179Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=768.508µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) mariadb | grafana | logger=migrator t=2024-01-15T11:24:39.638060224Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | -------------- mariadb | 2024-01-15 11:24:41+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh grafana | logger=migrator t=2024-01-15T11:24:39.639303023Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.241739ms policy-db-migrator | mariadb | #!/bin/bash -xv grafana | logger=migrator t=2024-01-15T11:24:39.646150072Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved grafana | logger=migrator t=2024-01-15T11:24:39.647093494Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=943.162µs policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. grafana | logger=migrator t=2024-01-15T11:24:39.650111804Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | -------------- mariadb | # grafana | logger=migrator t=2024-01-15T11:24:39.650820011Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=708.597µs 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) mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); policy-db-migrator | -------------- mariadb | # you may not use this file except in compliance with the License. grafana | logger=migrator t=2024-01-15T11:24:39.655233313Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | mariadb | # You may obtain a copy of the License at grafana | logger=migrator t=2024-01-15T11:24:39.656219756Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=984.703µs policy-db-migrator | mariadb | # grafana | logger=migrator t=2024-01-15T11:24:39.659282798Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql mariadb | # http://www.apache.org/licenses/LICENSE-2.0 grafana | logger=migrator t=2024-01-15T11:24:39.670109989Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.828472ms policy-db-migrator | -------------- mariadb | # grafana | logger=migrator t=2024-01-15T11:24:39.673027907Z level=info msg="Executing migration" id="create api_key table v2" 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) mariadb | # Unless required by applicable law or agreed to in writing, software grafana | logger=migrator t=2024-01-15T11:24:39.673548299Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=517.732µs policy-db-migrator | -------------- mariadb | # distributed under the License is distributed on an "AS IS" BASIS, grafana | logger=migrator t=2024-01-15T11:24:39.678598957Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. grafana | logger=migrator t=2024-01-15T11:24:39.679377715Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=778.329µs policy-db-migrator | mariadb | # See the License for the specific language governing permissions and grafana | logger=migrator t=2024-01-15T11:24:39.682149019Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql mariadb | # limitations under the License. grafana | logger=migrator t=2024-01-15T11:24:39.682917697Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=768.478µs policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-01-15T11:24:39.685849715Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-01-15T11:24:39.686701385Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=850.67µs policy-db-migrator | -------------- mariadb | do grafana | logger=migrator t=2024-01-15T11:24:39.691618019Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" grafana | logger=migrator t=2024-01-15T11:24:39.692256224Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=636.685µs policy-db-migrator | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" grafana | logger=migrator t=2024-01-15T11:24:39.695606452Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql mariadb | done grafana | logger=migrator t=2024-01-15T11:24:39.696482332Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=876.48µs policy-db-migrator | -------------- mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-01-15T11:24:39.699756428Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' grafana | logger=migrator t=2024-01-15T11:24:39.699789589Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=33.911µs policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-01-15T11:24:39.704808026Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-01-15T11:24:39.707531279Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.722523ms policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' grafana | logger=migrator t=2024-01-15T11:24:39.710396776Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-01-15T11:24:39.712764751Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.367425ms policy-db-migrator | -------------- mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-01-15T11:24:39.715976315Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 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) mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' grafana | logger=migrator t=2024-01-15T11:24:39.716143379Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=163.434µs policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-01-15T11:24:39.718414312Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-01-15T11:24:39.720800468Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.386695ms policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' grafana | logger=migrator t=2024-01-15T11:24:39.72562507Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-01-15T11:24:39.728171739Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.546209ms policy-db-migrator | -------------- mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-01-15T11:24:39.731442275Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 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) mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' grafana | logger=migrator t=2024-01-15T11:24:39.732300815Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=857.07µs policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-01-15T11:24:39.735016108Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-01-15T11:24:39.73554024Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=523.472µs policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' grafana | logger=migrator t=2024-01-15T11:24:39.740177788Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-01-15T11:24:39.740879904Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=701.736µs policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-01-15T11:24:39.744099509Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-15T11:24:39.744867747Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=767.098µs policy-db-migrator | -------------- mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" grafana | logger=migrator t=2024-01-15T11:24:39.750330904Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' grafana | logger=migrator t=2024-01-15T11:24:39.751706816Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.374152ms policy-db-migrator | mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql grafana | logger=migrator t=2024-01-15T11:24:39.75488298Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp grafana | logger=migrator t=2024-01-15T11:24:39.756258802Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.369172ms policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-01-15T11:24:39.759093408Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) mariadb | 2024-01-15 11:24:42+00:00 [Note] [Entrypoint]: Stopping temporary server grafana | logger=migrator t=2024-01-15T11:24:39.759159169Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=65.951µs policy-db-migrator | -------------- mariadb | 2024-01-15 11:24:42 0 [Note] mariadbd (initiated by: unknown): Normal shutdown grafana | logger=migrator t=2024-01-15T11:24:39.761854602Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | mariadb | 2024-01-15 11:24:42 0 [Note] InnoDB: FTS optimize thread exiting. grafana | logger=migrator t=2024-01-15T11:24:39.761882572Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=28.85µs policy-db-migrator | mariadb | 2024-01-15 11:24:42 0 [Note] InnoDB: Starting shutdown... grafana | logger=migrator t=2024-01-15T11:24:39.766897679Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql mariadb | 2024-01-15 11:24:42 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2024-01-15T11:24:39.771202469Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.30496ms policy-db-migrator | -------------- mariadb | 2024-01-15 11:24:42 0 [Note] InnoDB: Buffer pool(s) dump completed at 240115 11:24:42 grafana | logger=migrator t=2024-01-15T11:24:39.774146408Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 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) mariadb | 2024-01-15 11:24:43 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" grafana | logger=migrator t=2024-01-15T11:24:39.77684766Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.700392ms policy-db-migrator | -------------- mariadb | 2024-01-15 11:24:43 0 [Note] InnoDB: Shutdown completed; log sequence number 330004; transaction id 298 grafana | logger=migrator t=2024-01-15T11:24:39.779232266Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | mariadb | 2024-01-15 11:24:43 0 [Note] mariadbd: Shutdown complete grafana | logger=migrator t=2024-01-15T11:24:39.779298437Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=65.591µs policy-db-migrator | mariadb | grafana | logger=migrator t=2024-01-15T11:24:39.783903434Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql mariadb | 2024-01-15 11:24:43+00:00 [Note] [Entrypoint]: Temporary server stopped grafana | logger=migrator t=2024-01-15T11:24:39.784552039Z level=info msg="Migration successfully executed" id="create quota table v1" duration=648.995µs policy-db-migrator | -------------- mariadb | policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-01-15T11:24:39.787279533Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" mariadb | 2024-01-15 11:24:43+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.788168914Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=887.26µs mariadb | policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.791128022Z level=info msg="Executing migration" id="Update quota table charset" mariadb | 2024-01-15 11:24:43 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.791171543Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=43.601µs mariadb | 2024-01-15 11:24:43 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-01-15T11:24:39.794559382Z level=info msg="Executing migration" id="create plugin_setting table" mariadb | 2024-01-15 11:24:43 0 [Note] InnoDB: Number of transaction pools: 1 policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.796251071Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.690809ms mariadb | 2024-01-15 11:24:43 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-15T11:24:39.801022192Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" mariadb | 2024-01-15 11:24:43 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.801866262Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=843.39µs mariadb | 2024-01-15 11:24:43 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.804626956Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" mariadb | 2024-01-15 11:24:43 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.807622736Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.99466ms mariadb | 2024-01-15 11:24:43 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-01-15T11:24:39.810337399Z level=info msg="Executing migration" id="Update plugin_setting table charset" mariadb | 2024-01-15 11:24:43 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.810363369Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=26.58µs mariadb | 2024-01-15 11:24:43 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-15T11:24:39.854915575Z level=info msg="Executing migration" id="create session table" mariadb | 2024-01-15 11:24:43 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.856151524Z level=info msg="Migration successfully executed" id="create session table" duration=1.235959ms mariadb | 2024-01-15 11:24:43 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.860661489Z level=info msg="Executing migration" id="Drop old table playlist table" mariadb | 2024-01-15 11:24:43 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.860845243Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=193.795µs mariadb | 2024-01-15 11:24:43 0 [Note] InnoDB: log sequence number 330004; transaction id 299 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-01-15T11:24:39.865405379Z level=info msg="Executing migration" id="Drop old table playlist_item table" mariadb | 2024-01-15 11:24:43 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.865536422Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=131.213µs mariadb | 2024-01-15 11:24:43 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-15T11:24:39.868615874Z level=info msg="Executing migration" id="create playlist table v2" mariadb | 2024-01-15 11:24:43 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | -------------- mariadb | 2024-01-15 11:24:43 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.869791941Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.175798ms mariadb | 2024-01-15 11:24:43 0 [Note] Server socket created on IP: '0.0.0.0'. policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.874302336Z level=info msg="Executing migration" id="create playlist item table v2" mariadb | 2024-01-15 11:24:43 0 [Note] Server socket created on IP: '::'. policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-01-15T11:24:39.875045003Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=744.567µs mariadb | 2024-01-15 11:24:43 0 [Note] mariadbd: ready for connections. policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.877830378Z level=info msg="Executing migration" id="Update playlist table charset" mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-15T11:24:39.877859108Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=29.65µs mariadb | 2024-01-15 11:24:43 0 [Note] InnoDB: Buffer pool(s) load completed at 240115 11:24:43 policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.880732885Z level=info msg="Executing migration" id="Update playlist_item table charset" mariadb | 2024-01-15 11:24:43 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.880772656Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=40.971µs mariadb | 2024-01-15 11:24:44 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.883712824Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-01-15T11:24:39.888801013Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.088379ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.893985833Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2024-01-15T11:24:39.898070308Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.084035ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.901027267Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.901212531Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=185.644µs policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.904430216Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-01-15T11:24:39.904542009Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=146.764µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.909357231Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-15T11:24:39.910061067Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=699.766µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.914987191Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.915052343Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=70.882µs policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.918286668Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-01-15T11:24:39.921847881Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.558493ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.925317472Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-15T11:24:39.925501396Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=182.874µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.930444031Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.933814899Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.370098ms policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.937203328Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-01-15T11:24:39.940501875Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.301886ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.943894723Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 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-01-15T11:24:39.944028557Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=83.602µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.949945454Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.950970538Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.024824ms policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:39.954117061Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-01-15T11:24:39.955034882Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=916.721µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:39.958239767Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-01-15T11:24:39.959258451Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.018363ms grafana | logger=migrator t=2024-01-15T11:24:39.964448871Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-01-15T11:24:39.965487555Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.038054ms grafana | logger=migrator t=2024-01-15T11:24:39.968572317Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-01-15T11:24:39.969958899Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.386512ms grafana | logger=migrator t=2024-01-15T11:24:39.973033301Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-01-15T11:24:39.974120056Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.087155ms grafana | logger=migrator t=2024-01-15T11:24:39.978663362Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-01-15T11:24:39.979266456Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=602.844µs grafana | logger=migrator t=2024-01-15T11:24:39.982214904Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-01-15T11:24:39.983366131Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.148427ms grafana | logger=migrator t=2024-01-15T11:24:39.986964265Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-01-15T11:24:39.988297216Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.331691ms grafana | logger=migrator t=2024-01-15T11:24:39.993365813Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-01-15T11:24:40.007664812Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.298089ms grafana | logger=migrator t=2024-01-15T11:24:40.010814286Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-01-15T11:24:40.011293828Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=479.082µs grafana | logger=migrator t=2024-01-15T11:24:40.014319554Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-01-15T11:24:40.01495896Z 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=639.426µs grafana | logger=migrator t=2024-01-15T11:24:40.019607487Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-01-15T11:24:40.020086879Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=475.152µs grafana | logger=migrator t=2024-01-15T11:24:40.023749941Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-01-15T11:24:40.024708465Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=960.404µs grafana | logger=migrator t=2024-01-15T11:24:40.027790313Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-01-15T11:24:40.029046264Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.257851ms grafana | logger=migrator t=2024-01-15T11:24:40.035486366Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-01-15T11:24:40.03960916Z level=info msg="Migration successfully executed" id="Add column is_default" duration=4.121574ms grafana | logger=migrator t=2024-01-15T11:24:40.046062482Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-01-15T11:24:40.050387461Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.330339ms grafana | logger=migrator t=2024-01-15T11:24:40.055448468Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-01-15T11:24:40.059299995Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.851157ms grafana | logger=migrator t=2024-01-15T11:24:40.063506271Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-01-15T11:24:40.067525472Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=4.019921ms grafana | logger=migrator t=2024-01-15T11:24:40.070908957Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-01-15T11:24:40.071987114Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.080497ms grafana | logger=migrator t=2024-01-15T11:24:40.077223436Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-01-15T11:24:40.077275407Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=60.091µs grafana | logger=migrator t=2024-01-15T11:24:40.081846282Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-01-15T11:24:40.081902314Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=54.882µs grafana | logger=migrator t=2024-01-15T11:24:40.086091629Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-01-15T11:24:40.087465894Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.371295ms grafana | logger=migrator t=2024-01-15T11:24:40.090853029Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-15T11:24:40.092508151Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.650651ms grafana | logger=migrator t=2024-01-15T11:24:40.100113482Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-01-15T11:24:40.101269971Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.160319ms grafana | logger=migrator t=2024-01-15T11:24:40.115744435Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-01-15T11:24:40.117441268Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.704733ms grafana | logger=migrator t=2024-01-15T11:24:40.130212459Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-15T11:24:40.131889351Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.680522ms grafana | logger=migrator t=2024-01-15T11:24:40.137895052Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-01-15T11:24:40.142633211Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.742619ms grafana | logger=migrator t=2024-01-15T11:24:40.148462418Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-01-15T11:24:40.152953961Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.491333ms grafana | logger=migrator t=2024-01-15T11:24:40.159315421Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-01-15T11:24:40.159609958Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=298.417µs grafana | logger=migrator t=2024-01-15T11:24:40.164015368Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-01-15T11:24:40.165256829Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.241711ms grafana | logger=migrator t=2024-01-15T11:24:40.171783404Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-01-15T11:24:40.173077886Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.299623ms grafana | logger=migrator t=2024-01-15T11:24:40.177555479Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-01-15T11:24:40.18197365Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.416841ms grafana | logger=migrator t=2024-01-15T11:24:40.185182631Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-01-15T11:24:40.185266923Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=84.793µs grafana | logger=migrator t=2024-01-15T11:24:40.189621282Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-01-15T11:24:40.190511585Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=890.743µs grafana | logger=migrator t=2024-01-15T11:24:40.199774908Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-01-15T11:24:40.200933467Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.1661ms grafana | logger=migrator t=2024-01-15T11:24:40.20582933Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-01-15T11:24:40.205929132Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=100.172µs grafana | logger=migrator t=2024-01-15T11:24:40.212051556Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-01-15T11:24:40.212928778Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=877.562µs grafana | logger=migrator t=2024-01-15T11:24:40.216941109Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-01-15T11:24:40.217861122Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=919.813µs grafana | logger=migrator t=2024-01-15T11:24:40.227139866Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-01-15T11:24:40.228719846Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.58619ms grafana | logger=migrator t=2024-01-15T11:24:40.23445929Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-01-15T11:24:40.235376093Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=916.833µs grafana | logger=migrator t=2024-01-15T11:24:40.23962007Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-01-15T11:24:40.240721848Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.101397ms grafana | logger=migrator t=2024-01-15T11:24:40.245752204Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-01-15T11:24:40.246830311Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.078037ms grafana | logger=migrator t=2024-01-15T11:24:40.251267793Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-01-15T11:24:40.251305574Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=39.531µs grafana | logger=migrator t=2024-01-15T11:24:40.254423922Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-01-15T11:24:40.258465954Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.040492ms grafana | logger=migrator t=2024-01-15T11:24:40.264850734Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-01-15T11:24:40.266225379Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.378045ms grafana | logger=migrator t=2024-01-15T11:24:40.270607669Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-01-15T11:24:40.273516872Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=2.908853ms grafana | logger=migrator t=2024-01-15T11:24:40.282142959Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-01-15T11:24:40.283107844Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=971.715µs grafana | logger=migrator t=2024-01-15T11:24:40.286759165Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-01-15T11:24:40.288075789Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.316474ms grafana | logger=migrator t=2024-01-15T11:24:40.29371586Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-01-15T11:24:40.295434654Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.714603ms grafana | logger=migrator t=2024-01-15T11:24:40.299446185Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-01-15T11:24:40.326327761Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=26.876647ms grafana | logger=migrator t=2024-01-15T11:24:40.330519096Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-01-15T11:24:40.331330687Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=813.04µs grafana | logger=migrator t=2024-01-15T11:24:40.33583593Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-01-15T11:24:40.336930987Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.095247ms grafana | logger=migrator t=2024-01-15T11:24:40.340457436Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-01-15T11:24:40.340818795Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=365.259µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:40.344026976Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-01-15T11:24:40.344619351Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=591.895µs grafana | logger=migrator t=2024-01-15T11:24:40.348537039Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-01-15T11:24:40.348765835Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=228.776µs grafana | logger=migrator t=2024-01-15T11:24:40.351799421Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-01-15T11:24:40.358963892Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=7.15488ms grafana | logger=migrator t=2024-01-15T11:24:40.365074205Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-01-15T11:24:40.372510962Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=7.428567ms grafana | logger=migrator t=2024-01-15T11:24:40.376027831Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-01-15T11:24:40.377144649Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.121798ms grafana | logger=migrator t=2024-01-15T11:24:40.380141944Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-01-15T11:24:40.381201751Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.060947ms grafana | logger=migrator t=2024-01-15T11:24:40.385727845Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-01-15T11:24:40.386014992Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=287.837µs grafana | logger=migrator t=2024-01-15T11:24:40.389015057Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-01-15T11:24:40.393843029Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.827682ms grafana | logger=migrator t=2024-01-15T11:24:40.397269805Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-01-15T11:24:40.398405534Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.136989ms grafana | logger=migrator t=2024-01-15T11:24:40.403918312Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-01-15T11:24:40.40423076Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=318.138µs grafana | logger=migrator t=2024-01-15T11:24:40.407283117Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-01-15T11:24:40.407710018Z level=info msg="Migration successfully executed" id="Move region to single row" duration=426.181µs grafana | logger=migrator t=2024-01-15T11:24:40.411561635Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-01-15T11:24:40.412709443Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.147459ms grafana | logger=migrator t=2024-01-15T11:24:40.41693156Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-01-15T11:24:40.417839822Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=908.082µs grafana | logger=migrator t=2024-01-15T11:24:40.421049563Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-15T11:24:40.422052728Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.002465ms grafana | logger=migrator t=2024-01-15T11:24:40.424975212Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-15T11:24:40.426170682Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.1946ms grafana | logger=migrator t=2024-01-15T11:24:40.43084391Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-01-15T11:24:40.431768513Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=923.594µs grafana | logger=migrator t=2024-01-15T11:24:40.435207859Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-01-15T11:24:40.436186784Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=979.295µs grafana | logger=migrator t=2024-01-15T11:24:40.44119553Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-01-15T11:24:40.441306013Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=111.353µs grafana | logger=migrator t=2024-01-15T11:24:40.444496193Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-01-15T11:24:40.445539619Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.044606ms grafana | logger=migrator t=2024-01-15T11:24:40.448700799Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-01-15T11:24:40.449648393Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=947.003µs grafana | logger=migrator t=2024-01-15T11:24:40.454108515Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-01-15T11:24:40.455220313Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.113818ms grafana | logger=migrator t=2024-01-15T11:24:40.459617213Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-01-15T11:24:40.46069171Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.075577ms grafana | logger=migrator t=2024-01-15T11:24:40.463515791Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-01-15T11:24:40.463757047Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=241.346µs grafana | logger=migrator t=2024-01-15T11:24:40.465948103Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-01-15T11:24:40.466404554Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=454.382µs grafana | logger=migrator t=2024-01-15T11:24:40.471075211Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:40.471204545Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=126.424µs grafana | logger=migrator t=2024-01-15T11:24:40.474694633Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-01-15T11:24:40.475985315Z level=info msg="Migration successfully executed" id="create team table" duration=1.287593ms grafana | logger=migrator t=2024-01-15T11:24:40.479206266Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-01-15T11:24:40.480237652Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.031486ms grafana | logger=migrator t=2024-01-15T11:24:40.484726505Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-01-15T11:24:40.485767531Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.042446ms grafana | logger=migrator t=2024-01-15T11:24:40.489190227Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-01-15T11:24:40.496176783Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=6.988516ms grafana | logger=migrator t=2024-01-15T11:24:40.499198839Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-01-15T11:24:40.499559378Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=359.419µs grafana | logger=migrator t=2024-01-15T11:24:40.502543303Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-01-15T11:24:40.503683012Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.139479ms grafana | logger=migrator t=2024-01-15T11:24:40.508447761Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-01-15T11:24:40.509394815Z level=info msg="Migration successfully executed" id="create team member table" duration=946.494µs grafana | logger=migrator t=2024-01-15T11:24:40.512339299Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-01-15T11:24:40.513471908Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.132149ms grafana | logger=migrator t=2024-01-15T11:24:40.516518194Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-01-15T11:24:40.517847028Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.330334ms grafana | logger=migrator t=2024-01-15T11:24:40.523404558Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-01-15T11:24:40.524495245Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.091157ms grafana | logger=migrator t=2024-01-15T11:24:40.528596278Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-01-15T11:24:40.533955473Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.361145ms grafana | logger=migrator t=2024-01-15T11:24:40.536819015Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-01-15T11:24:40.541719448Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.899643ms grafana | logger=migrator t=2024-01-15T11:24:40.546178461Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-01-15T11:24:40.551464783Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.287133ms grafana | logger=migrator t=2024-01-15T11:24:40.554554471Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-01-15T11:24:40.555771742Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.216131ms grafana | logger=migrator t=2024-01-15T11:24:40.559125846Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-01-15T11:24:40.560350247Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.216511ms grafana | logger=migrator t=2024-01-15T11:24:40.565255Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-01-15T11:24:40.567131248Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.877817ms grafana | logger=migrator t=2024-01-15T11:24:40.570063231Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-01-15T11:24:40.571270042Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.20335ms grafana | logger=migrator t=2024-01-15T11:24:40.575614111Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-01-15T11:24:40.576668717Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.056746ms grafana | logger=migrator t=2024-01-15T11:24:40.580913364Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-01-15T11:24:40.582200407Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.288732ms grafana | logger=migrator t=2024-01-15T11:24:40.585341346Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-01-15T11:24:40.586912195Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.59254ms grafana | logger=migrator t=2024-01-15T11:24:40.590177937Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-01-15T11:24:40.591145682Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=968.784µs grafana | logger=migrator t=2024-01-15T11:24:40.596123087Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-01-15T11:24:40.59666977Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=548.573µs grafana | logger=migrator t=2024-01-15T11:24:40.599852101Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-01-15T11:24:40.600139938Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=287.418µs grafana | logger=migrator t=2024-01-15T11:24:40.604506858Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-01-15T11:24:40.605301668Z level=info msg="Migration successfully executed" id="create tag table" duration=793.96µs grafana | logger=migrator t=2024-01-15T11:24:40.608604891Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-01-15T11:24:40.610247572Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.638951ms grafana | logger=migrator t=2024-01-15T11:24:40.613655238Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-01-15T11:24:40.614831727Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.175719ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-15T11:24:40.619652009Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-01-15T11:24:40.6205227Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=870.912µs grafana | logger=migrator t=2024-01-15T11:24:40.623548017Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-01-15T11:24:40.624445609Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=897.133µs grafana | logger=migrator t=2024-01-15T11:24:40.627609309Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-15T11:24:40.64914238Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=21.532161ms grafana | logger=migrator t=2024-01-15T11:24:40.653626913Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-01-15T11:24:40.654429893Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=802.6µs grafana | logger=migrator t=2024-01-15T11:24:40.658827614Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-01-15T11:24:40.659770248Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=947.014µs grafana | logger=migrator t=2024-01-15T11:24:40.663371548Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-01-15T11:24:40.663705497Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=333.499µs grafana | logger=migrator t=2024-01-15T11:24:40.667755598Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-01-15T11:24:40.668423465Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=667.267µs grafana | logger=migrator t=2024-01-15T11:24:40.671607065Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-01-15T11:24:40.672296173Z level=info msg="Migration successfully executed" id="create user auth table" duration=688.818µs grafana | logger=migrator t=2024-01-15T11:24:40.675561695Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-01-15T11:24:40.677460253Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.895697ms grafana | logger=migrator t=2024-01-15T11:24:40.68051864Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-01-15T11:24:40.680638683Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=120.533µs grafana | logger=migrator t=2024-01-15T11:24:40.683408832Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-01-15T11:24:40.688661144Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.252212ms grafana | logger=migrator t=2024-01-15T11:24:40.691571488Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-01-15T11:24:40.696727187Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.15469ms grafana | logger=migrator t=2024-01-15T11:24:40.701113778Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-01-15T11:24:40.710507314Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=9.395487ms grafana | logger=migrator t=2024-01-15T11:24:40.713630282Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-01-15T11:24:40.719216093Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.583311ms grafana | logger=migrator t=2024-01-15T11:24:40.72267654Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-01-15T11:24:40.724546337Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.870057ms grafana | logger=migrator t=2024-01-15T11:24:40.729986594Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-01-15T11:24:40.735188465Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.201311ms grafana | logger=migrator t=2024-01-15T11:24:40.738227571Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-01-15T11:24:40.738957729Z level=info msg="Migration successfully executed" id="create server_lock table" duration=727.718µs grafana | logger=migrator t=2024-01-15T11:24:40.741861872Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-01-15T11:24:40.742809656Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=950.224µs grafana | logger=migrator t=2024-01-15T11:24:40.770112173Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-01-15T11:24:40.771092768Z level=info msg="Migration successfully executed" id="create user auth token table" duration=984.205µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-15T11:24:40.774216516Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-01-15T11:24:40.775290783Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.076787ms grafana | logger=migrator t=2024-01-15T11:24:40.779696394Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-01-15T11:24:40.781054938Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.359144ms grafana | logger=migrator t=2024-01-15T11:24:40.785617463Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-01-15T11:24:40.786875635Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.255292ms grafana | logger=migrator t=2024-01-15T11:24:40.790398733Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-01-15T11:24:40.799135693Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.74038ms grafana | logger=migrator t=2024-01-15T11:24:40.80259754Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-01-15T11:24:40.803347389Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=750.089µs grafana | logger=migrator t=2024-01-15T11:24:40.807567895Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-01-15T11:24:40.808114779Z level=info msg="Migration successfully executed" id="create cache_data table" duration=546.854µs grafana | logger=migrator t=2024-01-15T11:24:40.811378861Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-01-15T11:24:40.812970681Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.59148ms grafana | logger=migrator t=2024-01-15T11:24:40.816966692Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | 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 | -------------- grafana | logger=migrator t=2024-01-15T11:24:40.818125281Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.15756ms grafana | logger=migrator t=2024-01-15T11:24:40.822753507Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-01-15T11:24:40.823771723Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.017756ms grafana | logger=migrator t=2024-01-15T11:24:40.826696176Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-01-15T11:24:40.826794209Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=98.103µs grafana | logger=migrator t=2024-01-15T11:24:40.829794194Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-01-15T11:24:40.829900707Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=107.993µs grafana | logger=migrator t=2024-01-15T11:24:40.834280637Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-01-15T11:24:40.835667292Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.385515ms grafana | logger=migrator t=2024-01-15T11:24:40.842266038Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-15T11:24:40.843382426Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.117848ms grafana | logger=migrator t=2024-01-15T11:24:40.845965741Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-15T11:24:40.846698549Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=732.998µs grafana | logger=migrator t=2024-01-15T11:24:40.851261834Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-15T11:24:40.851354106Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=93.052µs grafana | logger=migrator t=2024-01-15T11:24:40.854316131Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-15T11:24:40.855343957Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.026926ms grafana | logger=migrator t=2024-01-15T11:24:40.858020564Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-15T11:24:40.858943437Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=922.573µs grafana | logger=migrator t=2024-01-15T11:24:40.863725808Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-15T11:24:40.864746063Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.019925ms grafana | logger=migrator t=2024-01-15T11:24:40.867962224Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-15T11:24:40.869761739Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.799025ms grafana | logger=migrator t=2024-01-15T11:24:40.872721054Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-01-15T11:24:40.878427377Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.706933ms grafana | logger=migrator t=2024-01-15T11:24:40.883048884Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-01-15T11:24:40.883926376Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=877.132µs grafana | logger=migrator t=2024-01-15T11:24:40.886577612Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-01-15T11:24:40.886686275Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=108.983µs grafana | logger=migrator t=2024-01-15T11:24:40.889358142Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-01-15T11:24:40.890696586Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.336024ms grafana | logger=migrator t=2024-01-15T11:24:40.895182069Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-01-15T11:24:40.896781509Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.59884ms grafana | logger=migrator t=2024-01-15T11:24:40.900478622Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-01-15T11:24:40.901500528Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.021936ms grafana | logger=migrator t=2024-01-15T11:24:40.905706714Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-15T11:24:40.905800426Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=93.993µs grafana | logger=migrator t=2024-01-15T11:24:40.908469133Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-01-15T11:24:40.909376946Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=907.253µs grafana | logger=migrator t=2024-01-15T11:24:40.912090424Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-01-15T11:24:40.912951416Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=859.722µs grafana | logger=migrator t=2024-01-15T11:24:40.919208723Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2024-01-15T11:24:40.921245704Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=2.035911ms grafana | logger=migrator t=2024-01-15T11:24:40.924021754Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-01-15T11:24:40.925095461Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.071607ms grafana | logger=migrator t=2024-01-15T11:24:40.927956583Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-01-15T11:24:40.934137109Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.179856ms policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | TRUNCATE TABLE sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1300) policy-db-migrator | name version policy-db-migrator | policyadmin 1300 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:44 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:44 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:44 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:44 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:44 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:44 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:44 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:44 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:44 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:44 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:44 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:44 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:44 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:44 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:44 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:44 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:45 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:46 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:47 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:48 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:48 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:48 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:48 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:48 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:48 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:48 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:48 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:48 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:48 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:48 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:48 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:48 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:48 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1501241124440800u 1 2024-01-15 11:24:48 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1501241124440900u 1 2024-01-15 11:24:49 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1501241124440900u 1 2024-01-15 11:24:49 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1501241124440900u 1 2024-01-15 11:24:49 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1501241124440900u 1 2024-01-15 11:24:49 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1501241124440900u 1 2024-01-15 11:24:49 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1501241124440900u 1 2024-01-15 11:24:49 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1501241124440900u 1 2024-01-15 11:24:49 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1501241124440900u 1 2024-01-15 11:24:49 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1501241124440900u 1 2024-01-15 11:24:49 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1501241124440900u 1 2024-01-15 11:24:49 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1501241124440900u 1 2024-01-15 11:24:49 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1501241124440900u 1 2024-01-15 11:24:49 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1501241124440900u 1 2024-01-15 11:24:49 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1501241124441000u 1 2024-01-15 11:24:49 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1501241124441000u 1 2024-01-15 11:24:49 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1501241124441000u 1 2024-01-15 11:24:49 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1501241124441000u 1 2024-01-15 11:24:49 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1501241124441000u 1 2024-01-15 11:24:49 grafana | logger=migrator t=2024-01-15T11:24:40.938641082Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-15T11:24:40.939783391Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.141749ms grafana | logger=migrator t=2024-01-15T11:24:40.943251698Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-15T11:24:40.94492806Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.676062ms grafana | logger=migrator t=2024-01-15T11:24:40.94928833Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-01-15T11:24:40.98626081Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=36.96821ms grafana | logger=migrator t=2024-01-15T11:24:40.990689141Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-01-15T11:24:41.027288172Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=36.59596ms grafana | logger=migrator t=2024-01-15T11:24:41.030318348Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-15T11:24:41.031130748Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=812.58µs grafana | logger=migrator t=2024-01-15T11:24:41.036933154Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-15T11:24:41.038022212Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.088658ms grafana | logger=migrator t=2024-01-15T11:24:41.042775521Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-01-15T11:24:41.048562187Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.786096ms grafana | logger=migrator t=2024-01-15T11:24:41.052749182Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-01-15T11:24:41.054318332Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.568999ms grafana | logger=migrator t=2024-01-15T11:24:41.058841405Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-01-15T11:24:41.059924653Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.081037ms grafana | logger=migrator t=2024-01-15T11:24:41.063825501Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-01-15T11:24:41.064865077Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.038846ms grafana | logger=migrator t=2024-01-15T11:24:41.06779209Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-01-15T11:24:41.068908969Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.118828ms grafana | logger=migrator t=2024-01-15T11:24:41.073714759Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-15T11:24:41.073804532Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=91.043µs grafana | logger=migrator t=2024-01-15T11:24:41.077082844Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-01-15T11:24:41.085634859Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=8.552815ms grafana | logger=migrator t=2024-01-15T11:24:41.088626194Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-01-15T11:24:41.095092057Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.462853ms grafana | logger=migrator t=2024-01-15T11:24:41.098107093Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-01-15T11:24:41.104406791Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.299748ms grafana | logger=migrator t=2024-01-15T11:24:41.108561356Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-01-15T11:24:41.109293384Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=731.628µs grafana | logger=migrator t=2024-01-15T11:24:41.112059164Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-01-15T11:24:41.112839353Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=776.339µs grafana | logger=migrator t=2024-01-15T11:24:41.115754717Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-01-15T11:24:41.123218205Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.462967ms grafana | logger=migrator t=2024-01-15T11:24:41.127534653Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-01-15T11:24:41.136403736Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=8.870283ms grafana | logger=migrator t=2024-01-15T11:24:41.139300049Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-01-15T11:24:41.140319565Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.019236ms grafana | logger=migrator t=2024-01-15T11:24:41.143386472Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-01-15T11:24:41.149329691Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.942469ms grafana | logger=migrator t=2024-01-15T11:24:41.153375353Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-01-15T11:24:41.162884772Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=9.510959ms grafana | logger=migrator t=2024-01-15T11:24:41.165785345Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-01-15T11:24:41.165851387Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=66.482µs grafana | logger=migrator t=2024-01-15T11:24:41.16956065Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-01-15T11:24:41.170311719Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=750.729µs policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1501241124441000u 1 2024-01-15 11:24:49 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1501241124441000u 1 2024-01-15 11:24:50 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1501241124441000u 1 2024-01-15 11:24:50 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1501241124441000u 1 2024-01-15 11:24:50 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1501241124441100u 1 2024-01-15 11:24:50 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1501241124441200u 1 2024-01-15 11:24:50 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1501241124441200u 1 2024-01-15 11:24:50 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1501241124441200u 1 2024-01-15 11:24:50 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1501241124441200u 1 2024-01-15 11:24:50 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1501241124441300u 1 2024-01-15 11:24:50 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1501241124441300u 1 2024-01-15 11:24:50 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1501241124441300u 1 2024-01-15 11:24:50 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-01-15T11:24:41.174232768Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2024-01-15T11:24:41.175310715Z 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.074657ms grafana | logger=migrator t=2024-01-15T11:24:41.178128536Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2024-01-15T11:24:41.179307775Z 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.178459ms grafana | logger=migrator t=2024-01-15T11:24:41.182542737Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-15T11:24:41.182635709Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=93.002µs grafana | logger=migrator t=2024-01-15T11:24:41.186408714Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-01-15T11:24:41.19262201Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.211976ms grafana | logger=migrator t=2024-01-15T11:24:41.195859152Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-01-15T11:24:41.200357115Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.497983ms grafana | logger=migrator t=2024-01-15T11:24:41.203144265Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-01-15T11:24:41.209443863Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.299188ms grafana | logger=migrator t=2024-01-15T11:24:41.21329028Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-01-15T11:24:41.217959347Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=4.668557ms grafana | logger=migrator t=2024-01-15T11:24:41.364932634Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-01-15T11:24:41.372787512Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=7.860248ms grafana | logger=migrator t=2024-01-15T11:24:41.376874775Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-01-15T11:24:41.376917366Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=43.141µs grafana | logger=migrator t=2024-01-15T11:24:41.380063495Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-01-15T11:24:41.380799393Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=735.768µs grafana | logger=migrator t=2024-01-15T11:24:41.3838449Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-01-15T11:24:41.390025135Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.179725ms grafana | logger=migrator t=2024-01-15T11:24:41.39418089Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-01-15T11:24:41.394246712Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=66.562µs grafana | logger=migrator t=2024-01-15T11:24:41.397452802Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-01-15T11:24:41.407355851Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.905009ms grafana | logger=migrator t=2024-01-15T11:24:41.410697925Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-01-15T11:24:41.411418293Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=720.088µs grafana | logger=migrator t=2024-01-15T11:24:41.414954842Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-01-15T11:24:41.423870187Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.917105ms grafana | logger=migrator t=2024-01-15T11:24:41.428183855Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-01-15T11:24:41.428699838Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=515.633µs grafana | logger=migrator t=2024-01-15T11:24:41.432284258Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-01-15T11:24:41.433842828Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.558379ms grafana | logger=migrator t=2024-01-15T11:24:41.437683604Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-01-15T11:24:41.444482355Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.800201ms grafana | logger=migrator t=2024-01-15T11:24:41.448998539Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-01-15T11:24:41.449711587Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=710.768µs grafana | logger=migrator t=2024-01-15T11:24:41.453225425Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-01-15T11:24:41.454245521Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.019366ms grafana | logger=migrator t=2024-01-15T11:24:41.459407191Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-01-15T11:24:41.460144439Z level=info msg="Migration successfully executed" id="create alert_image table" duration=736.959µs grafana | logger=migrator t=2024-01-15T11:24:41.465228377Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-01-15T11:24:41.466919499Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.701472ms grafana | logger=migrator t=2024-01-15T11:24:41.470704585Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-01-15T11:24:41.470799167Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=97.952µs grafana | logger=migrator t=2024-01-15T11:24:41.474409338Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-01-15T11:24:41.475352452Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=942.864µs grafana | logger=migrator t=2024-01-15T11:24:41.47967923Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-01-15T11:24:41.480641765Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=960.805µs grafana | logger=migrator t=2024-01-15T11:24:41.484280476Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-01-15T11:24:41.484678216Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-01-15T11:24:41.48800641Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-01-15T11:24:41.488382839Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=376.279µs grafana | logger=migrator t=2024-01-15T11:24:41.49279113Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-01-15T11:24:41.494577805Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.789595ms grafana | logger=migrator t=2024-01-15T11:24:41.49835205Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-01-15T11:24:41.505319425Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.969105ms grafana | logger=migrator t=2024-01-15T11:24:41.631271173Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-01-15T11:24:41.632885744Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.619021ms grafana | logger=migrator t=2024-01-15T11:24:41.637537821Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-01-15T11:24:41.638586837Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.048576ms grafana | logger=migrator t=2024-01-15T11:24:41.642047854Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-01-15T11:24:41.642965687Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=914.833µs grafana | logger=migrator t=2024-01-15T11:24:41.64663022Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-01-15T11:24:41.648470036Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.840426ms grafana | logger=migrator t=2024-01-15T11:24:41.653222575Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-01-15T11:24:41.654316893Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.093888ms grafana | logger=migrator t=2024-01-15T11:24:41.657749269Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-01-15T11:24:41.65778238Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=34.291µs grafana | logger=migrator t=2024-01-15T11:24:41.661019792Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-01-15T11:24:41.661087023Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=66.031µs grafana | logger=migrator t=2024-01-15T11:24:41.666566021Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-01-15T11:24:41.667098204Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=529.893µs grafana | logger=migrator t=2024-01-15T11:24:41.718566049Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-01-15T11:24:41.720036426Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.472237ms grafana | logger=migrator t=2024-01-15T11:24:41.725424512Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-01-15T11:24:41.726666053Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.242012ms grafana | logger=migrator t=2024-01-15T11:24:41.74681916Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-01-15T11:24:41.796034398Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=49.217948ms grafana | logger=migrator t=2024-01-15T11:24:41.803637959Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-01-15T11:24:41.81323104Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=9.592601ms grafana | logger=migrator t=2024-01-15T11:24:41.833562461Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-01-15T11:24:41.833830078Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=263.747µs grafana | logger=migrator t=2024-01-15T11:24:41.838105766Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-01-15T11:24:41.887434646Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=49.32705ms grafana | logger=migrator t=2024-01-15T11:24:41.89275128Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-01-15T11:24:41.941589479Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=48.820518ms grafana | logger=migrator t=2024-01-15T11:24:41.945119037Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-01-15T11:24:41.945807855Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=688.958µs grafana | logger=migrator t=2024-01-15T11:24:41.949134718Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-01-15T11:24:41.949966119Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=830.911µs grafana | logger=migrator t=2024-01-15T11:24:41.954900383Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-01-15T11:24:41.955254322Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=353.689µs grafana | logger=migrator t=2024-01-15T11:24:41.958224347Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-01-15T11:24:41.958994866Z level=info msg="Migration successfully executed" id="create permission table" duration=769.999µs grafana | logger=migrator t=2024-01-15T11:24:41.964670139Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-01-15T11:24:41.966341011Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.670692ms grafana | logger=migrator t=2024-01-15T11:24:41.969811848Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-01-15T11:24:41.971832779Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=2.020091ms grafana | logger=migrator t=2024-01-15T11:24:41.97780559Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-01-15T11:24:41.979467211Z level=info msg="Migration successfully executed" id="create role table" duration=1.664312ms grafana | logger=migrator t=2024-01-15T11:24:41.983982515Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-01-15T11:24:41.992029887Z level=info msg="Migration successfully executed" id="add column display_name" duration=8.049362ms grafana | logger=migrator t=2024-01-15T11:24:41.995627958Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-01-15T11:24:42.002779178Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.15082ms grafana | logger=migrator t=2024-01-15T11:24:42.007936937Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-01-15T11:24:42.008647585Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=710.458µs grafana | logger=migrator t=2024-01-15T11:24:42.011904417Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-01-15T11:24:42.0136372Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.731604ms grafana | logger=migrator t=2024-01-15T11:24:42.017599499Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-01-15T11:24:42.018766148Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.166649ms grafana | logger=migrator t=2024-01-15T11:24:42.022288996Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-01-15T11:24:42.023059246Z level=info msg="Migration successfully executed" id="create team role table" duration=770.02µs grafana | logger=migrator t=2024-01-15T11:24:42.029308212Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-01-15T11:24:42.031284022Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.97476ms grafana | logger=migrator t=2024-01-15T11:24:42.037091397Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-01-15T11:24:42.038507562Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.416105ms grafana | logger=migrator t=2024-01-15T11:24:42.046317868Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-01-15T11:24:42.04758263Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.265342ms grafana | logger=migrator t=2024-01-15T11:24:42.05277919Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-01-15T11:24:42.053673442Z level=info msg="Migration successfully executed" id="create user role table" duration=892.762µs grafana | logger=migrator t=2024-01-15T11:24:42.060080663Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-01-15T11:24:42.062549334Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=2.468932ms grafana | logger=migrator t=2024-01-15T11:24:42.068166055Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-01-15T11:24:42.069258432Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.092207ms grafana | logger=migrator t=2024-01-15T11:24:42.080214337Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-01-15T11:24:42.082030502Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.817096ms grafana | logger=migrator t=2024-01-15T11:24:42.088237057Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-01-15T11:24:42.089021987Z level=info msg="Migration successfully executed" id="create builtin role table" duration=786.5µs grafana | logger=migrator t=2024-01-15T11:24:42.097588071Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-01-15T11:24:42.099574501Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.98633ms grafana | logger=migrator t=2024-01-15T11:24:42.107313605Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-01-15T11:24:42.109439718Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=2.126103ms grafana | logger=migrator t=2024-01-15T11:24:42.116424733Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-01-15T11:24:42.125840529Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.416196ms grafana | logger=migrator t=2024-01-15T11:24:42.283992428Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-01-15T11:24:42.286547642Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=2.556424ms grafana | logger=migrator t=2024-01-15T11:24:42.295593398Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-01-15T11:24:42.296793578Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.19991ms grafana | logger=migrator t=2024-01-15T11:24:42.302332177Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-01-15T11:24:42.305188868Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=2.856291ms grafana | logger=migrator t=2024-01-15T11:24:42.310670366Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-01-15T11:24:42.311933187Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.263091ms grafana | logger=migrator t=2024-01-15T11:24:42.319065096Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-01-15T11:24:42.320680996Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.61543ms grafana | logger=migrator t=2024-01-15T11:24:42.326199934Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-01-15T11:24:42.328270626Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=2.070092ms grafana | logger=migrator t=2024-01-15T11:24:42.335252841Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-01-15T11:24:42.346547094Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=11.295353ms grafana | logger=migrator t=2024-01-15T11:24:42.355337744Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-01-15T11:24:42.363672472Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.335098ms grafana | logger=migrator t=2024-01-15T11:24:42.369623421Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-01-15T11:24:42.379298714Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=9.674483ms grafana | logger=migrator t=2024-01-15T11:24:42.382784871Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-01-15T11:24:42.390537385Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.752134ms grafana | logger=migrator t=2024-01-15T11:24:42.396303929Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-01-15T11:24:42.39714996Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=844.521µs grafana | logger=migrator t=2024-01-15T11:24:42.403302295Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-01-15T11:24:42.40510072Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.798645ms grafana | logger=migrator t=2024-01-15T11:24:42.411984202Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-01-15T11:24:42.413830838Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.845676ms grafana | logger=migrator t=2024-01-15T11:24:42.423803258Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-01-15T11:24:42.423921361Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=118.423µs grafana | logger=migrator t=2024-01-15T11:24:42.431420058Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-01-15T11:24:42.43147202Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=53.532µs grafana | logger=migrator t=2024-01-15T11:24:42.436405523Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-01-15T11:24:42.437183603Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=779.43µs grafana | logger=migrator t=2024-01-15T11:24:42.445267725Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-01-15T11:24:42.446395073Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.128918ms grafana | logger=migrator t=2024-01-15T11:24:42.452375533Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-01-15T11:24:42.45347063Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.056266ms grafana | logger=migrator t=2024-01-15T11:24:42.462379283Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-01-15T11:24:42.462763963Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=385.58µs grafana | logger=migrator t=2024-01-15T11:24:42.467479891Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-01-15T11:24:42.468177149Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=682.927µs grafana | logger=migrator t=2024-01-15T11:24:42.473328157Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-01-15T11:24:42.47463557Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.306593ms grafana | logger=migrator t=2024-01-15T11:24:42.481841331Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-01-15T11:24:42.483553553Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.720203ms grafana | logger=migrator t=2024-01-15T11:24:42.488484367Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-01-15T11:24:42.497977335Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=9.493007ms grafana | logger=migrator t=2024-01-15T11:24:42.50178862Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-01-15T11:24:42.501838781Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=51.381µs grafana | logger=migrator t=2024-01-15T11:24:42.510842487Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-01-15T11:24:42.511716008Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=873.421µs grafana | logger=migrator t=2024-01-15T11:24:42.516822366Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-01-15T11:24:42.519229067Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.40616ms grafana | logger=migrator t=2024-01-15T11:24:42.527019282Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-01-15T11:24:42.528810886Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.792065ms grafana | logger=migrator t=2024-01-15T11:24:42.535626917Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-01-15T11:24:42.547627667Z level=info msg="Migration successfully executed" id="add correlation config column" duration=12.00307ms grafana | logger=migrator t=2024-01-15T11:24:42.553904285Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-01-15T11:24:42.556001937Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=2.097903ms grafana | logger=migrator t=2024-01-15T11:24:42.647670802Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-01-15T11:24:42.650046401Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=2.378669ms grafana | logger=migrator t=2024-01-15T11:24:42.655305883Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-15T11:24:42.692478014Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=37.16161ms grafana | logger=migrator t=2024-01-15T11:24:42.703665774Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-01-15T11:24:42.705348646Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.682862ms grafana | logger=migrator t=2024-01-15T11:24:42.710272219Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-01-15T11:24:42.712111245Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.838096ms grafana | logger=migrator t=2024-01-15T11:24:42.718369342Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-01-15T11:24:42.720549696Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.184245ms grafana | logger=migrator t=2024-01-15T11:24:42.72547737Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-01-15T11:24:42.726571377Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.094347ms grafana | logger=migrator t=2024-01-15T11:24:42.732130576Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-01-15T11:24:42.732614218Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=483.462µs grafana | logger=migrator t=2024-01-15T11:24:42.738542497Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-01-15T11:24:42.739358137Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=815.52µs grafana | logger=migrator t=2024-01-15T11:24:42.751025159Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-01-15T11:24:42.76182735Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.805611ms grafana | logger=migrator t=2024-01-15T11:24:42.766916627Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-01-15T11:24:42.767685246Z level=info msg="Migration successfully executed" id="create entity_events table" duration=768.559µs grafana | logger=migrator t=2024-01-15T11:24:42.780198389Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-01-15T11:24:42.781871121Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.672012ms grafana | logger=migrator t=2024-01-15T11:24:42.788109128Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-15T11:24:42.788957139Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-15T11:24:42.793693647Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-15T11:24:42.794682632Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-15T11:24:42.799293007Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-01-15T11:24:42.800544619Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.251332ms grafana | logger=migrator t=2024-01-15T11:24:42.80498474Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-01-15T11:24:42.806660232Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.674982ms grafana | logger=migrator t=2024-01-15T11:24:42.811468762Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-15T11:24:42.813239117Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.771175ms grafana | logger=migrator t=2024-01-15T11:24:42.816465057Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-15T11:24:42.817661267Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.19593ms grafana | logger=migrator t=2024-01-15T11:24:42.823274688Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-15T11:24:42.824452267Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.176839ms grafana | logger=migrator t=2024-01-15T11:24:42.828690483Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-15T11:24:42.830603691Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.910848ms grafana | logger=migrator t=2024-01-15T11:24:42.836096049Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-01-15T11:24:42.837588026Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.492707ms grafana | logger=migrator t=2024-01-15T11:24:42.84255023Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-01-15T11:24:42.843684599Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.134289ms grafana | logger=migrator t=2024-01-15T11:24:42.854073539Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-15T11:24:42.85533238Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.259171ms grafana | logger=migrator t=2024-01-15T11:24:42.862848838Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-15T11:24:42.86490037Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=2.047732ms grafana | logger=migrator t=2024-01-15T11:24:42.871092835Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-01-15T11:24:42.873041954Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.950409ms grafana | logger=migrator t=2024-01-15T11:24:42.879043624Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-01-15T11:24:42.911529597Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.485703ms grafana | logger=migrator t=2024-01-15T11:24:42.917273961Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-01-15T11:24:42.926218565Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.945634ms grafana | logger=migrator t=2024-01-15T11:24:42.931102987Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-01-15T11:24:42.939501287Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.39517ms grafana | logger=migrator t=2024-01-15T11:24:42.9428163Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-01-15T11:24:42.943133208Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=316.578µs grafana | logger=migrator t=2024-01-15T11:24:42.946236296Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-01-15T11:24:42.954411441Z level=info msg="Migration successfully executed" id="add share column" duration=8.172394ms grafana | logger=migrator t=2024-01-15T11:24:42.957783515Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-01-15T11:24:42.958133354Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=349.709µs grafana | logger=migrator t=2024-01-15T11:24:42.961303813Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-01-15T11:24:42.962288188Z level=info msg="Migration successfully executed" id="create file table" duration=981.935µs grafana | logger=migrator t=2024-01-15T11:24:42.965725164Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-01-15T11:24:42.966942164Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.21688ms grafana | logger=migrator t=2024-01-15T11:24:42.970069893Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-01-15T11:24:42.971242132Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.172169ms grafana | logger=migrator t=2024-01-15T11:24:42.974628507Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-01-15T11:24:42.975512939Z level=info msg="Migration successfully executed" id="create file_meta table" duration=883.762µs grafana | logger=migrator t=2024-01-15T11:24:42.978795021Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-01-15T11:24:42.980071303Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.276242ms grafana | logger=migrator t=2024-01-15T11:24:42.985231162Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-01-15T11:24:42.985412197Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=182.465µs grafana | logger=migrator t=2024-01-15T11:24:42.988534465Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-01-15T11:24:42.988762461Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=227.565µs grafana | logger=migrator t=2024-01-15T11:24:42.991828047Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-01-15T11:24:42.992932795Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.104778ms grafana | logger=migrator t=2024-01-15T11:24:42.996483134Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-01-15T11:24:42.99711069Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=627.845µs grafana | logger=migrator t=2024-01-15T11:24:43.000518065Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-01-15T11:24:43.001460208Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=941.473µs grafana | logger=migrator t=2024-01-15T11:24:43.004566876Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-01-15T11:24:43.014206984Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.639748ms grafana | logger=migrator t=2024-01-15T11:24:43.017566623Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-01-15T11:24:43.017853429Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=284.946µs grafana | logger=migrator t=2024-01-15T11:24:43.021153907Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-01-15T11:24:43.022391956Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.237819ms grafana | logger=migrator t=2024-01-15T11:24:43.025851127Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-01-15T11:24:43.02637314Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=522.892µs grafana | logger=migrator t=2024-01-15T11:24:43.029892592Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-01-15T11:24:43.03021672Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=326.228µs grafana | logger=migrator t=2024-01-15T11:24:43.033538218Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-01-15T11:24:43.034511091Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=972.903µs grafana | logger=migrator t=2024-01-15T11:24:43.0378841Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-01-15T11:24:43.047197539Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.310748ms grafana | logger=migrator t=2024-01-15T11:24:43.050583408Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-01-15T11:24:43.059370774Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.786586ms grafana | logger=migrator t=2024-01-15T11:24:43.062345434Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-01-15T11:24:43.063492401Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.146977ms grafana | logger=migrator t=2024-01-15T11:24:43.066357458Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-01-15T11:24:43.175081402Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=108.721034ms grafana | logger=migrator t=2024-01-15T11:24:43.185041426Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-01-15T11:24:43.186707805Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.666909ms grafana | logger=migrator t=2024-01-15T11:24:43.196524715Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-01-15T11:24:43.197963339Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.438604ms grafana | logger=migrator t=2024-01-15T11:24:43.238499531Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-01-15T11:24:43.284628274Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=46.123183ms grafana | logger=migrator t=2024-01-15T11:24:43.288819243Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-01-15T11:24:43.289393836Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=577.763µs grafana | logger=migrator t=2024-01-15T11:24:43.293236736Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-01-15T11:24:43.293683287Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=446.671µs grafana | logger=migrator t=2024-01-15T11:24:43.297829634Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-01-15T11:24:43.298163952Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=334.478µs grafana | logger=migrator t=2024-01-15T11:24:43.301187653Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-01-15T11:24:43.302530185Z level=info msg="Migration successfully executed" id="create folder table" duration=1.338152ms grafana | logger=migrator t=2024-01-15T11:24:43.306295143Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-01-15T11:24:43.308398593Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.13133ms grafana | logger=migrator t=2024-01-15T11:24:43.313303988Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-01-15T11:24:43.314565927Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.260209ms grafana | logger=migrator t=2024-01-15T11:24:43.31766579Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-01-15T11:24:43.317720851Z level=info msg="Migration successfully executed" id="Update folder title length" duration=55.771µs grafana | logger=migrator t=2024-01-15T11:24:43.322407641Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-15T11:24:43.32363082Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.222889ms grafana | logger=migrator t=2024-01-15T11:24:43.328000363Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-15T11:24:43.329244692Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.244619ms grafana | logger=migrator t=2024-01-15T11:24:43.332822056Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-01-15T11:24:43.334163198Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.340962ms grafana | logger=migrator t=2024-01-15T11:24:43.338741605Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-01-15T11:24:43.339696598Z level=info msg="Migration successfully executed" id="create anon_device table" duration=957.182µs grafana | logger=migrator t=2024-01-15T11:24:43.398284693Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-01-15T11:24:43.400428094Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.145071ms grafana | logger=migrator t=2024-01-15T11:24:43.40452201Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-01-15T11:24:43.406308752Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.788082ms grafana | logger=migrator t=2024-01-15T11:24:43.412245921Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-01-15T11:24:43.413318546Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.072175ms grafana | logger=migrator t=2024-01-15T11:24:43.41686223Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-01-15T11:24:43.418195731Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.332881ms grafana | logger=migrator t=2024-01-15T11:24:43.422052452Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-01-15T11:24:43.424409567Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=2.358916ms grafana | logger=migrator t=2024-01-15T11:24:43.429260631Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-01-15T11:24:43.429739832Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=480.121µs grafana | logger=migrator t=2024-01-15T11:24:43.433612263Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-01-15T11:24:43.443408013Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.79546ms grafana | logger=migrator t=2024-01-15T11:24:43.447270544Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-01-15T11:24:43.448133284Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=863.63µs grafana | logger=migrator t=2024-01-15T11:24:43.450485869Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-01-15T11:24:43.452020415Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.533176ms grafana | logger=migrator t=2024-01-15T11:24:43.456782747Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-01-15T11:24:43.457879403Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.096146ms grafana | logger=migrator t=2024-01-15T11:24:43.466093856Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-01-15T11:24:43.467477898Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.385852ms grafana | logger=migrator t=2024-01-15T11:24:43.471897532Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-01-15T11:24:43.472582508Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=686.546µs grafana | logger=migrator t=2024-01-15T11:24:43.477968425Z level=info msg="migrations completed" performed=523 skipped=0 duration=4.543636708s grafana | logger=sqlstore t=2024-01-15T11:24:43.489022654Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-01-15T11:24:43.489435924Z level=info msg="Created default organization" grafana | logger=secrets t=2024-01-15T11:24:43.493014808Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-01-15T11:24:43.514156014Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-01-15T11:24:43.54844793Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-01-15T11:24:43.548611944Z level=info msg="Plugins loaded" count=55 duration=34.45669ms grafana | logger=query_data t=2024-01-15T11:24:43.560129554Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-01-15T11:24:43.564567558Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-01-15T11:24:43.570959778Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-01-15T11:24:43.571835989Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-01-15T11:24:43.572180607Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2024-01-15T11:24:43.572625748Z level=warn msg="No available receivers" grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-15T11:24:43.575776632Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-01-15T11:24:43.603620425Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-01-15T11:24:43.60639115Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-01-15T11:24:43.618084435Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-01-15T11:24:43.618109966Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-01-15T11:24:43.618352321Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2024-01-15T11:24:43.618869424Z level=info msg="Storage starting" grafana | logger=ngalert.multiorg.alertmanager t=2024-01-15T11:24:43.619307694Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-01-15T11:24:43.622296254Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2024-01-15T11:24:43.646451381Z level=info msg="Update check succeeded" duration=27.994137ms grafana | logger=plugins.update.checker t=2024-01-15T11:24:43.683123692Z level=info msg="Update check succeeded" duration=64.482574ms grafana | logger=ngalert.state.manager t=2024-01-15T11:24:43.688765755Z level=info msg="State cache has been initialized" states=0 duration=70.405884ms grafana | logger=ngalert.scheduler t=2024-01-15T11:24:43.688850347Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-01-15T11:24:43.688940059Z level=info msg=starting first_tick=2024-01-15T11:24:50Z grafana | logger=sqlstore.transactions t=2024-01-15T11:24:43.700225284Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-01-15T11:24:43.712683767Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=sqlstore.transactions t=2024-01-15T11:24:43.76015776Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=infra.usagestats t=2024-01-15T11:26:09.631707345Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing grafana ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing policy-db-migrator ... done Removing grafana ... done Removing policy-api ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.XURzf17o6z ]] + rsync -av /tmp/tmp.XURzf17o6z/ /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,521 bytes received 95 bytes 2,691,232.00 bytes/sec total size is 1,344,876 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 2105 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins17018132556891966627.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14587263902614851022.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/jenkins5900715643533473188.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-M7h0 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-M7h0/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins17010367578135332925.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config8547486016447523273tmp 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/jenkins9870850056734346525.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins9745470653833207886.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-M7h0 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-M7h0/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins5678681861569452084.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins10394122234215140760.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-M7h0 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-M7h0/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/jenkins6684351269006197181.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-M7h0 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-M7h0/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1492 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-12414 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 850 27101 0 4214 30860 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:81:d2:7d brd ff:ff:ff:ff:ff:ff inet 10.30.107.129/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86036sec preferred_lft 86036sec inet6 fe80::f816:3eff:fe81:d27d/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:36:e4:6e:80 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-12414) 01/15/24 _x86_64_ (8 CPU) 11:21:21 LINUX RESTART (8 CPU) 11:22:01 tps rtps wtps bread/s bwrtn/s 11:23:01 105.83 37.56 68.27 1751.31 15396.63 11:24:01 118.00 22.90 95.10 2734.61 21322.58 11:25:01 383.19 14.01 369.17 810.26 79406.93 11:26:01 10.73 0.63 10.10 19.33 8713.46 11:27:01 51.62 1.87 49.76 125.85 12697.28 Average: 133.87 15.39 118.48 1088.27 27507.38 11:22:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:23:01 30070324 31675852 2868896 8.71 69292 1847360 1456220 4.28 900140 1682656 167780 11:24:01 29253356 31683144 3685864 11.19 97388 2612892 1381088 4.06 980552 2354340 579768 11:25:01 27064624 30941412 5874596 17.83 129252 3964516 3770956 11.10 1806584 3613552 260 11:26:01 26435392 30314252 6503828 19.74 129448 3965812 4502968 13.25 2436384 3610064 76 11:27:01 27798952 31639520 5140268 15.61 131896 3935132 1426544 4.20 1147148 3563276 16936 Average: 28124530 31250836 4814690 14.62 111455 3265142 2507555 7.38 1454162 2964778 152964 11:22:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:23:01 lo 1.47 1.47 0.16 0.16 0.00 0.00 0.00 0.00 11:23:01 ens3 115.83 77.40 1075.06 19.45 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 br-e1eadb758e36 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:01 lo 4.93 4.93 0.46 0.46 0.00 0.00 0.00 0.00 11:24:01 ens3 121.70 82.55 2845.65 10.71 0.00 0.00 0.00 0.00 11:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:25:01 br-e1eadb758e36 0.58 0.60 0.05 0.30 0.00 0.00 0.00 0.00 11:25:01 lo 4.97 4.97 0.44 0.44 0.00 0.00 0.00 0.00 11:25:01 vetha8e1c60 53.91 64.66 19.16 16.03 0.00 0.00 0.00 0.00 11:25:01 vetha9a7e34 0.45 0.65 0.05 0.30 0.00 0.00 0.00 0.00 11:26:01 br-e1eadb758e36 3.10 3.57 6.12 2.22 0.00 0.00 0.00 0.00 11:26:01 lo 9.68 9.68 8.49 8.49 0.00 0.00 0.00 0.00 11:26:01 vetha8e1c60 77.47 95.28 95.46 22.93 0.00 0.00 0.00 0.01 11:26:01 vetha9a7e34 0.17 0.22 0.01 0.01 0.00 0.00 0.00 0.00 11:27:01 lo 7.57 7.57 0.63 0.63 0.00 0.00 0.00 0.00 11:27:01 ens3 841.91 556.02 13063.36 112.30 0.00 0.00 0.00 0.00 11:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 5.72 5.72 2.04 2.04 0.00 0.00 0.00 0.00 Average: ens3 117.83 77.53 2475.86 14.11 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-12414) 01/15/24 _x86_64_ (8 CPU) 11:21:21 LINUX RESTART (8 CPU) 11:22:01 CPU %user %nice %system %iowait %steal %idle 11:23:01 all 10.34 0.00 0.79 1.88 0.08 86.90 11:23:01 0 12.58 0.00 1.02 0.45 0.03 85.92 11:23:01 1 15.17 0.00 1.03 0.67 0.45 82.68 11:23:01 2 3.78 0.00 0.48 2.27 0.02 93.45 11:23:01 3 23.74 0.00 1.42 3.02 0.05 71.77 11:23:01 4 7.16 0.00 0.77 0.95 0.05 91.07 11:23:01 5 11.52 0.00 0.80 2.19 0.03 85.46 11:23:01 6 7.31 0.00 0.37 4.74 0.03 87.56 11:23:01 7 1.48 0.00 0.43 0.78 0.02 97.28 11:24:01 all 10.73 0.00 1.37 2.16 0.04 85.70 11:24:01 0 10.98 0.00 1.62 0.89 0.03 86.48 11:24:01 1 24.49 0.00 1.72 1.52 0.05 72.21 11:24:01 2 26.37 0.00 2.32 1.47 0.07 69.77 11:24:01 3 6.97 0.00 1.35 9.40 0.03 82.25 11:24:01 4 3.49 0.00 0.85 2.21 0.05 93.40 11:24:01 5 7.65 0.00 1.14 0.45 0.03 90.73 11:24:01 6 3.21 0.00 1.20 1.29 0.02 94.28 11:24:01 7 2.71 0.00 0.75 0.02 0.02 96.51 11:25:01 all 14.44 0.00 3.60 6.39 0.07 75.50 11:25:01 0 14.72 0.00 3.53 1.88 0.05 79.82 11:25:01 1 18.61 0.00 3.95 2.81 0.08 74.55 11:25:01 2 12.72 0.00 3.93 1.84 0.07 81.45 11:25:01 3 11.53 0.00 2.50 9.15 0.07 76.75 11:25:01 4 14.80 0.00 3.58 1.71 0.07 79.84 11:25:01 5 15.37 0.00 3.86 1.52 0.07 79.18 11:25:01 6 14.63 0.00 3.45 1.94 0.08 79.90 11:25:01 7 13.15 0.00 4.06 30.20 0.10 52.49 11:26:01 all 6.28 0.00 0.53 0.53 0.02 92.63 11:26:01 0 6.10 0.00 0.65 0.00 0.03 93.22 11:26:01 1 8.05 0.00 0.55 0.10 0.03 91.27 11:26:01 2 5.24 0.00 0.43 0.03 0.02 94.28 11:26:01 3 5.34 0.00 0.43 0.02 0.02 94.20 11:26:01 4 6.30 0.00 0.38 0.00 0.02 93.30 11:26:01 5 7.52 0.00 0.70 0.02 0.02 91.74 11:26:01 6 4.11 0.00 0.27 0.00 0.03 95.59 11:26:01 7 7.64 0.00 0.84 4.13 0.02 87.38 11:27:01 all 6.03 0.00 0.60 1.20 0.04 92.14 11:27:01 0 3.88 0.00 0.62 1.12 0.02 94.36 11:27:01 1 2.41 0.00 0.63 0.20 0.02 96.74 11:27:01 2 2.61 0.00 0.39 0.18 0.02 96.80 11:27:01 3 3.12 0.00 0.78 0.97 0.02 95.11 11:27:01 4 2.17 0.00 0.43 0.03 0.02 97.35 11:27:01 5 3.53 0.00 0.57 0.10 0.02 95.78 11:27:01 6 27.80 0.00 0.83 0.92 0.07 70.38 11:27:01 7 2.66 0.00 0.54 6.06 0.08 90.65 Average: all 9.56 0.00 1.37 2.42 0.05 86.59 Average: 0 9.64 0.00 1.48 0.87 0.03 87.97 Average: 1 13.73 0.00 1.57 1.06 0.13 83.51 Average: 2 10.14 0.00 1.51 1.16 0.04 87.16 Average: 3 10.14 0.00 1.30 4.51 0.04 84.02 Average: 4 6.77 0.00 1.20 0.98 0.04 91.02 Average: 5 9.11 0.00 1.41 0.85 0.03 88.60 Average: 6 11.40 0.00 1.22 1.78 0.05 85.55 Average: 7 5.52 0.00 1.32 8.20 0.05 84.91