Started by upstream project "policy-docker-master-merge-java" build number 326 originally caused by: Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/docker/+/136718 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-1454 (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-eyk6iVUWs5m7/agent.2110 SSH_AGENT_PID=2112 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_2894550162302947945.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_2894550162302947945.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 dae767c98f1f15da96d543f029c846d95a5de76a (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f dae767c98f1f15da96d543f029c846d95a5de76a # timeout=30 Commit message: "Update SLAs dashboards metrics labels" > git rev-list --no-walk 5a933e9b61471e552e21dc1df3d220f7d8fa4156 # 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/jenkins16256517355783607699.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-jzjn 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-jzjn/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-jzjn/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.1.6 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.13.1 beautifulsoup4==4.12.2 boto3==1.33.5 botocore==1.33.5 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.24.0 httplib2==0.22.0 identify==2.5.32 idna==3.6 importlib-metadata==6.8.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.2 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.0.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.31.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.8.2 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.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.24.7 wcwidth==0.2.12 websocket-client==1.6.4 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/sh /tmp/jenkins6366058640671228590.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/jenkins12428285660023746987.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.4GV8bCStCY ++ echo ROBOT_VENV=/tmp/tmp.4GV8bCStCY +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.4GV8bCStCY ++ source /tmp/tmp.4GV8bCStCY/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.4GV8bCStCY +++ 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.4GV8bCStCY/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.4GV8bCStCY) ' '!=' x ']' +++ PS1='(tmp.4GV8bCStCY) ' +++ 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.8.3 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==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.3.1 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.4GV8bCStCY/src/onap ++ rm -rf /tmp/tmp.4GV8bCStCY/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==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==4.9.3 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.3.1 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.4GV8bCStCY/bin/activate + '[' -z /tmp/tmp.4GV8bCStCY/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.4GV8bCStCY/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.4GV8bCStCY ++ 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.4GV8bCStCY/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.4GV8bCStCY) ' ++ '[' 'x(tmp.4GV8bCStCY) ' '!=' x ']' ++ PS1='(tmp.4GV8bCStCY) (tmp.4GV8bCStCY) ' ++ 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.EWpqXpRmPu + cd /tmp/tmp.EWpqXpRmPu + 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.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:535b9fec1d4848bde53cf1c2d10e10228e438d5a3d19ff53070fe232da33e1ca Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-api Digest: sha256:8d92621d8c2db53e521c2d1638b6a3401be0e528ad514a311771ba2d2337d7ea Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:b440bc0e8aa5bab44a782952c09516b6a50f9d7b2325c1ffafac7bc833298e2e 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:e3e9c2b5776fe3657f4954dfa91579224f98a0316f51d431989b15425e95530f Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... 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 policy-db-migrator Up 11 seconds grafana Up 13 seconds prometheus Up 14 seconds mariadb Up 11 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds prometheus Up 19 seconds mariadb Up 16 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds prometheus Up 24 seconds mariadb Up 22 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ sed 's/./& /g' ++ echo hxB + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 15:13:01 up 3 min, 0 users, load average: 2.16, 0.98, 0.39 Tasks: 176 total, 1 running, 101 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.2 us, 1.9 sy, 0.0 ni, 82.0 id, 5.8 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.5G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS fa73efc21327 policy-api 0.10% 499.8MiB / 31.41GiB 1.55% 998kB / 710kB 0B / 0B 53 bf7998cfcfdc grafana 0.05% 96.79MiB / 31.41GiB 0.30% 18.5kB / 3.09kB 0B / 23.6MB 23 cff88e1faf0d prometheus 0.00% 18.4MiB / 31.41GiB 0.06% 1.52kB / 158B 106kB / 0B 13 8e75c1b4c9eb mariadb 0.02% 100.9MiB / 31.41GiB 0.31% 986kB / 1.17MB 11MB / 67.9MB 27 + echo + cd /tmp/tmp.EWpqXpRmPu + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 22 tests, 22 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 9 tests, 9 passed, 0 failed ============================================================================== api | PASS | 31 tests, 31 passed, 0 failed ============================================================================== Output: /tmp/tmp.EWpqXpRmPu/output.xml Log: /tmp/tmp.EWpqXpRmPu/log.html Report: /tmp/tmp.EWpqXpRmPu/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 15:14:11 up 4 min, 0 users, load average: 0.70, 0.79, 0.37 Tasks: 174 total, 1 running, 99 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.7 us, 1.5 sy, 0.0 ni, 85.3 id, 4.4 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS fa73efc21327 policy-api 0.23% 826.9MiB / 31.41GiB 2.57% 7MB / 2.55MB 0B / 0B 54 bf7998cfcfdc grafana 0.02% 97.65MiB / 31.41GiB 0.30% 19.6kB / 4.38kB 0B / 23.6MB 23 cff88e1faf0d prometheus 0.00% 24.99MiB / 31.41GiB 0.08% 55.6kB / 6.65kB 106kB / 0B 13 8e75c1b4c9eb mariadb 0.01% 102MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 68.3MB 18 + echo + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose ++ cd /w/workspace/policy-api-master-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, prometheus, mariadb grafana | logger=settings t=2023-12-01T15:12:32.780110303Z level=info msg="Starting Grafana" version=10.2.2 commit=161e3cac5075540918e3a39004f2364ad104d5bb branch=HEAD compiled=2023-11-20T12:28:00Z grafana | logger=settings t=2023-12-01T15:12:32.780534243Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-12-01T15:12:32.780575184Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-12-01T15:12:32.780631255Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-12-01T15:12:32.780682726Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-12-01T15:12:32.780717597Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-01T15:12:32.780765788Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-01T15:12:32.78084455Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-12-01T15:12:32.780883291Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-12-01T15:12:32.780953453Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-12-01T15:12:32.781007054Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-01T15:12:32.781066135Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-01T15:12:32.781145327Z level=info msg=Target target=[all] grafana | logger=settings t=2023-12-01T15:12:32.781205649Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-12-01T15:12:32.78125767Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-12-01T15:12:32.781294361Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-12-01T15:12:32.781363653Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-12-01T15:12:32.781417254Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-12-01T15:12:32.781454455Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-12-01T15:12:32.781858165Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-12-01T15:12:32.781927546Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-12-01T15:12:32.78253745Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-12-01T15:12:32.783511913Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-12-01T15:12:32.784307052Z level=info msg="Migration successfully executed" id="create migration_log table" duration=795.879µs grafana | logger=migrator t=2023-12-01T15:12:32.788175943Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-12-01T15:12:32.788769176Z level=info msg="Migration successfully executed" id="create user table" duration=592.633µs grafana | logger=migrator t=2023-12-01T15:12:32.791958871Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-12-01T15:12:32.793003366Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.044055ms grafana | logger=migrator t=2023-12-01T15:12:32.798604638Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-12-01T15:12:32.79999284Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.389522ms mariadb | 2023-12-01 15:12:33+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-01 15:12:33+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-12-01 15:12:34+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-01 15:12:34+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-12-01 15:12:34 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-01 15:12:34 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-01 15:12:34 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2023-12-01 15:12:35+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-12-01 15:12:35+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-12-01 15:12:35+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-12-01 15:12:35 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 97 ... mariadb | 2023-12-01 15:12:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-01 15:12:35 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-01 15:12:35 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-01 15:12:35 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-01 15:12:35 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-01 15:12:35 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-01 15:12:35 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-01 15:12:35 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-01 15:12:35 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-01 15:12:35 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-01 15:12:35 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-01 15:12:35 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-01 15:12:35 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-12-01 15:12:35 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-01 15:12:35 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-01 15:12:35 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-01 15:12:35 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-01 15:12:35 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2023-12-01 15:12:36+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-12-01 15:12:38+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-12-01 15:12:38+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-12-01 15:12:38+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-12-01 15:12:38+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # grafana | logger=migrator t=2023-12-01T15:12:32.803746739Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-12-01T15:12:32.804538717Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=792.638µs grafana | logger=migrator t=2023-12-01T15:12:32.8076343Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-12-01T15:12:32.808799757Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.166047ms grafana | logger=migrator t=2023-12-01T15:12:32.814878269Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-12-01T15:12:32.819482208Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.601949ms grafana | logger=migrator t=2023-12-01T15:12:32.824726951Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-12-01T15:12:32.825673393Z level=info msg="Migration successfully executed" id="create user table v2" duration=946.452µs grafana | logger=migrator t=2023-12-01T15:12:32.829227177Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-12-01T15:12:32.830148488Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=921.731µs grafana | logger=migrator t=2023-12-01T15:12:32.833513847Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-12-01T15:12:32.834392128Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=881.89µs grafana | logger=migrator t=2023-12-01T15:12:32.840931042Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-12-01T15:12:32.84171734Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=788.328µs grafana | logger=migrator t=2023-12-01T15:12:32.846973414Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-12-01T15:12:32.847894975Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=921.002µs grafana | logger=migrator t=2023-12-01T15:12:32.851665334Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-12-01T15:12:32.852929263Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.263229ms grafana | logger=migrator t=2023-12-01T15:12:32.858510634Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-12-01T15:12:32.858664588Z level=info msg="Migration successfully executed" id="Update user table charset" duration=154.504µs grafana | logger=migrator t=2023-12-01T15:12:32.862755434Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-12-01T15:12:32.864656778Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.901054ms grafana | logger=migrator t=2023-12-01T15:12:32.868500519Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-12-01T15:12:32.868835187Z level=info msg="Migration successfully executed" id="Add missing user data" duration=334.868µs grafana | logger=migrator t=2023-12-01T15:12:32.872028932Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-12-01T15:12:32.873198809Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.169267ms grafana | logger=migrator t=2023-12-01T15:12:32.879940488Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-12-01T15:12:32.880801418Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=861.02µs grafana | logger=migrator t=2023-12-01T15:12:32.88473009Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-12-01T15:12:32.886654825Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.923515ms grafana | logger=migrator t=2023-12-01T15:12:32.890380842Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-12-01T15:12:32.902866806Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=12.484834ms grafana | logger=migrator t=2023-12-01T15:12:32.906403649Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-12-01T15:12:32.907100965Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=697.876µs grafana | logger=migrator t=2023-12-01T15:12:32.912368799Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-12-01T15:12:32.913321472Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=953.573µs grafana | logger=migrator t=2023-12-01T15:12:32.917496799Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-12-01T15:12:32.91879005Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.293301ms grafana | logger=migrator t=2023-12-01T15:12:32.922564509Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-12-01T15:12:32.923431669Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=866.19µs grafana | logger=migrator t=2023-12-01T15:12:32.928686472Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-12-01T15:12:32.929968643Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.282101ms grafana | logger=migrator t=2023-12-01T15:12:32.933429834Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-12-01T15:12:32.933572727Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=142.733µs grafana | logger=migrator t=2023-12-01T15:12:32.936852774Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-12-01T15:12:32.937620802Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=767.638µs grafana | logger=migrator t=2023-12-01T15:12:32.943182542Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-12-01T15:12:32.944305159Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.122757ms grafana | logger=migrator t=2023-12-01T15:12:32.947824052Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-12-01T15:12:32.948924927Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.100705ms grafana | logger=migrator t=2023-12-01T15:12:32.952287717Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-12-01T15:12:32.953056875Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=768.628µs grafana | logger=migrator t=2023-12-01T15:12:32.958462242Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-01T15:12:32.964166546Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.704014ms grafana | logger=migrator t=2023-12-01T15:12:32.967677418Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-12-01T15:12:32.968480336Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=802.918µs grafana | logger=migrator t=2023-12-01T15:12:32.97161238Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-12-01T15:12:32.972402719Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=790.559µs grafana | logger=migrator t=2023-12-01T15:12:32.978212656Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-12-01T15:12:32.979085656Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=872.591µs grafana | logger=migrator t=2023-12-01T15:12:32.982450045Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-12-01T15:12:32.983305765Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=855.931µs grafana | logger=migrator t=2023-12-01T15:12:32.986543651Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-12-01T15:12:32.9877942Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.250919ms grafana | logger=migrator t=2023-12-01T15:12:32.993174697Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-12-01T15:12:32.993666988Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=492.001µs grafana | logger=migrator t=2023-12-01T15:12:32.997016877Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-12-01T15:12:32.997619261Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=599.794µs grafana | logger=migrator t=2023-12-01T15:12:33.000617112Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-12-01T15:12:33.001053412Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=437.39µs grafana | logger=migrator t=2023-12-01T15:12:33.00396182Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-12-01T15:12:33.004646996Z level=info msg="Migration successfully executed" id="create star table" duration=684.536µs grafana | logger=migrator t=2023-12-01T15:12:33.00986434Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-12-01T15:12:33.010833823Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=968.173µs grafana | logger=migrator t=2023-12-01T15:12:33.014108432Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-12-01T15:12:33.015275489Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.166947ms grafana | logger=migrator t=2023-12-01T15:12:33.019900659Z level=info msg="Executing migration" id="create index UQE_org_name - v1" mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' grafana | logger=migrator t=2023-12-01T15:12:33.02078113Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=880.74µs grafana | logger=migrator t=2023-12-01T15:12:33.025824889Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-12-01T15:12:33.026596737Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=771.698µs grafana | logger=migrator t=2023-12-01T15:12:33.029997668Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-12-01T15:12:33.0313392Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.341572ms grafana | logger=migrator t=2023-12-01T15:12:33.035285723Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-12-01T15:12:33.036681657Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.395804ms grafana | logger=migrator t=2023-12-01T15:12:33.040062767Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-12-01T15:12:33.040986899Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=923.632µs grafana | logger=migrator t=2023-12-01T15:12:33.046391137Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-12-01T15:12:33.04650787Z level=info msg="Migration successfully executed" id="Update org table charset" duration=117.173µs grafana | logger=migrator t=2023-12-01T15:12:33.050253759Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-12-01T15:12:33.050402723Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=149.764µs grafana | logger=migrator t=2023-12-01T15:12:33.053840614Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-12-01T15:12:33.054232963Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=391.919µs grafana | logger=migrator t=2023-12-01T15:12:33.057388778Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-12-01T15:12:33.058203697Z level=info msg="Migration successfully executed" id="create dashboard table" duration=814.109µs grafana | logger=migrator t=2023-12-01T15:12:33.063591465Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-12-01T15:12:33.064923437Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.331092ms grafana | logger=migrator t=2023-12-01T15:12:33.068290507Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-12-01T15:12:33.069698169Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.407233ms grafana | logger=migrator t=2023-12-01T15:12:33.073091151Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-12-01T15:12:33.07390741Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=815.469µs grafana | logger=migrator t=2023-12-01T15:12:33.077176367Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-12-01T15:12:33.07813624Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=959.283µs grafana | logger=migrator t=2023-12-01T15:12:33.083780053Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-12-01T15:12:33.085019313Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.23938ms grafana | logger=migrator t=2023-12-01T15:12:33.088386323Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-12-01T15:12:33.095609015Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.218552ms grafana | logger=migrator t=2023-12-01T15:12:33.098669287Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-12-01T15:12:33.09921512Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=545.923µs grafana | logger=migrator t=2023-12-01T15:12:33.104953956Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-12-01T15:12:33.106245406Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.29387ms grafana | logger=migrator t=2023-12-01T15:12:33.109536105Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-12-01T15:12:33.110823175Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.29011ms grafana | logger=migrator t=2023-12-01T15:12:33.113868347Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-12-01T15:12:33.114266467Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=397.84µs grafana | logger=migrator t=2023-12-01T15:12:33.119272906Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-12-01T15:12:33.120405033Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.131007ms grafana | logger=migrator t=2023-12-01T15:12:33.124157882Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-12-01T15:12:33.124368627Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=210.615µs grafana | logger=migrator t=2023-12-01T15:12:33.127596503Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-12-01T15:12:33.130513172Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.915579ms grafana | logger=migrator t=2023-12-01T15:12:33.135497091Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-12-01T15:12:33.137390976Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.893365ms grafana | logger=migrator t=2023-12-01T15:12:33.140915079Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-12-01T15:12:33.142874626Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.959307ms grafana | logger=migrator t=2023-12-01T15:12:33.145960239Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-12-01T15:12:33.146891271Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=930.802µs grafana | logger=migrator t=2023-12-01T15:12:33.152089744Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-12-01T15:12:33.154082342Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.992018ms grafana | logger=migrator t=2023-12-01T15:12:33.157121134Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2023-12-01 15:12:39+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-12-01 15:12:39 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: Buffer pool(s) dump completed at 231201 15:12:39 mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: Shutdown completed; log sequence number 332890; transaction id 298 mariadb | 2023-12-01 15:12:39 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-12-01 15:12:39+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-12-01 15:12:39+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-12-01 15:12:39 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-01 15:12:39 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-01 15:12:39 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-01 15:12:39 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: log sequence number 332890; transaction id 299 mariadb | 2023-12-01 15:12:39 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-01 15:12:39 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-01 15:12:39 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-12-01 15:12:39 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-12-01 15:12:39 0 [Note] Server socket created on IP: '::'. mariadb | 2023-12-01 15:12:39 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2023-12-01 15:12:39 0 [Note] InnoDB: Buffer pool(s) load completed at 231201 15:12:39 mariadb | 2023-12-01 15:12:40 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2023-12-01 15:12:40 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2023-12-01T15:12:33.158092047Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=968.383µs grafana | logger=migrator t=2023-12-01T15:12:33.161131299Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-12-01T15:12:33.162064561Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=937.031µs grafana | logger=migrator t=2023-12-01T15:12:33.168549315Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-12-01T15:12:33.168627577Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=78.932µs grafana | logger=migrator t=2023-12-01T15:12:33.171675169Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-12-01T15:12:33.171772881Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=73.382µs grafana | logger=migrator t=2023-12-01T15:12:33.174344922Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-12-01T15:12:33.17718574Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.839018ms grafana | logger=migrator t=2023-12-01T15:12:33.184464692Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-12-01T15:12:33.186570212Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.10491ms grafana | logger=migrator t=2023-12-01T15:12:33.190016884Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-12-01T15:12:33.192149544Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.13174ms grafana | logger=migrator t=2023-12-01T15:12:33.195301149Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-12-01T15:12:33.19743779Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.139341ms grafana | logger=migrator t=2023-12-01T15:12:33.200430721Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-12-01T15:12:33.200717208Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=285.287µs grafana | logger=migrator t=2023-12-01T15:12:33.205617664Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-12-01T15:12:33.206578757Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=960.953µs grafana | logger=migrator t=2023-12-01T15:12:33.209921147Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-12-01T15:12:33.211262398Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.342401ms grafana | logger=migrator t=2023-12-01T15:12:33.21514356Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-12-01T15:12:33.215293063Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=149.593µs grafana | logger=migrator t=2023-12-01T15:12:33.220695581Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-12-01T15:12:33.221655375Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=960.244µs grafana | logger=migrator t=2023-12-01T15:12:33.224961943Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-12-01T15:12:33.225715881Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=753.478µs grafana | logger=migrator t=2023-12-01T15:12:33.229000438Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-01T15:12:33.238407822Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=9.407714ms grafana | logger=migrator t=2023-12-01T15:12:33.244269091Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-12-01T15:12:33.24505889Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=789.819µs grafana | logger=migrator t=2023-12-01T15:12:33.248175603Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-12-01T15:12:33.249083825Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=908.672µs grafana | logger=migrator t=2023-12-01T15:12:33.252474366Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-12-01T15:12:33.253431668Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=957.312µs grafana | logger=migrator t=2023-12-01T15:12:33.257791682Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-12-01T15:12:33.258183961Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=392.079µs grafana | logger=migrator t=2023-12-01T15:12:33.26149747Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-12-01T15:12:33.262205816Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=707.436µs grafana | logger=migrator t=2023-12-01T15:12:33.265840772Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-12-01T15:12:33.268084786Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.243314ms grafana | logger=migrator t=2023-12-01T15:12:33.272360098Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-12-01T15:12:33.273281599Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=921.632µs grafana | logger=migrator t=2023-12-01T15:12:33.276612648Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-12-01T15:12:33.276872534Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=259.576µs grafana | logger=migrator t=2023-12-01T15:12:33.280561192Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-12-01T15:12:33.280829518Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=269.316µs grafana | logger=migrator t=2023-12-01T15:12:33.285363765Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-12-01T15:12:33.286672787Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.308452ms grafana | logger=migrator t=2023-12-01T15:12:33.290675621Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-12-01T15:12:33.29396684Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.290499ms grafana | logger=migrator t=2023-12-01T15:12:33.297811231Z level=info msg="Executing migration" id="create data_source table" 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.5: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 | [2023-12-01T15:12:48.010+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 21 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-12-01T15:12:48.012+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-12-01T15:12:49.600+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-12-01T15:12:49.687+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 76 ms. Found 6 JPA repository interfaces. policy-api | [2023-12-01T15:12:50.064+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 | [2023-12-01T15:12:50.064+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 | [2023-12-01T15:12:50.695+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-12-01T15:12:50.705+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-01T15:12:50.708+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-12-01T15:12:50.708+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2023-12-01T15:12:50.802+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-12-01T15:12:50.803+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2730 ms policy-api | [2023-12-01T15:12:51.216+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-12-01T15:12:51.298+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2023-12-01T15:12:51.301+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2023-12-01T15:12:51.340+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2023-12-01T15:12:51.677+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2023-12-01T15:12:51.697+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... grafana | logger=migrator t=2023-12-01T15:12:33.298743443Z level=info msg="Migration successfully executed" id="create data_source table" duration=934.422µs grafana | logger=migrator t=2023-12-01T15:12:33.303967837Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-12-01T15:12:33.305703139Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.734331ms grafana | logger=migrator t=2023-12-01T15:12:33.309426817Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-12-01T15:12:33.310350648Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=923.201µs grafana | logger=migrator t=2023-12-01T15:12:33.313806771Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-12-01T15:12:33.31463492Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=827.319µs grafana | logger=migrator t=2023-12-01T15:12:33.319114396Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-12-01T15:12:33.319930446Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=815.33µs grafana | logger=migrator t=2023-12-01T15:12:33.323319276Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-12-01T15:12:33.334229145Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.910919ms grafana | logger=migrator t=2023-12-01T15:12:33.33784227Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-12-01T15:12:33.33867437Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=831.06µs grafana | logger=migrator t=2023-12-01T15:12:33.343237429Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-12-01T15:12:33.34415032Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=912.572µs grafana | logger=migrator t=2023-12-01T15:12:33.347559712Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-12-01T15:12:33.348691708Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.130587ms grafana | logger=migrator t=2023-12-01T15:12:33.352252932Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-12-01T15:12:33.353050552Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=797.92µs grafana | logger=migrator t=2023-12-01T15:12:33.357577339Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-12-01T15:12:33.359986626Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.408697ms grafana | logger=migrator t=2023-12-01T15:12:33.363654093Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-12-01T15:12:33.366119191Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.460558ms grafana | logger=migrator t=2023-12-01T15:12:33.369691947Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-12-01T15:12:33.369722177Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=30.77µs grafana | logger=migrator t=2023-12-01T15:12:33.37406682Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-12-01T15:12:33.374273715Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=206.695µs grafana | logger=migrator t=2023-12-01T15:12:33.377662025Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-12-01T15:12:33.381252561Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.589746ms grafana | logger=migrator t=2023-12-01T15:12:33.384894307Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-12-01T15:12:33.385073511Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=179.334µs grafana | logger=migrator t=2023-12-01T15:12:33.388591464Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-12-01T15:12:33.388750428Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=158.824µs grafana | logger=migrator t=2023-12-01T15:12:33.392913747Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-12-01T15:12:33.396501042Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.583565ms grafana | logger=migrator t=2023-12-01T15:12:33.400014045Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-12-01T15:12:33.400329952Z level=info msg="Migration successfully executed" id="Update uid value" duration=316.037µs grafana | logger=migrator t=2023-12-01T15:12:33.404889651Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-12-01T15:12:33.405826133Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=936.242µs grafana | logger=migrator t=2023-12-01T15:12:33.411221891Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-12-01T15:12:33.41241549Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.193489ms grafana | logger=migrator t=2023-12-01T15:12:33.419427656Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-12-01T15:12:33.420476381Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.049165ms grafana | logger=migrator t=2023-12-01T15:12:33.424711951Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-12-01T15:12:33.42589656Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.187129ms grafana | logger=migrator t=2023-12-01T15:12:33.431073612Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-12-01T15:12:33.432306752Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.23239ms grafana | logger=migrator t=2023-12-01T15:12:33.435867806Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-12-01T15:12:33.436709805Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=841.539µs grafana | logger=migrator t=2023-12-01T15:12:33.441210383Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-12-01T15:12:33.442115474Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=903.821µs grafana | logger=migrator t=2023-12-01T15:12:33.446842816Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-12-01T15:12:33.447930072Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.087306ms grafana | logger=migrator t=2023-12-01T15:12:33.451519998Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-12-01T15:12:33.452298046Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=777.979µs grafana | logger=migrator t=2023-12-01T15:12:33.456978257Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-12-01T15:12:33.466366089Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=9.387482ms grafana | logger=migrator t=2023-12-01T15:12:33.469832941Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-12-01T15:12:33.470300312Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=466.901µs grafana | logger=migrator t=2023-12-01T15:12:33.473825527Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-12-01T15:12:33.475078616Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.252049ms grafana | logger=migrator t=2023-12-01T15:12:33.479811779Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-12-01T15:12:33.480969136Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.160037ms grafana | logger=migrator t=2023-12-01T15:12:33.484392397Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-12-01T15:12:33.485591646Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.198529ms grafana | logger=migrator t=2023-12-01T15:12:33.489021777Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-12-01T15:12:33.489346374Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=324.367µs grafana | logger=migrator t=2023-12-01T15:12:33.494663971Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-12-01T15:12:33.495409758Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=744.688µs grafana | logger=migrator t=2023-12-01T15:12:33.498751838Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-12-01T15:12:33.498787079Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=36.721µs grafana | logger=migrator t=2023-12-01T15:12:33.50222459Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-12-01T15:12:33.506099512Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.876962ms grafana | logger=migrator t=2023-12-01T15:12:33.509874242Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-12-01T15:12:33.512472664Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.598132ms grafana | logger=migrator t=2023-12-01T15:12:33.518058916Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-12-01T15:12:33.51822499Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=166.535µs grafana | logger=migrator t=2023-12-01T15:12:33.521389905Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-12-01T15:12:33.523955646Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.565081ms grafana | logger=migrator t=2023-12-01T15:12:33.527115761Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-12-01T15:12:33.529656791Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.54105ms grafana | logger=migrator t=2023-12-01T15:12:33.534029204Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-12-01T15:12:33.53468864Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=659.036µs grafana | logger=migrator t=2023-12-01T15:12:33.537978869Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-12-01T15:12:33.538491321Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=512.302µs grafana | logger=migrator t=2023-12-01T15:12:33.541685456Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-12-01T15:12:33.542458954Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=772.988µs grafana | logger=migrator t=2023-12-01T15:12:33.546535261Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-12-01T15:12:33.547712499Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.177138ms grafana | logger=migrator t=2023-12-01T15:12:33.551190171Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-12-01T15:12:33.55236557Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.175199ms grafana | logger=migrator t=2023-12-01T15:12:33.555997466Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-12-01T15:12:33.556834385Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=836.879µs grafana | logger=migrator t=2023-12-01T15:12:33.561423494Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-12-01T15:12:33.561487596Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=64.832µs grafana | logger=migrator t=2023-12-01T15:12:33.565007759Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-12-01T15:12:33.56504222Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=35.281µs grafana | logger=migrator t=2023-12-01T15:12:33.568453731Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-12-01T15:12:33.571990465Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.536654ms grafana | logger=migrator t=2023-12-01T15:12:33.57644406Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-12-01T15:12:33.579480712Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.035702ms grafana | logger=migrator t=2023-12-01T15:12:33.583024097Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-12-01T15:12:33.583090279Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=66.402µs grafana | logger=migrator t=2023-12-01T15:12:33.586505849Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-12-01T15:12:33.587161465Z level=info msg="Migration successfully executed" id="create quota table v1" duration=654.036µs policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | 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 | -------------- grafana | logger=migrator t=2023-12-01T15:12:33.590678058Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-12-01T15:12:33.591981569Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.302911ms grafana | logger=migrator t=2023-12-01T15:12:33.596076076Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-12-01T15:12:33.596113427Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=38.331µs grafana | logger=migrator t=2023-12-01T15:12:33.599757114Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-12-01T15:12:33.600546462Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=789.098µs grafana | logger=migrator t=2023-12-01T15:12:33.604023085Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-12-01T15:12:33.604849614Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=827.839µs grafana | logger=migrator t=2023-12-01T15:12:33.609045844Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-12-01T15:12:33.612139337Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.091563ms grafana | logger=migrator t=2023-12-01T15:12:33.616500831Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-12-01T15:12:33.616525842Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=26.041µs grafana | logger=migrator t=2023-12-01T15:12:33.620089586Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-12-01T15:12:33.620902085Z level=info msg="Migration successfully executed" id="create session table" duration=812.079µs grafana | logger=migrator t=2023-12-01T15:12:33.625912354Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-12-01T15:12:33.626070488Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=157.064µs grafana | logger=migrator t=2023-12-01T15:12:33.630080372Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-12-01T15:12:33.630203476Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=123.224µs grafana | logger=migrator t=2023-12-01T15:12:33.633803711Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-12-01T15:12:33.634549089Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=744.748µs grafana | logger=migrator t=2023-12-01T15:12:33.637624172Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-12-01T15:12:33.638443781Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=819.129µs grafana | logger=migrator t=2023-12-01T15:12:33.642843046Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-12-01T15:12:33.642873206Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=31.85µs grafana | logger=migrator t=2023-12-01T15:12:33.646232156Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-12-01T15:12:33.646270217Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=39.561µs grafana | logger=migrator t=2023-12-01T15:12:33.649537284Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-12-01T15:12:33.654391499Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.852935ms grafana | logger=migrator t=2023-12-01T15:12:33.658639801Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-12-01T15:12:33.661832636Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.193065ms grafana | logger=migrator t=2023-12-01T15:12:33.665082013Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-12-01T15:12:33.665166615Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=85.042µs grafana | logger=migrator t=2023-12-01T15:12:33.669027136Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-12-01T15:12:33.669107818Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=81.232µs grafana | logger=migrator t=2023-12-01T15:12:33.672225383Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-12-01T15:12:33.67293342Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=707.507µs grafana | logger=migrator t=2023-12-01T15:12:33.678176244Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-12-01T15:12:33.678210645Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=35.841µs grafana | logger=migrator t=2023-12-01T15:12:33.681689657Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-12-01T15:12:33.686533382Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.843075ms grafana | logger=migrator t=2023-12-01T15:12:33.689903772Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-12-01T15:12:33.690091097Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=185.325µs grafana | logger=migrator t=2023-12-01T15:12:33.693078407Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-12-01T15:12:33.696370535Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.289888ms grafana | logger=migrator t=2023-12-01T15:12:33.700268898Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-12-01T15:12:33.703515365Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.245587ms grafana | logger=migrator t=2023-12-01T15:12:33.706505716Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-12-01T15:12:33.706571608Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=67.732µs grafana | logger=migrator t=2023-12-01T15:12:33.709584589Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-12-01T15:12:33.710854049Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.26901ms grafana | logger=migrator t=2023-12-01T15:12:33.716251077Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-12-01T15:12:33.717146169Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=895.932µs grafana | logger=migrator t=2023-12-01T15:12:33.720613531Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-12-01T15:12:33.721644935Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.031114ms grafana | logger=migrator t=2023-12-01T15:12:33.725610769Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-12-01T15:12:33.727173526Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.562587ms grafana | logger=migrator t=2023-12-01T15:12:33.730805082Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-12-01T15:12:33.732063812Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.25873ms grafana | logger=migrator t=2023-12-01T15:12:33.735564145Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-12-01T15:12:33.736547318Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=984.903µs grafana | logger=migrator t=2023-12-01T15:12:33.741942526Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-12-01T15:12:33.742862519Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=920.362µs grafana | logger=migrator t=2023-12-01T15:12:33.74629245Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-12-01T15:12:33.74758309Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.29027ms grafana | logger=migrator t=2023-12-01T15:12:33.750997902Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-12-01T15:12:33.7517968Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=800.218µs grafana | logger=migrator t=2023-12-01T15:12:33.755974379Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-12-01T15:12:33.769994161Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.018282ms grafana | logger=migrator t=2023-12-01T15:12:33.773852364Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-12-01T15:12:33.774311634Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=459.4µs grafana | logger=migrator t=2023-12-01T15:12:33.780276346Z 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=2023-12-01T15:12:33.781636609Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.359792ms grafana | logger=migrator t=2023-12-01T15:12:33.787710642Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-12-01T15:12:33.788122842Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=414.45µs grafana | logger=migrator t=2023-12-01T15:12:33.792631829Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-12-01T15:12:33.793393907Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=762.098µs grafana | logger=migrator t=2023-12-01T15:12:33.798689023Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-12-01T15:12:33.799741678Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.053014ms grafana | logger=migrator t=2023-12-01T15:12:33.804072641Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-12-01T15:12:33.809566981Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.49394ms grafana | logger=migrator t=2023-12-01T15:12:33.812828648Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-12-01T15:12:33.816484455Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.655187ms grafana | logger=migrator t=2023-12-01T15:12:33.826699387Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-12-01T15:12:33.830424135Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.722298ms grafana | logger=migrator t=2023-12-01T15:12:33.834732338Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-12-01T15:12:33.838548668Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.81544ms grafana | logger=migrator t=2023-12-01T15:12:33.84198818Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-12-01T15:12:33.84286152Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=877.531µs grafana | logger=migrator t=2023-12-01T15:12:33.846000685Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-12-01T15:12:33.846027356Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=27.681µs grafana | logger=migrator t=2023-12-01T15:12:33.849909548Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-12-01T15:12:33.850114722Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=207.014µs grafana | logger=migrator t=2023-12-01T15:12:33.854732622Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-12-01T15:12:33.855556542Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=823.85µs grafana | logger=migrator t=2023-12-01T15:12:33.859823642Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-01T15:12:33.860831987Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.008445ms grafana | logger=migrator t=2023-12-01T15:12:33.86392054Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-12-01T15:12:33.864912913Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=996.603µs grafana | logger=migrator t=2023-12-01T15:12:33.870390033Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-12-01T15:12:33.871209743Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=819.31µs grafana | logger=migrator t=2023-12-01T15:12:33.874594323Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-01T15:12:33.875602377Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.008034ms grafana | logger=migrator t=2023-12-01T15:12:33.878804373Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-12-01T15:12:33.886644619Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=7.832456ms grafana | logger=migrator t=2023-12-01T15:12:33.891775931Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-api | [2023-12-01T15:12:51.797+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 policy-api | [2023-12-01T15:12:51.799+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-12-01T15:12:51.827+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 | [2023-12-01T15:12:51.829+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2023-12-01T15:12:53.618+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2023-12-01T15:12:53.621+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-12-01T15:12:54.867+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-12-01T15:12:55.567+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-12-01T15:12:56.607+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 | [2023-12-01T15:12:56.778+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@58a01e47, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6149184e, org.springframework.security.web.context.SecurityContextHolderFilter@234a08ea, org.springframework.security.web.header.HeaderWriterFilter@2e26841f, org.springframework.security.web.authentication.logout.LogoutFilter@c7a7d3, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@3413effc, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@56d3e4a9, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2542d320, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6f3a8d5e, org.springframework.security.web.access.ExceptionTranslationFilter@19bd1f98, org.springframework.security.web.access.intercept.AuthorizationFilter@729f8c5d] policy-api | [2023-12-01T15:12:57.604+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-12-01T15:12:57.675+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-01T15:12:57.704+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-12-01T15:12:57.724+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.454 seconds (process running for 11.029) policy-api | [2023-12-01T15:13:04.138+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-12-01T15:13:04.138+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-12-01T15:13:04.139+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2023-12-01T15:13:06.588+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-12-01T15:13:06.719+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2023-12-01T15:13:06.995+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2023-12-01T15:13:08.177+00:00|WARN|CommonRestController|http-nio-6969-exec-8] POST /policies policy-api | [2023-12-01T15:13:10.035+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-12-01T15:13:10.336+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-12-01T15:13:10.552+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-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-api | [2023-12-01T15:13:10.774+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-12-01T15:13:10.990+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-12-01T15:13:11.206+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2023-12-01T15:12:33.896087613Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.311392ms grafana | logger=migrator t=2023-12-01T15:12:33.899611597Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-12-01T15:12:33.899870483Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=258.726µs grafana | logger=migrator t=2023-12-01T15:12:33.908300283Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-12-01T15:12:33.909797408Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.495935ms grafana | logger=migrator t=2023-12-01T15:12:33.922029889Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-12-01T15:12:33.923199366Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.170077ms grafana | logger=migrator t=2023-12-01T15:12:33.926866503Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-12-01T15:12:33.93095128Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.084957ms grafana | logger=migrator t=2023-12-01T15:12:33.934017793Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-12-01T15:12:33.934193247Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=176.104µs grafana | logger=migrator t=2023-12-01T15:12:33.938313495Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-12-01T15:12:33.939405941Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.096246ms grafana | logger=migrator t=2023-12-01T15:12:33.943022876Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-12-01T15:12:33.944155364Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.133298ms grafana | logger=migrator t=2023-12-01T15:12:33.947596975Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-12-01T15:12:33.94779477Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=197.065µs grafana | logger=migrator t=2023-12-01T15:12:33.953014554Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-12-01T15:12:33.954036628Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.022003ms grafana | logger=migrator t=2023-12-01T15:12:33.959404375Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-12-01T15:12:33.960773068Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.368313ms grafana | logger=migrator t=2023-12-01T15:12:33.965664683Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-12-01T15:12:33.96674939Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.086907ms grafana | logger=migrator t=2023-12-01T15:12:33.97014889Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-12-01T15:12:33.971166434Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.019684ms grafana | logger=migrator t=2023-12-01T15:12:33.977089384Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-12-01T15:12:33.978269483Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.180199ms grafana | logger=migrator t=2023-12-01T15:12:33.981748445Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-12-01T15:12:33.983245781Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.496186ms grafana | logger=migrator t=2023-12-01T15:12:33.986512958Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-12-01T15:12:33.986538429Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=26.521µs grafana | logger=migrator t=2023-12-01T15:12:33.995170814Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-12-01T15:12:34.000161282Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.992429ms grafana | logger=migrator t=2023-12-01T15:12:34.007235125Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-12-01T15:12:34.008580523Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.346298ms grafana | logger=migrator t=2023-12-01T15:12:34.012797165Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-12-01T15:12:34.018211839Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=5.410024ms grafana | logger=migrator t=2023-12-01T15:12:34.021672171Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-12-01T15:12:34.022565486Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=894.254µs grafana | logger=migrator t=2023-12-01T15:12:34.028691128Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-12-01T15:12:34.029700685Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.012107ms grafana | logger=migrator t=2023-12-01T15:12:34.032556311Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-12-01T15:12:34.033465574Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=909.463µs grafana | logger=migrator t=2023-12-01T15:12:34.041703473Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-12-01T15:12:34.061423818Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=19.710254ms grafana | logger=migrator t=2023-12-01T15:12:34.065143067Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-12-01T15:12:34.065913797Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=770.39µs grafana | logger=migrator t=2023-12-01T15:12:34.070360896Z 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=2023-12-01T15:12:34.071181418Z 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=821.891µs grafana | logger=migrator t=2023-12-01T15:12:34.078271245Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-12-01T15:12:34.078621956Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=353.101µs policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-01T15:12:34.081710438Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-12-01T15:12:34.082474288Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=766.46µs grafana | logger=migrator t=2023-12-01T15:12:34.085510908Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-12-01T15:12:34.085784165Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=252.327µs grafana | logger=migrator t=2023-12-01T15:12:34.088850777Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-12-01T15:12:34.092350801Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=3.499664ms grafana | logger=migrator t=2023-12-01T15:12:34.10024705Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-12-01T15:12:34.105213072Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.969872ms grafana | logger=migrator t=2023-12-01T15:12:34.110452481Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-12-01T15:12:34.11191062Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.460009ms grafana | logger=migrator t=2023-12-01T15:12:34.115080905Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-12-01T15:12:34.11642134Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.339795ms grafana | logger=migrator t=2023-12-01T15:12:34.122148012Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-12-01T15:12:34.122627855Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=482.003µs grafana | logger=migrator t=2023-12-01T15:12:34.126085347Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-12-01T15:12:34.132713203Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.627796ms grafana | logger=migrator t=2023-12-01T15:12:34.13825016Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-12-01T15:12:34.139158384Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=908.234µs grafana | logger=migrator t=2023-12-01T15:12:34.143432708Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-12-01T15:12:34.143606173Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=174.275µs grafana | logger=migrator t=2023-12-01T15:12:34.146594082Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-12-01T15:12:34.147162447Z level=info msg="Migration successfully executed" id="Move region to single row" duration=569.035µs grafana | logger=migrator t=2023-12-01T15:12:34.150490255Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-12-01T15:12:34.151717109Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.227074ms grafana | logger=migrator t=2023-12-01T15:12:34.15779401Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-12-01T15:12:34.158703734Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=911.494µs grafana | logger=migrator t=2023-12-01T15:12:34.162158185Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-01T15:12:34.163224134Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.065359ms grafana | logger=migrator t=2023-12-01T15:12:34.168030302Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-01T15:12:34.169240694Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.212272ms grafana | logger=migrator t=2023-12-01T15:12:34.172411438Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-12-01T15:12:34.173534578Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.12174ms grafana | logger=migrator t=2023-12-01T15:12:34.177085143Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-12-01T15:12:34.178400417Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.314854ms grafana | logger=migrator t=2023-12-01T15:12:34.182798215Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-12-01T15:12:34.182867447Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=69.491µs grafana | logger=migrator t=2023-12-01T15:12:34.185600879Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-12-01T15:12:34.187367086Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.767746ms grafana | logger=migrator t=2023-12-01T15:12:34.191318131Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-12-01T15:12:34.192061901Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=743.73µs grafana | logger=migrator t=2023-12-01T15:12:34.199619252Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-12-01T15:12:34.201138822Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.5162ms grafana | logger=migrator t=2023-12-01T15:12:34.205245261Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-12-01T15:12:34.206660559Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.414427ms grafana | logger=migrator t=2023-12-01T15:12:34.21159904Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-12-01T15:12:34.211935289Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=338.879µs grafana | logger=migrator t=2023-12-01T15:12:34.215076332Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-12-01T15:12:34.215480483Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=404.791µs grafana | logger=migrator t=2023-12-01T15:12:34.218624567Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-01T15:12:34.218700169Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=76.282µs grafana | logger=migrator t=2023-12-01T15:12:34.221512444Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-12-01T15:12:34.222270894Z level=info msg="Migration successfully executed" id="create team table" duration=757.51µs grafana | logger=migrator t=2023-12-01T15:12:34.22700619Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-12-01T15:12:34.228336215Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.327155ms grafana | logger=migrator t=2023-12-01T15:12:34.232428014Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-12-01T15:12:34.233381899Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=953.415µs grafana | logger=migrator t=2023-12-01T15:12:34.242024959Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-12-01T15:12:34.246767205Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.742596ms grafana | logger=migrator t=2023-12-01T15:12:34.252508968Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-12-01T15:12:34.252694423Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=186.055µs grafana | logger=migrator t=2023-12-01T15:12:34.260813129Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-12-01T15:12:34.262193405Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.379676ms grafana | logger=migrator t=2023-12-01T15:12:34.266199792Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-12-01T15:12:34.267378963Z level=info msg="Migration successfully executed" id="create team member table" duration=1.178491ms grafana | logger=migrator t=2023-12-01T15:12:34.275957491Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-12-01T15:12:34.2774244Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.467819ms grafana | logger=migrator t=2023-12-01T15:12:34.280780039Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-12-01T15:12:34.281711064Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=930.265µs grafana | logger=migrator t=2023-12-01T15:12:34.285871075Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-12-01T15:12:34.286801979Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=931.254µs grafana | logger=migrator t=2023-12-01T15:12:34.293209489Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-12-01T15:12:34.301077049Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.87108ms grafana | logger=migrator t=2023-12-01T15:12:34.307132159Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-12-01T15:12:34.310474018Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.342509ms grafana | logger=migrator t=2023-12-01T15:12:34.314822854Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-12-01T15:12:34.320020712Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.198908ms grafana | logger=migrator t=2023-12-01T15:12:34.323727441Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-12-01T15:12:34.324653755Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=926.424µs grafana | logger=migrator t=2023-12-01T15:12:34.333080469Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-12-01T15:12:34.334459236Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.378507ms grafana | logger=migrator t=2023-12-01T15:12:34.338266817Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-12-01T15:12:34.339786068Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.518631ms grafana | logger=migrator t=2023-12-01T15:12:34.345735306Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-12-01T15:12:34.347457802Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.726036ms grafana | logger=migrator t=2023-12-01T15:12:34.352815253Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-12-01T15:12:34.354118809Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.302856ms grafana | logger=migrator t=2023-12-01T15:12:34.35941899Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-12-01T15:12:34.361179946Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.761646ms grafana | logger=migrator t=2023-12-01T15:12:34.365696576Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-12-01T15:12:34.366839746Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.14528ms grafana | logger=migrator t=2023-12-01T15:12:34.371246384Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-12-01T15:12:34.372269121Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.023217ms grafana | logger=migrator t=2023-12-01T15:12:34.37635494Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-12-01T15:12:34.377017787Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=662.767µs grafana | logger=migrator t=2023-12-01T15:12:34.382941535Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-12-01T15:12:34.383370206Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=429.282µs grafana | logger=migrator t=2023-12-01T15:12:34.387210369Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-12-01T15:12:34.388503672Z level=info msg="Migration successfully executed" id="create tag table" duration=1.292844ms grafana | logger=migrator t=2023-12-01T15:12:34.391666916Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-12-01T15:12:34.392733255Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.063709ms grafana | logger=migrator t=2023-12-01T15:12:34.396814573Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-12-01T15:12:34.397552663Z level=info msg="Migration successfully executed" id="create login attempt table" duration=738.11µs grafana | logger=migrator t=2023-12-01T15:12:34.40119891Z level=info msg="Executing migration" id="add index login_attempt.username" 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 | grafana | logger=migrator t=2023-12-01T15:12:34.402269738Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.070798ms grafana | logger=migrator t=2023-12-01T15:12:34.405603057Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-12-01T15:12:34.406623895Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.020888ms grafana | logger=migrator t=2023-12-01T15:12:34.411018141Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-01T15:12:34.431828305Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=20.807693ms grafana | logger=migrator t=2023-12-01T15:12:34.434952098Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-12-01T15:12:34.43544448Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=492.282µs grafana | logger=migrator t=2023-12-01T15:12:34.439022155Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-12-01T15:12:34.439989732Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=966.957µs grafana | logger=migrator t=2023-12-01T15:12:34.444550882Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-12-01T15:12:34.445392715Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=840.993µs grafana | logger=migrator t=2023-12-01T15:12:34.451418625Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-12-01T15:12:34.452070232Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=652.037µs grafana | logger=migrator t=2023-12-01T15:12:34.456379006Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-12-01T15:12:34.457939598Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.559892ms grafana | logger=migrator t=2023-12-01T15:12:34.46479224Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-12-01T15:12:34.466407383Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.615863ms grafana | logger=migrator t=2023-12-01T15:12:34.472229798Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-12-01T15:12:34.472331421Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=102.393µs grafana | logger=migrator t=2023-12-01T15:12:34.477607581Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-12-01T15:12:34.48583671Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.228749ms grafana | logger=migrator t=2023-12-01T15:12:34.490739661Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-12-01T15:12:34.496720509Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.979688ms grafana | logger=migrator t=2023-12-01T15:12:34.502293978Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-12-01T15:12:34.507748283Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.454135ms grafana | logger=migrator t=2023-12-01T15:12:34.513888606Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-12-01T15:12:34.51930286Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.414104ms grafana | logger=migrator t=2023-12-01T15:12:34.523517171Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-12-01T15:12:34.52456889Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.051299ms grafana | logger=migrator t=2023-12-01T15:12:34.528692389Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-12-01T15:12:34.534089362Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.396473ms grafana | logger=migrator t=2023-12-01T15:12:34.537330148Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-12-01T15:12:34.538156961Z level=info msg="Migration successfully executed" id="create server_lock table" duration=823.173µs grafana | logger=migrator t=2023-12-01T15:12:34.544468299Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-12-01T15:12:34.545957508Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.488779ms grafana | logger=migrator t=2023-12-01T15:12:34.551869426Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-12-01T15:12:34.55316237Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.293124ms grafana | logger=migrator t=2023-12-01T15:12:34.557960377Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-12-01T15:12:34.559501888Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.540391ms grafana | logger=migrator t=2023-12-01T15:12:34.563725061Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-12-01T15:12:34.564729457Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.004246ms grafana | logger=migrator t=2023-12-01T15:12:34.56785921Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-12-01T15:12:34.569030322Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.170662ms grafana | logger=migrator t=2023-12-01T15:12:34.57272108Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-01T15:12:34.579970273Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=7.244673ms grafana | logger=migrator t=2023-12-01T15:12:34.586573378Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-12-01T15:12:34.587578074Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.004466ms grafana | logger=migrator t=2023-12-01T15:12:34.591756586Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-12-01T15:12:34.592562987Z level=info msg="Migration successfully executed" id="create cache_data table" duration=805.861µs grafana | logger=migrator t=2023-12-01T15:12:34.596395928Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-12-01T15:12:34.597458127Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.061329ms grafana | logger=migrator t=2023-12-01T15:12:34.601452023Z level=info msg="Executing migration" id="create short_url table v1" prometheus | ts=2023-12-01T15:12:31.812Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2023-12-01T15:12:31.812Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.0, branch=HEAD, revision=6d80b30990bc297d95b5c844e118c4011fad8054)" prometheus | ts=2023-12-01T15:12:31.812Z caller=main.go:588 level=info build_context="(go=go1.21.4, platform=linux/amd64, user=root@26117804242c, date=20231116-04:35:21, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-12-01T15:12:31.812Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2023-12-01T15:12:31.813Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-12-01T15:12:31.813Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-12-01T15:12:31.815Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-12-01T15:12:31.816Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-12-01T15:12:31.817Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-12-01T15:12:31.817Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-12-01T15:12:31.822Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-12-01T15:12:31.822Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=5.03µs prometheus | ts=2023-12-01T15:12:31.822Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-12-01T15:12:31.822Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-12-01T15:12:31.822Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=36.861µs wal_replay_duration=449.372µs wbl_replay_duration=200ns total_replay_duration=523.294µs prometheus | ts=2023-12-01T15:12:31.825Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-12-01T15:12:31.825Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-12-01T15:12:31.825Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-12-01T15:12:31.826Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.10476ms db_storage=1.14µs remote_storage=2.38µs web_handler=350ns query_engine=810ns scrape=390.331µs scrape_sd=157.775µs notify=42.601µs notify_sd=44.571µs rules=1.86µs tracing=6.14µs prometheus | ts=2023-12-01T15:12:31.826Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-12-01T15:12:31.826Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." 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 | grafana | logger=migrator t=2023-12-01T15:12:34.60243832Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=986.317µs grafana | logger=migrator t=2023-12-01T15:12:34.606039165Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-12-01T15:12:34.607260717Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.221422ms grafana | logger=migrator t=2023-12-01T15:12:34.610637228Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-12-01T15:12:34.61071772Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=80.752µs grafana | logger=migrator t=2023-12-01T15:12:34.613867214Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-12-01T15:12:34.613970246Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=103.462µs grafana | logger=migrator t=2023-12-01T15:12:34.617216292Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-12-01T15:12:34.61825308Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.036058ms grafana | logger=migrator t=2023-12-01T15:12:34.623352405Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-01T15:12:34.624098695Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=746.04µs grafana | logger=migrator t=2023-12-01T15:12:34.628760639Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-01T15:12:34.62992417Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.163471ms grafana | logger=migrator t=2023-12-01T15:12:34.633697931Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-01T15:12:34.633753232Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=56.071µs grafana | logger=migrator t=2023-12-01T15:12:34.637342367Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-01T15:12:34.638181199Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=838.562µs grafana | logger=migrator t=2023-12-01T15:12:34.640958263Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-01T15:12:34.641743755Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=785.182µs grafana | logger=migrator t=2023-12-01T15:12:34.645312199Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-01T15:12:34.64611875Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=806.541µs grafana | logger=migrator t=2023-12-01T15:12:34.648828353Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-01T15:12:34.649867571Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.039609ms grafana | logger=migrator t=2023-12-01T15:12:34.655730987Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-12-01T15:12:34.663826312Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.090395ms grafana | logger=migrator t=2023-12-01T15:12:34.667562121Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-12-01T15:12:34.668197788Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=635.816µs grafana | logger=migrator t=2023-12-01T15:12:34.672281917Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-12-01T15:12:34.672341638Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=59.821µs grafana | logger=migrator t=2023-12-01T15:12:34.679509358Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-12-01T15:12:34.680857725Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.347636ms grafana | logger=migrator t=2023-12-01T15:12:34.689549625Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2023-12-01T15:12:34.691067265Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.51756ms grafana | logger=migrator t=2023-12-01T15:12:34.697416144Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2023-12-01T15:12:34.698587445Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.170651ms grafana | logger=migrator t=2023-12-01T15:12:34.703753003Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-01T15:12:34.703818815Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=66.162µs grafana | logger=migrator t=2023-12-01T15:12:34.706181788Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-12-01T15:12:34.707492702Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.310464ms grafana | logger=migrator t=2023-12-01T15:12:34.71153248Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-12-01T15:12:34.712842594Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.309204ms grafana | logger=migrator t=2023-12-01T15:12:34.71871411Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- 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 | -------------- grafana | logger=migrator t=2023-12-01T15:12:34.720634002Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.921962ms grafana | logger=migrator t=2023-12-01T15:12:34.725795709Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2023-12-01T15:12:34.726876947Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.080838ms grafana | logger=migrator t=2023-12-01T15:12:34.734233943Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-12-01T15:12:34.743311274Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=9.078231ms 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 | 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 | -------------- 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 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:41 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 grafana | logger=migrator t=2023-12-01T15:12:34.750885066Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2023-12-01T15:12:34.752063547Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.177861ms grafana | logger=migrator t=2023-12-01T15:12:34.756366552Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-01T15:12:34.757965914Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.599012ms grafana | logger=migrator t=2023-12-01T15:12:34.764074616Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-12-01T15:12:34.810193982Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=46.115696ms grafana | logger=migrator t=2023-12-01T15:12:34.875516359Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-12-01T15:12:34.915610944Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=40.095366ms grafana | logger=migrator t=2023-12-01T15:12:34.920064093Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-12-01T15:12:34.921052369Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=987.776µs grafana | logger=migrator t=2023-12-01T15:12:34.926468043Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-01T15:12:34.928310032Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.841779ms grafana | logger=migrator t=2023-12-01T15:12:34.938626887Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-12-01T15:12:34.946649729Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=8.017382ms grafana | logger=migrator t=2023-12-01T15:12:34.952643459Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-12-01T15:12:34.954891878Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=2.251219ms grafana | logger=migrator t=2023-12-01T15:12:34.964062953Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-12-01T15:12:34.965307885Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.250783ms grafana | logger=migrator t=2023-12-01T15:12:34.971375376Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-12-01T15:12:34.973341559Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.965543ms grafana | logger=migrator t=2023-12-01T15:12:34.978116706Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2023-12-01T15:12:34.979357249Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.237493ms grafana | logger=migrator t=2023-12-01T15:12:34.985192814Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-01T15:12:34.985262106Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=69.432µs grafana | logger=migrator t=2023-12-01T15:12:34.990871335Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-12-01T15:12:34.998242791Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.368286ms grafana | logger=migrator t=2023-12-01T15:12:35.002416141Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-12-01T15:12:35.007191403Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.775702ms grafana | logger=migrator t=2023-12-01T15:12:35.011808741Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-12-01T15:12:35.021517699Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=9.709688ms grafana | logger=migrator t=2023-12-01T15:12:35.028239337Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-12-01T15:12:35.030170782Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.934185ms grafana | logger=migrator t=2023-12-01T15:12:35.034614347Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2023-12-01T15:12:35.036165962Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.552405ms grafana | logger=migrator t=2023-12-01T15:12:35.040546946Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-12-01T15:12:35.047639033Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.092307ms grafana | logger=migrator t=2023-12-01T15:12:35.053712425Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-12-01T15:12:35.060649838Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.940023ms grafana | logger=migrator t=2023-12-01T15:12:35.066831393Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2023-12-01T15:12:35.067891668Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.059105ms grafana | logger=migrator t=2023-12-01T15:12:35.072508386Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-12-01T15:12:35.079198644Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.689288ms grafana | logger=migrator t=2023-12-01T15:12:35.083377801Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-12-01T15:12:35.089874985Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.498903ms policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:42 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:43 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:44 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:44 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:44 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:44 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:44 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:44 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:44 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:44 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:44 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:44 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:44 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:44 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:44 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:44 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0112231512410800u 1 2023-12-01 15:12:44 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0112231512410900u 1 2023-12-01 15:12:44 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0112231512410900u 1 2023-12-01 15:12:44 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0112231512410900u 1 2023-12-01 15:12:44 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0112231512410900u 1 2023-12-01 15:12:44 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0112231512410900u 1 2023-12-01 15:12:44 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0112231512410900u 1 2023-12-01 15:12:45 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0112231512410900u 1 2023-12-01 15:12:45 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0112231512410900u 1 2023-12-01 15:12:45 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0112231512410900u 1 2023-12-01 15:12:45 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0112231512410900u 1 2023-12-01 15:12:45 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0112231512410900u 1 2023-12-01 15:12:45 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0112231512410900u 1 2023-12-01 15:12:45 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0112231512410900u 1 2023-12-01 15:12:45 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0112231512411000u 1 2023-12-01 15:12:45 grafana | logger=migrator t=2023-12-01T15:12:35.094949023Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-12-01T15:12:35.095041465Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=93.292µs grafana | logger=migrator t=2023-12-01T15:12:35.098533578Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-12-01T15:12:35.099700115Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.166427ms policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0112231512411000u 1 2023-12-01 15:12:45 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0112231512411000u 1 2023-12-01 15:12:45 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0112231512411000u 1 2023-12-01 15:12:45 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0112231512411000u 1 2023-12-01 15:12:45 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0112231512411000u 1 2023-12-01 15:12:45 grafana | logger=migrator t=2023-12-01T15:12:35.105155983Z 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=2023-12-01T15:12:35.106878754Z 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.724491ms grafana | logger=migrator t=2023-12-01T15:12:35.113025178Z 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=2023-12-01T15:12:35.11439867Z 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.374222ms grafana | logger=migrator t=2023-12-01T15:12:35.117673847Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-01T15:12:35.117757649Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=80.392µs grafana | logger=migrator t=2023-12-01T15:12:35.121256401Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-12-01T15:12:35.12804248Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.783779ms grafana | logger=migrator t=2023-12-01T15:12:35.13445279Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-12-01T15:12:35.141254141Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.802031ms grafana | logger=migrator t=2023-12-01T15:12:35.147924357Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-12-01T15:12:35.155342742Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=7.416894ms grafana | logger=migrator t=2023-12-01T15:12:35.160144815Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-12-01T15:12:35.166840691Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.695476ms grafana | logger=migrator t=2023-12-01T15:12:35.173042237Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-12-01T15:12:35.180141954Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=7.099137ms grafana | logger=migrator t=2023-12-01T15:12:35.185814237Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-12-01T15:12:35.185875469Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=62.412µs grafana | logger=migrator t=2023-12-01T15:12:35.190900567Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-12-01T15:12:35.192076284Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.175387ms grafana | logger=migrator t=2023-12-01T15:12:35.198339521Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-12-01T15:12:35.208193553Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.852722ms grafana | logger=migrator t=2023-12-01T15:12:35.211981021Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-12-01T15:12:35.212028012Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=46.951µs grafana | logger=migrator t=2023-12-01T15:12:35.216624201Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-12-01T15:12:35.226755478Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=10.128487ms grafana | logger=migrator t=2023-12-01T15:12:35.234330326Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-12-01T15:12:35.235069763Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=739.357µs grafana | logger=migrator t=2023-12-01T15:12:35.241677479Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-12-01T15:12:35.252068372Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=10.389103ms grafana | logger=migrator t=2023-12-01T15:12:35.257013189Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-12-01T15:12:35.257547491Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=536.452µs grafana | logger=migrator t=2023-12-01T15:12:35.261654438Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-12-01T15:12:35.263371869Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.715561ms grafana | logger=migrator t=2023-12-01T15:12:35.269908992Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-12-01T15:12:35.279070737Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.167375ms grafana | logger=migrator t=2023-12-01T15:12:35.286526712Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-12-01T15:12:35.287324311Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=797.709µs grafana | logger=migrator t=2023-12-01T15:12:35.293215119Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-12-01T15:12:35.294656383Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.439824ms grafana | logger=migrator t=2023-12-01T15:12:35.307537635Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-12-01T15:12:35.308715213Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.177778ms grafana | logger=migrator t=2023-12-01T15:12:35.319299041Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-12-01T15:12:35.320532391Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.23737ms grafana | logger=migrator t=2023-12-01T15:12:35.324852632Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-12-01T15:12:35.324908083Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=56.091µs grafana | logger=migrator t=2023-12-01T15:12:35.331000637Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-12-01T15:12:35.331776115Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=775.248µs grafana | logger=migrator t=2023-12-01T15:12:35.338452471Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2023-12-01T15:12:35.340178322Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.726781ms grafana | logger=migrator t=2023-12-01T15:12:35.346949731Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-12-01T15:12:35.347516855Z 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=2023-12-01T15:12:35.356937096Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-12-01T15:12:35.35757488Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=637.704µs grafana | logger=migrator t=2023-12-01T15:12:35.36350993Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-12-01T15:12:35.365329133Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.818153ms grafana | logger=migrator t=2023-12-01T15:12:35.370100355Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-12-01T15:12:35.378221726Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.121501ms grafana | logger=migrator t=2023-12-01T15:12:35.383893739Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-12-01T15:12:35.384518234Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=621.734µs grafana | logger=migrator t=2023-12-01T15:12:35.390892103Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-12-01T15:12:35.392941601Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=2.049278ms grafana | logger=migrator t=2023-12-01T15:12:35.397699562Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-12-01T15:12:35.398547563Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=848.361µs grafana | logger=migrator t=2023-12-01T15:12:35.402123837Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-12-01T15:12:35.403342295Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.218308ms grafana | logger=migrator t=2023-12-01T15:12:35.413487473Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-12-01T15:12:35.41459666Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.108947ms grafana | logger=migrator t=2023-12-01T15:12:35.421087782Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-12-01T15:12:35.421122883Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=35.851µs grafana | logger=migrator t=2023-12-01T15:12:35.425528086Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-12-01T15:12:35.425653919Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=126.123µs grafana | logger=migrator t=2023-12-01T15:12:35.429915179Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-12-01T15:12:35.430237667Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=322.158µs grafana | logger=migrator t=2023-12-01T15:12:35.43334054Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-12-01T15:12:35.434301883Z level=info msg="Migration successfully executed" id="create data_keys table" duration=961.393µs grafana | logger=migrator t=2023-12-01T15:12:35.437364685Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-12-01T15:12:35.438603183Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.238288ms grafana | logger=migrator t=2023-12-01T15:12:35.443635442Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-12-01T15:12:35.492232903Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=48.59966ms grafana | logger=migrator t=2023-12-01T15:12:35.495046249Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-12-01T15:12:35.500339393Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.290494ms grafana | logger=migrator t=2023-12-01T15:12:35.503400415Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-12-01T15:12:35.503592249Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=192.124µs grafana | logger=migrator t=2023-12-01T15:12:35.507259886Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-12-01T15:12:35.553954622Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=46.687756ms grafana | logger=migrator t=2023-12-01T15:12:35.559505262Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-12-01T15:12:35.606084056Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=46.577274ms grafana | logger=migrator t=2023-12-01T15:12:35.610020038Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-12-01T15:12:35.61089374Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=874.012µs grafana | logger=migrator t=2023-12-01T15:12:35.614200247Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-12-01T15:12:35.615532308Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.330951ms grafana | logger=migrator t=2023-12-01T15:12:35.620985686Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-12-01T15:12:35.621232742Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=246.976µs grafana | logger=migrator t=2023-12-01T15:12:35.624524389Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-12-01T15:12:35.62540494Z level=info msg="Migration successfully executed" id="create permission table" duration=880.441µs grafana | logger=migrator t=2023-12-01T15:12:35.636311366Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-12-01T15:12:35.637989485Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.680399ms grafana | logger=migrator t=2023-12-01T15:12:35.649310591Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-12-01T15:12:35.651099953Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.789002ms grafana | logger=migrator t=2023-12-01T15:12:35.661921978Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-12-01T15:12:35.663002093Z level=info msg="Migration successfully executed" id="create role table" duration=1.082975ms grafana | logger=migrator t=2023-12-01T15:12:35.674988604Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-12-01T15:12:35.684997099Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.010635ms grafana | logger=migrator t=2023-12-01T15:12:35.695867575Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-12-01T15:12:35.703701759Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.834164ms grafana | logger=migrator t=2023-12-01T15:12:35.714267816Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-12-01T15:12:35.715400174Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.132537ms grafana | logger=migrator t=2023-12-01T15:12:35.72464767Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-12-01T15:12:35.725802268Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.157208ms grafana | logger=migrator t=2023-12-01T15:12:35.735151757Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-12-01T15:12:35.736850468Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.69864ms grafana | logger=migrator t=2023-12-01T15:12:35.743285168Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-12-01T15:12:35.744087057Z level=info msg="Migration successfully executed" id="create team role table" duration=801.179µs grafana | logger=migrator t=2023-12-01T15:12:35.748333417Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-12-01T15:12:35.750113678Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.779301ms grafana | logger=migrator t=2023-12-01T15:12:35.75487257Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-12-01T15:12:35.756423147Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.551377ms grafana | logger=migrator t=2023-12-01T15:12:35.760608905Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-12-01T15:12:35.761997208Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.392473ms grafana | logger=migrator t=2023-12-01T15:12:35.765169482Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-12-01T15:12:35.766259838Z level=info msg="Migration successfully executed" id="create user role table" duration=1.090176ms grafana | logger=migrator t=2023-12-01T15:12:35.772795481Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-12-01T15:12:35.773689092Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=893.071µs grafana | logger=migrator t=2023-12-01T15:12:35.777025971Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-12-01T15:12:35.778904505Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.882375ms grafana | logger=migrator t=2023-12-01T15:12:35.782233743Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-12-01T15:12:35.783455061Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.221188ms grafana | logger=migrator t=2023-12-01T15:12:35.789544554Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-12-01T15:12:35.790716982Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.171038ms grafana | logger=migrator t=2023-12-01T15:12:35.793868306Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-12-01T15:12:35.79572959Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.861144ms grafana | logger=migrator t=2023-12-01T15:12:35.800275396Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-12-01T15:12:35.801472605Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.197309ms grafana | logger=migrator t=2023-12-01T15:12:35.809226356Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-12-01T15:12:35.819820295Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=10.595369ms grafana | logger=migrator t=2023-12-01T15:12:35.82383293Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-12-01T15:12:35.825022668Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.189768ms grafana | logger=migrator t=2023-12-01T15:12:35.828832427Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-12-01T15:12:35.830074066Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.25096ms grafana | logger=migrator t=2023-12-01T15:12:35.836749023Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-12-01T15:12:35.837911271Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.162388ms grafana | logger=migrator t=2023-12-01T15:12:35.841988446Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-12-01T15:12:35.843466431Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.476385ms grafana | logger=migrator t=2023-12-01T15:12:35.84982062Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-12-01T15:12:35.851083819Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.262029ms grafana | logger=migrator t=2023-12-01T15:12:35.856443825Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-12-01T15:12:35.857656124Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.212319ms grafana | logger=migrator t=2023-12-01T15:12:35.864373372Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-12-01T15:12:35.875447362Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=11.07438ms grafana | logger=migrator t=2023-12-01T15:12:35.879172159Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-12-01T15:12:35.887832072Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.659363ms grafana | logger=migrator t=2023-12-01T15:12:35.894587671Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-12-01T15:12:35.903312576Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.721785ms grafana | logger=migrator t=2023-12-01T15:12:35.906514031Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-12-01T15:12:35.912149464Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.635283ms grafana | logger=migrator t=2023-12-01T15:12:35.915519152Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-12-01T15:12:35.916744452Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.22531ms grafana | logger=migrator t=2023-12-01T15:12:35.921094963Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-12-01T15:12:35.92222191Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.125427ms grafana | logger=migrator t=2023-12-01T15:12:35.925750293Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-12-01T15:12:35.927676229Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.927176ms grafana | logger=migrator t=2023-12-01T15:12:35.931052938Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-12-01T15:12:35.93116461Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=111.332µs grafana | logger=migrator t=2023-12-01T15:12:35.935257686Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-12-01T15:12:35.935299107Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=41.561µs grafana | logger=migrator t=2023-12-01T15:12:35.940134651Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-12-01T15:12:35.94096861Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=832.329µs grafana | logger=migrator t=2023-12-01T15:12:35.94476719Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-12-01T15:12:35.945812694Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.047024ms grafana | logger=migrator t=2023-12-01T15:12:35.949416248Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-12-01T15:12:35.950144886Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=730.298µs grafana | logger=migrator t=2023-12-01T15:12:35.954103209Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-12-01T15:12:35.954354505Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=251.286µs grafana | logger=migrator t=2023-12-01T15:12:35.9575802Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-12-01T15:12:35.958205146Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=624.786µs grafana | logger=migrator t=2023-12-01T15:12:35.962063336Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-12-01T15:12:35.963324625Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.261039ms grafana | logger=migrator t=2023-12-01T15:12:35.96778426Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-12-01T15:12:35.969042399Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.259119ms grafana | logger=migrator t=2023-12-01T15:12:35.972626084Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-12-01T15:12:35.984003711Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=11.377747ms grafana | logger=migrator t=2023-12-01T15:12:35.987337159Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-12-01T15:12:35.987416461Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=79.322µs grafana | logger=migrator t=2023-12-01T15:12:35.989969431Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-12-01T15:12:35.990651237Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=680.836µs grafana | logger=migrator t=2023-12-01T15:12:35.99630068Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-12-01T15:12:35.997620971Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.320131ms grafana | logger=migrator t=2023-12-01T15:12:36.002966137Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-12-01T15:12:36.004745598Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.779121ms grafana | logger=migrator t=2023-12-01T15:12:36.008349742Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-12-01T15:12:36.01722138Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.868227ms grafana | logger=migrator t=2023-12-01T15:12:36.021423021Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-12-01T15:12:36.022272073Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=849.302µs grafana | logger=migrator t=2023-12-01T15:12:36.025454489Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-12-01T15:12:36.026292281Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=837.702µs grafana | logger=migrator t=2023-12-01T15:12:36.031208222Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-01T15:12:36.063763076Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=32.555015ms grafana | logger=migrator t=2023-12-01T15:12:36.06729393Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-12-01T15:12:36.06802Z level=info msg="Migration successfully executed" id="create correlation v2" duration=725.27µs grafana | logger=migrator t=2023-12-01T15:12:36.071474262Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-12-01T15:12:36.072746225Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.271773ms grafana | logger=migrator t=2023-12-01T15:12:36.077667946Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-12-01T15:12:36.079629728Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.960162ms grafana | logger=migrator t=2023-12-01T15:12:36.083598224Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-12-01T15:12:36.085379331Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.780688ms grafana | logger=migrator t=2023-12-01T15:12:36.089243264Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-12-01T15:12:36.089589583Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=346.079µs grafana | logger=migrator t=2023-12-01T15:12:36.094619637Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-12-01T15:12:36.095502621Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=884.255µs grafana | logger=migrator t=2023-12-01T15:12:36.099716332Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-12-01T15:12:36.111037253Z level=info msg="Migration successfully executed" id="add provisioning column" duration=11.320981ms grafana | logger=migrator t=2023-12-01T15:12:36.116606241Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-12-01T15:12:36.117486614Z level=info msg="Migration successfully executed" id="create entity_events table" duration=879.433µs grafana | logger=migrator t=2023-12-01T15:12:36.12406654Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-12-01T15:12:36.125058726Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=991.686µs grafana | logger=migrator t=2023-12-01T15:12:36.12894714Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-01T15:12:36.129533125Z 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=2023-12-01T15:12:36.132956546Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-01T15:12:36.13350234Z 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=2023-12-01T15:12:36.139992072Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-12-01T15:12:36.140832036Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=839.923µs grafana | logger=migrator t=2023-12-01T15:12:36.146187378Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-12-01T15:12:36.147717008Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.52887ms grafana | logger=migrator t=2023-12-01T15:12:36.152742432Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-01T15:12:36.154001385Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.258743ms grafana | logger=migrator t=2023-12-01T15:12:36.160146969Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-01T15:12:36.161757911Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.609632ms grafana | logger=migrator t=2023-12-01T15:12:36.167585546Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-01T15:12:36.169337433Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.751737ms grafana | logger=migrator t=2023-12-01T15:12:36.175011174Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-01T15:12:36.176210325Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.198961ms grafana | logger=migrator t=2023-12-01T15:12:36.180468439Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-12-01T15:12:36.181710912Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.242132ms grafana | logger=migrator t=2023-12-01T15:12:36.185967535Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-12-01T15:12:36.18767536Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.709295ms grafana | logger=migrator t=2023-12-01T15:12:36.192607721Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-01T15:12:36.193865305Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.257274ms grafana | logger=migrator t=2023-12-01T15:12:36.197597174Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-01T15:12:36.199572467Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.977643ms grafana | logger=migrator t=2023-12-01T15:12:36.205155685Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-12-01T15:12:36.206712806Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.557251ms grafana | logger=migrator t=2023-12-01T15:12:36.214530154Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-12-01T15:12:36.246781082Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.250668ms grafana | logger=migrator t=2023-12-01T15:12:36.250385298Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-12-01T15:12:36.256390637Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.005799ms grafana | logger=migrator t=2023-12-01T15:12:36.263209928Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-12-01T15:12:36.272562077Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=9.351809ms grafana | logger=migrator t=2023-12-01T15:12:36.276310176Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-12-01T15:12:36.276557223Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=247.677µs grafana | logger=migrator t=2023-12-01T15:12:36.280013665Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-12-01T15:12:36.289003334Z level=info msg="Migration successfully executed" id="add share column" duration=8.989389ms grafana | logger=migrator t=2023-12-01T15:12:36.293124443Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-12-01T15:12:36.293346109Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=221.766µs policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0112231512411000u 1 2023-12-01 15:12:45 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0112231512411000u 1 2023-12-01 15:12:45 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0112231512411000u 1 2023-12-01 15:12:45 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0112231512411100u 1 2023-12-01 15:12:45 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0112231512411200u 1 2023-12-01 15:12:45 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0112231512411200u 1 2023-12-01 15:12:45 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0112231512411200u 1 2023-12-01 15:12:45 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0112231512411200u 1 2023-12-01 15:12:45 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 0112231512411300u 1 2023-12-01 15:12:45 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 0112231512411300u 1 2023-12-01 15:12:46 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 0112231512411300u 1 2023-12-01 15:12:46 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2023-12-01T15:12:36.298156647Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-12-01T15:12:36.299106142Z level=info msg="Migration successfully executed" id="create file table" duration=949.515µs grafana | logger=migrator t=2023-12-01T15:12:36.303042938Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-12-01T15:12:36.30427416Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.231223ms grafana | logger=migrator t=2023-12-01T15:12:36.307856055Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-12-01T15:12:36.309046707Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.190322ms grafana | logger=migrator t=2023-12-01T15:12:36.313452584Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-12-01T15:12:36.314541263Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.08662ms grafana | logger=migrator t=2023-12-01T15:12:36.318521538Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-12-01T15:12:36.320686366Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.166098ms grafana | logger=migrator t=2023-12-01T15:12:36.326071229Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-12-01T15:12:36.326193243Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=123.194µs grafana | logger=migrator t=2023-12-01T15:12:36.331328249Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-12-01T15:12:36.331427962Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=101.173µs grafana | logger=migrator t=2023-12-01T15:12:36.334539435Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-12-01T15:12:36.33551427Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=975.766µs grafana | logger=migrator t=2023-12-01T15:12:36.340541044Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-12-01T15:12:36.340939294Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=396.15µs grafana | logger=migrator t=2023-12-01T15:12:36.344679354Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-12-01T15:12:36.345984329Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.304455ms grafana | logger=migrator t=2023-12-01T15:12:36.350446558Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-12-01T15:12:36.35995055Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.503272ms grafana | logger=migrator t=2023-12-01T15:12:36.363116314Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-12-01T15:12:36.363299049Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=182.745µs grafana | logger=migrator t=2023-12-01T15:12:36.366689809Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-12-01T15:12:36.367901641Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.213962ms grafana | logger=migrator t=2023-12-01T15:12:36.37122819Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-12-01T15:12:36.371659121Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=429.521µs grafana | logger=migrator t=2023-12-01T15:12:36.376003337Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-12-01T15:12:36.376259294Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=256.067µs grafana | logger=migrator t=2023-12-01T15:12:36.379570272Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-12-01T15:12:36.380322441Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=752.42µs grafana | logger=migrator t=2023-12-01T15:12:36.383594468Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-12-01T15:12:36.393669406Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.075588ms grafana | logger=migrator t=2023-12-01T15:12:36.397985141Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-12-01T15:12:36.404024602Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.039071ms grafana | logger=migrator t=2023-12-01T15:12:36.407519024Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-12-01T15:12:36.408671705Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.152611ms grafana | logger=migrator t=2023-12-01T15:12:36.412511937Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-12-01T15:12:36.52361138Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=111.095533ms grafana | logger=migrator t=2023-12-01T15:12:36.528799108Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-12-01T15:12:36.529660212Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=860.954µs grafana | logger=migrator t=2023-12-01T15:12:36.533454092Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-12-01T15:12:36.534362336Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=908.034µs grafana | logger=migrator t=2023-12-01T15:12:36.53791782Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-12-01T15:12:36.568691898Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=30.773288ms grafana | logger=migrator t=2023-12-01T15:12:36.573576328Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-12-01T15:12:36.573842675Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=265.787µs grafana | logger=migrator t=2023-12-01T15:12:36.577253197Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-12-01T15:12:36.577482363Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=228.716µs grafana | logger=migrator t=2023-12-01T15:12:36.580891783Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-12-01T15:12:36.581367086Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=476.983µs grafana | logger=migrator t=2023-12-01T15:12:36.586211615Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-12-01T15:12:36.587751425Z level=info msg="Migration successfully executed" id="create folder table" duration=1.54022ms grafana | logger=migrator t=2023-12-01T15:12:36.591950067Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-12-01T15:12:36.594119725Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.167808ms grafana | logger=migrator t=2023-12-01T15:12:36.5980635Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-12-01T15:12:36.599498187Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.434317ms grafana | logger=migrator t=2023-12-01T15:12:36.603805792Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-12-01T15:12:36.603836293Z level=info msg="Migration successfully executed" id="Update folder title length" duration=31.211µs grafana | logger=migrator t=2023-12-01T15:12:36.607265194Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-01T15:12:36.60862094Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.355626ms grafana | logger=migrator t=2023-12-01T15:12:36.612030081Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-01T15:12:36.613284054Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.253953ms grafana | logger=migrator t=2023-12-01T15:12:36.618190924Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-12-01T15:12:36.619541021Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.348897ms grafana | logger=migrator t=2023-12-01T15:12:36.623174327Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-12-01T15:12:36.624214084Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.039347ms grafana | logger=migrator t=2023-12-01T15:12:36.627880003Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-12-01T15:12:36.629463804Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.583982ms grafana | logger=migrator t=2023-12-01T15:12:36.634213361Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-12-01T15:12:36.635533415Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.319874ms grafana | logger=migrator t=2023-12-01T15:12:36.639194343Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-12-01T15:12:36.640547709Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.352736ms grafana | logger=migrator t=2023-12-01T15:12:36.64437914Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-12-01T15:12:36.646428465Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=2.048565ms grafana | logger=migrator t=2023-12-01T15:12:36.651269474Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-12-01T15:12:36.652542137Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.272653ms grafana | logger=migrator t=2023-12-01T15:12:36.656096423Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-12-01T15:12:36.656491833Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=396.551µs grafana | logger=migrator t=2023-12-01T15:12:36.660209931Z level=info msg="migrations completed" performed=517 skipped=0 duration=3.876730809s grafana | logger=sqlstore t=2023-12-01T15:12:36.672339263Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-12-01T15:12:36.672741265Z level=info msg="Created default organization" grafana | logger=secrets t=2023-12-01T15:12:36.677492691Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-12-01T15:12:36.742702895Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-12-01T15:12:36.745129118Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-12-01T15:12:36.748599821Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-12-01T15:12:38.920386304Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-12-01T15:12:38.922173622Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-12-01T15:12:38.93574233Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-12-01T15:12:38.93575705Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2023-12-01T15:12:38.93610243Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2023-12-01T15:12:38.936296345Z level=info msg="Storage starting" grafana | logger=ngalert.migration t=2023-12-01T15:12:38.940349802Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-12-01T15:12:38.940941678Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-12-01T15:12:38.941245696Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-01T15:12:38.941837002Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=http.server t=2023-12-01T15:12:38.942312394Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.migration orgID=1 t=2023-12-01T15:12:38.942368936Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-12-01T15:12:38.960106035Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2023-12-01T15:12:38.991432374Z level=info msg="Update check succeeded" duration=41.074297ms grafana | logger=ngalert.state.manager t=2023-12-01T15:12:39.011780413Z level=info msg="State cache has been initialized" states=0 duration=75.674623ms grafana | logger=ngalert.scheduler t=2023-12-01T15:12:39.011885716Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ngalert.multiorg.alertmanager t=2023-12-01T15:12:39.011890196Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ticker t=2023-12-01T15:12:39.011959728Z level=info msg=starting first_tick=2023-12-01T15:12:40Z grafana | logger=plugins.update.checker t=2023-12-01T15:12:39.028917596Z level=info msg="Update check succeeded" duration=78.288641ms grafana | logger=ngalert.migration t=2023-12-01T15:12:39.061073957Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-12-01T15:12:39.061397925Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-01T15:12:39.061875528Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-12-01T15:12:39.062358471Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-12-01T15:12:39.065570286Z level=info msg="Completed legacy migration" grafana | logger=sqlstore.transactions t=2023-12-01T15:12:39.090614839Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-12-01T15:12:39.110562777Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=infra.usagestats t=2023-12-01T15:13:13.947638855Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing prometheus ... Removing mariadb ... Removing grafana ... done Removing policy-db-migrator ... done Removing prometheus ... done Removing policy-api ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.EWpqXpRmPu ]] + rsync -av /tmp/tmp.EWpqXpRmPu/ /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,571 bytes received 95 bytes 2,691,332.00 bytes/sec total size is 1,344,921 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 2112 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/jenkins7783928308045471962.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins10224115934269807362.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/jenkins17103913752709252229.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-jzjn from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-jzjn/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14385843011676623070.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config4911271788485816372tmp 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/jenkins8637892248865493429.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins9704570370080945625.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-jzjn from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-jzjn/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins3899944299947492861.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins3199084689933347309.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-jzjn from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-jzjn/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/jenkins3237240295886002916.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-jzjn from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-jzjn/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1439 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-1454 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 820 27323 0 4024 30891 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:77:4a:9c brd ff:ff:ff:ff:ff:ff inet 10.30.106.213/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86048sec preferred_lft 86048sec inet6 fe80::f816:3eff:fe77:4a9c/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:26:36:68:f7 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-1454) 12/01/23 _x86_64_ (8 CPU) 15:09:23 LINUX RESTART (8 CPU) 15:10:01 tps rtps wtps bread/s bwrtn/s 15:11:01 141.43 42.64 98.78 1928.48 61109.82 15:12:01 146.46 23.03 123.43 2767.94 65679.05 15:13:01 385.67 15.13 370.54 818.73 82534.11 15:14:01 4.30 0.08 4.22 3.60 104.73 15:15:01 58.19 2.02 56.17 129.85 4217.73 Average: 147.21 16.58 130.63 1129.72 42729.09 15:10:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:11:01 30128524 31729868 2810696 8.53 69388 1842896 1440464 4.24 851964 1678028 163604 15:12:01 29254320 31708476 3684900 11.19 97456 2636032 1391060 4.09 957320 2379288 584948 15:13:01 27237408 30920512 5701812 17.31 128056 3778872 4084384 12.02 1833324 3424188 276 15:14:01 26919780 30604512 6019440 18.27 128184 3779828 4308056 12.68 2151020 3423632 188 15:15:01 28005788 31657868 4933432 14.98 131704 3753056 1461692 4.30 1132396 3381472 31280 Average: 28309164 31324247 4630056 14.06 110958 3158137 2537131 7.46 1385205 2857322 156059 15:10:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:11:01 lo 1.40 1.40 0.15 0.15 0.00 0.00 0.00 0.00 15:11:01 ens3 210.23 126.96 1257.33 41.50 0.00 0.00 0.00 0.00 15:12:01 br-1c13a8f8fc48 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:12:01 lo 4.67 4.67 0.44 0.44 0.00 0.00 0.00 0.00 15:12:01 ens3 123.06 80.87 2929.60 11.60 0.00 0.00 0.00 0.00 15:13:01 br-1c13a8f8fc48 0.63 0.65 0.06 0.30 0.00 0.00 0.00 0.00 15:13:01 veth57777c3 53.24 64.77 19.11 16.04 0.00 0.00 0.00 0.00 15:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:13:01 veth9508507 0.05 0.37 0.00 0.02 0.00 0.00 0.00 0.00 15:14:01 br-1c13a8f8fc48 3.02 3.47 6.11 2.21 0.00 0.00 0.00 0.00 15:14:01 veth57777c3 77.15 95.13 95.44 22.92 0.00 0.00 0.00 0.01 15:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:14:01 veth9508507 0.22 0.22 0.02 0.77 0.00 0.00 0.00 0.00 15:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:15:01 lo 31.89 31.89 10.46 10.46 0.00 0.00 0.00 0.00 15:15:01 ens3 828.25 500.28 11966.96 112.03 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 5.61 5.61 2.03 2.03 0.00 0.00 0.00 0.00 Average: ens3 122.50 76.32 2295.21 17.72 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-1454) 12/01/23 _x86_64_ (8 CPU) 15:09:23 LINUX RESTART (8 CPU) 15:10:01 CPU %user %nice %system %iowait %steal %idle 15:11:01 all 10.33 0.00 0.82 4.75 0.03 84.07 15:11:01 0 6.33 0.00 0.63 0.63 0.03 92.37 15:11:01 1 3.60 0.00 0.53 0.48 0.02 95.36 15:11:01 2 3.94 0.00 0.35 0.20 0.02 95.50 15:11:01 3 8.33 0.00 1.04 28.49 0.05 62.09 15:11:01 4 1.90 0.00 0.42 0.40 0.02 97.27 15:11:01 5 24.08 0.00 1.18 3.33 0.05 71.36 15:11:01 6 16.68 0.00 0.87 1.29 0.03 81.13 15:11:01 7 17.81 0.00 1.54 3.26 0.05 77.34 15:12:01 all 10.22 0.00 1.28 5.12 0.04 83.34 15:12:01 0 22.48 0.00 1.53 2.33 0.05 73.62 15:12:01 1 15.52 0.00 1.67 5.75 0.05 77.02 15:12:01 2 3.43 0.00 0.74 10.19 0.03 85.60 15:12:01 3 3.56 0.00 1.05 17.22 0.05 78.12 15:12:01 4 3.10 0.00 0.97 0.15 0.02 95.77 15:12:01 5 12.09 0.00 1.12 2.64 0.03 84.12 15:12:01 6 8.38 0.00 0.98 0.23 0.02 90.38 15:12:01 7 13.24 0.00 2.15 2.50 0.05 82.07 15:13:01 all 15.21 0.00 3.33 6.75 0.06 74.65 15:13:01 0 12.92 0.00 4.02 24.89 0.07 58.10 15:13:01 1 12.75 0.00 3.15 5.02 0.05 79.03 15:13:01 2 13.53 0.00 2.94 19.30 0.05 64.18 15:13:01 3 16.93 0.00 2.67 0.64 0.07 79.70 15:13:01 4 16.91 0.00 3.34 0.96 0.05 78.74 15:13:01 5 21.52 0.00 3.86 1.43 0.07 73.13 15:13:01 6 13.48 0.00 2.93 0.56 0.07 82.97 15:13:01 7 13.64 0.00 3.73 1.21 0.05 81.36 15:14:01 all 4.43 0.00 0.34 0.01 0.03 95.18 15:14:01 0 3.35 0.00 0.43 0.03 0.07 96.11 15:14:01 1 4.76 0.00 0.33 0.00 0.03 94.88 15:14:01 2 5.55 0.00 0.42 0.00 0.02 94.01 15:14:01 3 6.32 0.00 0.55 0.02 0.02 93.09 15:14:01 4 4.72 0.00 0.22 0.00 0.02 95.05 15:14:01 5 5.02 0.00 0.30 0.00 0.00 94.68 15:14:01 6 3.19 0.00 0.25 0.07 0.05 96.45 15:14:01 7 2.59 0.00 0.15 0.02 0.02 97.23 15:15:01 all 6.80 0.00 0.67 0.40 0.03 92.10 15:15:01 0 1.07 0.00 0.65 0.93 0.03 97.32 15:15:01 1 14.32 0.00 0.98 0.37 0.03 84.29 15:15:01 2 4.27 0.00 0.52 0.33 0.02 94.86 15:15:01 3 1.04 0.00 0.40 0.02 0.03 98.51 15:15:01 4 2.00 0.00 0.52 0.37 0.02 97.10 15:15:01 5 16.97 0.00 1.13 0.25 0.03 81.61 15:15:01 6 12.27 0.00 0.55 0.57 0.03 86.57 15:15:01 7 2.41 0.00 0.65 0.37 0.03 96.54 Average: all 9.39 0.00 1.28 3.40 0.04 85.89 Average: 0 9.21 0.00 1.45 5.73 0.05 83.56 Average: 1 10.19 0.00 1.33 2.32 0.04 86.13 Average: 2 6.14 0.00 0.99 5.98 0.03 86.87 Average: 3 7.23 0.00 1.14 9.27 0.04 82.32 Average: 4 5.70 0.00 1.09 0.37 0.02 92.81 Average: 5 15.93 0.00 1.51 1.53 0.04 80.99 Average: 6 10.80 0.00 1.12 0.54 0.04 87.50 Average: 7 9.93 0.00 1.64 1.47 0.04 86.92