Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-448 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-london-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-shmuWDcg4jQL/agent.2068 SSH_AGENT_PID=2070 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_11030686143684433369.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_11030686143684433369.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-london-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/london^{commit} # timeout=10 Checking out Revision e830ea142a4b760cf152d9db92c451d74b2da1f2 (refs/remotes/origin/london) > git config core.sparsecheckout # timeout=10 > git checkout -f e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=30 Commit message: "Make update to allow local image to be used in Nordix" > git rev-list --no-walk e830ea142a4b760cf152d9db92c451d74b2da1f2 # 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-london-project-csit-api] $ /bin/bash /tmp/jenkins16684383720433700569.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-27sz 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-27sz/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-27sz/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.2 botocore==1.33.2 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.23.4 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.1 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.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.8.1 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-london-project-csit-api] $ /bin/sh /tmp/jenkins4861224194416543058.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-london-project-csit-api] $ /bin/sh -xe /tmp/jenkins14787561303464931882.sh + /w/workspace/policy-api-london-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-london-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-london-project-csit-api/csit:/w/workspace/policy-api-london-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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-london-project-csit-api + rm -rf /w/workspace/policy-api-london-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-london-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.xgZtlCDBUK ++ echo ROBOT_VENV=/tmp/tmp.xgZtlCDBUK +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.xgZtlCDBUK ++ source /tmp/tmp.xgZtlCDBUK/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.xgZtlCDBUK +++ 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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.xgZtlCDBUK/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.xgZtlCDBUK) ' '!=' x ']' +++ PS1='(tmp.xgZtlCDBUK) ' +++ 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-london-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.xgZtlCDBUK/src/onap ++ rm -rf /tmp/tmp.xgZtlCDBUK/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.xgZtlCDBUK/bin/activate + '[' -z /tmp/tmp.xgZtlCDBUK/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.xgZtlCDBUK/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-london-project-csit-api/csit:/w/workspace/policy-api-london-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-london-project-csit-api/csit:/w/workspace/policy-api-london-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.xgZtlCDBUK ++ 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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.xgZtlCDBUK/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.xgZtlCDBUK) ' ++ '[' 'x(tmp.xgZtlCDBUK) ' '!=' x ']' ++ PS1='(tmp.xgZtlCDBUK) (tmp.xgZtlCDBUK) ' ++ 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-london-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.3wN3oGIqrG + cd /tmp/tmp.3wN3oGIqrG + 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-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview +++ GERRIT_BRANCH=london +++ echo GERRIT_BRANCH=london GERRIT_BRANCH=london +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models +++ mkdir /w/workspace/policy-api-london-project-csit-api/models +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-london-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-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-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-london-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:2.6.2)... 2.6.2: Pulling from onap/policy-db-migrator Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 2.8.2: Pulling from onap/policy-api Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 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-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-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 mariadb Up 11 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:17 up 3 min, 0 users, load average: 2.57, 0.98, 0.38 Tasks: 176 total, 1 running, 98 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.6 us, 2.1 sy, 0.0 ni, 82.6 id, 3.7 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 932K 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 40ed182531a2 policy-api 0.10% 923.6MiB / 31.41GiB 2.87% 1.04MB / 739kB 0B / 0B 50 2ee89f169ee1 mariadb 0.02% 100.3MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 10.9MB / 67.5MB 25 3f273914ac69 prometheus 0.07% 18.68MiB / 31.41GiB 0.06% 1.44kB / 0B 4.1kB / 0B 13 + echo + cd /tmp/tmp.3wN3oGIqrG + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-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-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-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-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-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-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | 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 | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | 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 | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.3wN3oGIqrG/output.xml Log: /tmp/tmp.3wN3oGIqrG/log.html Report: /tmp/tmp.3wN3oGIqrG/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-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:38:28 up 4 min, 0 users, load average: 0.93, 0.84, 0.37 Tasks: 174 total, 1 running, 96 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.6 us, 1.6 sy, 0.0 ni, 85.6 id, 3.1 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 932K 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 40ed182531a2 policy-api 0.20% 940.4MiB / 31.41GiB 2.92% 7.32MB / 2.87MB 0B / 0B 53 2ee89f169ee1 mariadb 0.02% 101.3MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 10.9MB / 67.6MB 18 3f273914ac69 prometheus 0.00% 24.87MiB / 31.41GiB 0.08% 38.5kB / 7.11kB 4.1kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-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, mariadb, prometheus grafana | logger=settings t=2023-11-29T11:36:49.186551102Z level=info msg="Starting Grafana" version=10.2.2 commit=161e3cac5075540918e3a39004f2364ad104d5bb branch=HEAD compiled=2023-11-20T12:28:00Z grafana | logger=settings t=2023-11-29T11:36:49.186843191Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-29T11:36:49.186886133Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-29T11:36:49.186929214Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-29T11:36:49.186961475Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-29T11:36:49.187026147Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-29T11:36:49.187074458Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-29T11:36:49.187123999Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-29T11:36:49.18715995Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-29T11:36:49.187220222Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-29T11:36:49.187250773Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-29T11:36:49.187291624Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-29T11:36:49.187336465Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-29T11:36:49.187383667Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-29T11:36:49.187414008Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-29T11:36:49.18747869Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-29T11:36:49.187528401Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-29T11:36:49.187586883Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-29T11:36:49.187631774Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-29T11:36:49.187939573Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-29T11:36:49.187988624Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-29T11:36:49.188633004Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-29T11:36:49.189549411Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-29T11:36:49.190371055Z level=info msg="Migration successfully executed" id="create migration_log table" duration=821.494µs grafana | logger=migrator t=2023-11-29T11:36:49.19599808Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-29T11:36:49.19664289Z level=info msg="Migration successfully executed" id="create user table" duration=643.74µs grafana | logger=migrator t=2023-11-29T11:36:49.20006408Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-29T11:36:49.20107299Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.00769ms grafana | logger=migrator t=2023-11-29T11:36:49.204578663Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-29T11:36:49.205396327Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=817.664µs grafana | logger=migrator t=2023-11-29T11:36:49.210879389Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-29T11:36:49.21162452Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=744.531µs grafana | logger=migrator t=2023-11-29T11:36:49.215126034Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-29T11:36:49.216555726Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.429922ms grafana | logger=migrator t=2023-11-29T11:36:49.220049288Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-29T11:36:49.224437827Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.389699ms grafana | logger=migrator t=2023-11-29T11:36:49.229716873Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-29T11:36:49.230233249Z level=info msg="Migration successfully executed" id="create user table v2" duration=516.386µs grafana | logger=migrator t=2023-11-29T11:36:49.233289389Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-29T11:36:49.234388071Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.099773ms grafana | logger=migrator t=2023-11-29T11:36:49.237816702Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-29T11:36:49.238964216Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.147164ms grafana | logger=migrator t=2023-11-29T11:36:49.242461948Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-29T11:36:49.243000735Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=538.467µs grafana | logger=migrator t=2023-11-29T11:36:49.248243238Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-29T11:36:49.248704802Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=461.524µs grafana | logger=migrator t=2023-11-29T11:36:49.251795403Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-29T11:36:49.252838624Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.042611ms grafana | logger=migrator t=2023-11-29T11:36:49.256062099Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-29T11:36:49.2560873Z level=info msg="Migration successfully executed" id="Update user table charset" duration=25.681µs grafana | logger=migrator t=2023-11-29T11:36:49.261845649Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-29T11:36:49.263549649Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.70314ms grafana | logger=migrator t=2023-11-29T11:36:49.267004481Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-29T11:36:49.267546327Z level=info msg="Migration successfully executed" id="Add missing user data" duration=540.066µs grafana | logger=migrator t=2023-11-29T11:36:49.271209975Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-11-29T11:36:49.272931665Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.72388ms grafana | logger=migrator t=2023-11-29T11:36:49.276305755Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-29T11:36:49.277456888Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.150173ms grafana | logger=migrator t=2023-11-29T11:36:49.282554979Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-29T11:36:49.283665192Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.109763ms grafana | logger=migrator t=2023-11-29T11:36:49.287991919Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-29T11:36:49.30059477Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=12.601931ms grafana | logger=migrator t=2023-11-29T11:36:49.303751513Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-29T11:36:49.304422083Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=670.3µs grafana | logger=migrator t=2023-11-29T11:36:49.307458542Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-29T11:36:49.308134952Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=676.55µs grafana | logger=migrator t=2023-11-29T11:36:49.3131638Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-29T11:36:49.314464949Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.300779ms grafana | logger=migrator t=2023-11-29T11:36:49.317728164Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-29T11:36:49.318911669Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.183405ms grafana | logger=migrator t=2023-11-29T11:36:49.324567596Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-29T11:36:49.325237775Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=669.849µs grafana | logger=migrator t=2023-11-29T11:36:49.328287216Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-29T11:36:49.328315947Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=29.351µs grafana | logger=migrator t=2023-11-29T11:36:49.331061897Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-29T11:36:49.332074677Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.012189ms grafana | logger=migrator t=2023-11-29T11:36:49.335404755Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-29T11:36:49.336381803Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=976.548µs grafana | logger=migrator t=2023-11-29T11:36:49.341545136Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-29T11:36:49.342147444Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=603.298µs grafana | logger=migrator t=2023-11-29T11:36:49.345339898Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-29T11:36:49.345932255Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=592.337µs grafana | logger=migrator t=2023-11-29T11:36:49.350340024Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-29T11:36:49.356018441Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.677757ms grafana | logger=migrator t=2023-11-29T11:36:49.391202898Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-29T11:36:49.392361482Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.158003ms grafana | logger=migrator t=2023-11-29T11:36:49.396133603Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-29T11:36:49.397297547Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.163054ms grafana | logger=migrator t=2023-11-29T11:36:49.40214208Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-29T11:36:49.402852691Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=710.422µs grafana | logger=migrator t=2023-11-29T11:36:49.406132237Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-29T11:36:49.406837698Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=705.081µs grafana | logger=migrator t=2023-11-29T11:36:49.410332491Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-29T11:36:49.411438384Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.106022ms grafana | logger=migrator t=2023-11-29T11:36:49.41638766Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-29T11:36:49.417003697Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=615.987µs grafana | logger=migrator t=2023-11-29T11:36:49.420679076Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-29T11:36:49.42116523Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=486.104µs grafana | logger=migrator t=2023-11-29T11:36:49.424723955Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-29T11:36:49.425057005Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=333.27µs grafana | logger=migrator t=2023-11-29T11:36:49.428747543Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-29T11:36:49.42967453Z level=info msg="Migration successfully executed" id="create star table" duration=926.607µs grafana | logger=migrator t=2023-11-29T11:36:49.434099391Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-29T11:36:49.435255205Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.155224ms grafana | logger=migrator t=2023-11-29T11:36:49.439069517Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-11-29T11:36:49.439733586Z level=info msg="Migration successfully executed" id="create org table v1" duration=663.849µs grafana | logger=migrator t=2023-11-29T11:36:49.444855928Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-11-29T11:36:49.445768185Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=910.847µs policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 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 | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:49.449462633Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-11-29T11:36:49.450786732Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.323029ms grafana | logger=migrator t=2023-11-29T11:36:49.455590284Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-11-29T11:36:49.456332225Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=741.391µs grafana | logger=migrator t=2023-11-29T11:36:49.459764827Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-11-29T11:36:49.460491898Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=726.471µs grafana | logger=migrator t=2023-11-29T11:36:49.464104705Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-11-29T11:36:49.464870677Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=765.532µs grafana | logger=migrator t=2023-11-29T11:36:49.468418392Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-11-29T11:36:49.468444652Z level=info msg="Migration successfully executed" id="Update org table charset" duration=26.731µs grafana | logger=migrator t=2023-11-29T11:36:49.472652196Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-11-29T11:36:49.472696897Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=42.211µs grafana | logger=migrator t=2023-11-29T11:36:49.476133748Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-11-29T11:36:49.476395976Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=262.168µs grafana | logger=migrator t=2023-11-29T11:36:49.479943021Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-11-29T11:36:49.480983962Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.03997ms grafana | logger=migrator t=2023-11-29T11:36:49.48470074Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-11-29T11:36:49.485937207Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.236047ms grafana | logger=migrator t=2023-11-29T11:36:49.490645226Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-11-29T11:36:49.491454939Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=808.693µs grafana | logger=migrator t=2023-11-29T11:36:49.494675804Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-11-29T11:36:49.495329944Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=652.95µs grafana | logger=migrator t=2023-11-29T11:36:49.498874117Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-11-29T11:36:49.500130155Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.255217ms grafana | logger=migrator t=2023-11-29T11:36:49.50505167Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-11-29T11:36:49.506104141Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.051651ms grafana | logger=migrator t=2023-11-29T11:36:49.509578923Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-11-29T11:36:49.515996482Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.417019ms grafana | logger=migrator t=2023-11-29T11:36:49.51933888Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-11-29T11:36:49.5199711Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=631.159µs grafana | logger=migrator t=2023-11-29T11:36:49.524484802Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-11-29T11:36:49.525830302Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.34872ms grafana | logger=migrator t=2023-11-29T11:36:49.52950601Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-11-29T11:36:49.530687474Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.180735ms grafana | logger=migrator t=2023-11-29T11:36:49.534490337Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-11-29T11:36:49.534981421Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=494.754µs grafana | logger=migrator t=2023-11-29T11:36:49.539306258Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-11-29T11:36:49.540201595Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=892.667µs grafana | logger=migrator t=2023-11-29T11:36:49.543618325Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-11-29T11:36:49.543686047Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=68.482µs grafana | logger=migrator t=2023-11-29T11:36:49.547357285Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-11-29T11:36:49.550160338Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.798373ms grafana | logger=migrator t=2023-11-29T11:36:49.554701181Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-11-29T11:36:49.556456244Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.758223ms grafana | logger=migrator t=2023-11-29T11:36:49.559929046Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-11-29T11:36:49.563180561Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=3.248926ms grafana | logger=migrator t=2023-11-29T11:36:49.566962003Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-11-29T11:36:49.567790127Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=827.704µs grafana | logger=migrator t=2023-11-29T11:36:49.572185497Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-11-29T11:36:49.574041351Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.854964ms grafana | logger=migrator t=2023-11-29T11:36:49.577355609Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-11-29T11:36:49.578186893Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=830.564µs grafana | logger=migrator t=2023-11-29T11:36:49.58182179Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:49.583438298Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.614568ms grafana | logger=migrator t=2023-11-29T11:36:49.587119917Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-11-29T11:36:49.58722942Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=110.313µs grafana | logger=migrator t=2023-11-29T11:36:49.590263519Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-11-29T11:36:49.590395223Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=107.833µs grafana | logger=migrator t=2023-11-29T11:36:49.593526715Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-11-29T11:36:49.596380299Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.850884ms grafana | logger=migrator t=2023-11-29T11:36:49.603348394Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-11-29T11:36:49.605286601Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.937736ms grafana | logger=migrator t=2023-11-29T11:36:49.608174417Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-11-29T11:36:49.610113623Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.938557ms grafana | logger=migrator t=2023-11-29T11:36:49.6130481Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-11-29T11:36:49.615036398Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.984899ms grafana | logger=migrator t=2023-11-29T11:36:49.619671335Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-11-29T11:36:49.619962113Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=288.048µs grafana | logger=migrator t=2023-11-29T11:36:49.622480858Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-11-29T11:36:49.623804587Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.323439ms grafana | logger=migrator t=2023-11-29T11:36:49.627397132Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-11-29T11:36:49.628466213Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.069831ms grafana | logger=migrator t=2023-11-29T11:36:49.633359278Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-11-29T11:36:49.63342797Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=66.612µs grafana | logger=migrator t=2023-11-29T11:36:49.636467899Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-11-29T11:36:49.637342564Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=872.675µs grafana | logger=migrator t=2023-11-29T11:36:49.640814307Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-11-29T11:36:49.641891379Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.076552ms grafana | logger=migrator t=2023-11-29T11:36:49.647137583Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-29T11:36:49.654070587Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.932144ms grafana | logger=migrator t=2023-11-29T11:36:49.65721277Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-11-29T11:36:49.657727165Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=514.005µs grafana | logger=migrator t=2023-11-29T11:36:49.660558578Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-11-29T11:36:49.661133035Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=574.297µs grafana | logger=migrator t=2023-11-29T11:36:49.664203046Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-11-29T11:36:49.665542646Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.33769ms grafana | logger=migrator t=2023-11-29T11:36:49.670891342Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-11-29T11:36:49.671493811Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=605.128µs grafana | logger=migrator t=2023-11-29T11:36:49.674597472Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-11-29T11:36:49.675194539Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=596.127µs grafana | logger=migrator t=2023-11-29T11:36:49.678073164Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-11-29T11:36:49.680141805Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.067881ms grafana | logger=migrator t=2023-11-29T11:36:49.685289107Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-11-29T11:36:49.686141971Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=852.384µs grafana | logger=migrator t=2023-11-29T11:36:49.689261053Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-11-29T11:36:49.689499111Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=237.558µs grafana | logger=migrator t=2023-11-29T11:36:49.692810788Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-11-29T11:36:49.693182379Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=370.651µs grafana | logger=migrator t=2023-11-29T11:36:49.698571948Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-11-29T11:36:49.699913197Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.33751ms grafana | logger=migrator t=2023-11-29T11:36:49.703208364Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-11-29T11:36:49.706608144Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.419841ms grafana | logger=migrator t=2023-11-29T11:36:49.709727116Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-11-29T11:36:49.710662864Z level=info msg="Migration successfully executed" id="create data_source table" duration=934.798µs grafana | logger=migrator t=2023-11-29T11:36:49.715599289Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-11-29T11:36:49.716515936Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=915.687µs grafana | logger=migrator t=2023-11-29T11:36:49.719991528Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-11-29T11:36:49.721332127Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.340029ms grafana | logger=migrator t=2023-11-29T11:36:49.724752399Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-11-29T11:36:49.725706586Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=953.727µs grafana | logger=migrator t=2023-11-29T11:36:49.731236379Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-11-29T11:36:49.732024263Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=787.774µs grafana | logger=migrator t=2023-11-29T11:36:49.735265968Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-11-29T11:36:49.742996646Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.728068ms grafana | logger=migrator t=2023-11-29T11:36:49.746126658Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-11-29T11:36:49.747017774Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=891.646µs grafana | logger=migrator t=2023-11-29T11:36:49.751745723Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-11-29T11:36:49.752896397Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.149154ms grafana | logger=migrator t=2023-11-29T11:36:49.756142592Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-11-29T11:36:49.757530973Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.387841ms grafana | logger=migrator t=2023-11-29T11:36:49.761397477Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-11-29T11:36:49.762047716Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=649.749µs grafana | logger=migrator t=2023-11-29T11:36:49.767005703Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-11-29T11:36:49.769367372Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.3612ms grafana | logger=migrator t=2023-11-29T11:36:49.809072361Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-29T11:36:49.813230394Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=4.155012ms grafana | logger=migrator t=2023-11-29T11:36:49.817108878Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-11-29T11:36:49.81717455Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=66.322µs grafana | logger=migrator t=2023-11-29T11:36:49.824261578Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-11-29T11:36:49.824641949Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=379.471µs grafana | logger=migrator t=2023-11-29T11:36:49.828655708Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-11-29T11:36:49.832331836Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.676548ms grafana | logger=migrator t=2023-11-29T11:36:49.835426417Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-11-29T11:36:49.835678294Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=251.407µs grafana | logger=migrator t=2023-11-29T11:36:49.838794636Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-11-29T11:36:49.839037153Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=241.877µs grafana | logger=migrator t=2023-11-29T11:36:49.844096662Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-11-29T11:36:49.846434301Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.336669ms grafana | logger=migrator t=2023-11-29T11:36:49.849584204Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-11-29T11:36:49.849843111Z level=info msg="Migration successfully executed" id="Update uid value" duration=258.097µs grafana | logger=migrator t=2023-11-29T11:36:49.853115037Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-11-29T11:36:49.854004724Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=889.367µs grafana | logger=migrator t=2023-11-29T11:36:49.859077464Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-11-29T11:36:49.860485345Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.407571ms grafana | logger=migrator t=2023-11-29T11:36:49.863924306Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-11-29T11:36:49.865301646Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.37601ms grafana | logger=migrator t=2023-11-29T11:36:49.869555172Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-11-29T11:36:49.870439728Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=884.996µs grafana | logger=migrator t=2023-11-29T11:36:49.87560277Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-11-29T11:36:49.876483836Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=880.966µs grafana | logger=migrator t=2023-11-29T11:36:49.87934793Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-11-29T11:36:49.880259597Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=911.367µs grafana | logger=migrator t=2023-11-29T11:36:49.884760789Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-11-29T11:36:49.885566394Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=805.545µs grafana | logger=migrator t=2023-11-29T11:36:49.890948332Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-11-29T11:36:49.892150267Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.200235ms grafana | logger=migrator t=2023-11-29T11:36:49.895422574Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-11-29T11:36:49.896683031Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.260197ms grafana | logger=migrator t=2023-11-29T11:36:49.902134091Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-11-29T11:36:49.910631632Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.496471ms grafana | logger=migrator t=2023-11-29T11:36:49.914252668Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-11-29T11:36:49.914796474Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=543.626µs grafana | logger=migrator t=2023-11-29T11:36:49.917853704Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-11-29T11:36:49.918468142Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=614.448µs grafana | logger=migrator t=2023-11-29T11:36:49.923101838Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-11-29T11:36:49.924379626Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.277678ms grafana | logger=migrator t=2023-11-29T11:36:49.927812227Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-11-29T11:36:49.929188008Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.375251ms grafana | logger=migrator t=2023-11-29T11:36:49.932784743Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-11-29T11:36:49.933422352Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=637.499µs grafana | logger=migrator t=2023-11-29T11:36:49.939919023Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-11-29T11:36:49.940877392Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=960.479µs grafana | logger=migrator t=2023-11-29T11:36:49.944347514Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-11-29T11:36:49.944501939Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=155.865µs grafana | logger=migrator t=2023-11-29T11:36:49.948105884Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-11-29T11:36:49.950610938Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.504384ms grafana | logger=migrator t=2023-11-29T11:36:49.953754241Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-11-29T11:36:49.956384818Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.629427ms 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 grafana | logger=migrator t=2023-11-29T11:36:49.961643663Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-11-29T11:36:49.96188445Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=240.407µs grafana | logger=migrator t=2023-11-29T11:36:49.964750904Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-11-29T11:36:49.967746533Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.995448ms grafana | logger=migrator t=2023-11-29T11:36:49.970996029Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-11-29T11:36:49.973567095Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.570176ms grafana | logger=migrator t=2023-11-29T11:36:49.978728616Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-11-29T11:36:49.979622223Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=892.427µs grafana | logger=migrator t=2023-11-29T11:36:49.983128755Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-11-29T11:36:49.983722674Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=593.498µs grafana | logger=migrator t=2023-11-29T11:36:49.986798974Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-11-29T11:36:49.987732432Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=933.508µs grafana | logger=migrator t=2023-11-29T11:36:49.992519892Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-11-29T11:36:49.993379388Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=859.356µs grafana | logger=migrator t=2023-11-29T11:36:49.996245782Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-11-29T11:36:49.997174479Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=928.527µs grafana | logger=migrator t=2023-11-29T11:36:50.000269091Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-11-29T11:36:50.001173497Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=904.726µs grafana | logger=migrator t=2023-11-29T11:36:50.005803074Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-11-29T11:36:50.00602502Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=221.736µs grafana | logger=migrator t=2023-11-29T11:36:50.00976646Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-11-29T11:36:50.009916944Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=150.054µs grafana | logger=migrator t=2023-11-29T11:36:50.013598173Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-11-29T11:36:50.0182681Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.669057ms grafana | logger=migrator t=2023-11-29T11:36:50.022917468Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-11-29T11:36:50.025661628Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.743981ms grafana | logger=migrator t=2023-11-29T11:36:50.029250893Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-11-29T11:36:50.029435779Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=187.776µs grafana | logger=migrator t=2023-11-29T11:36:50.032766917Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-11-29T11:36:50.033509419Z level=info msg="Migration successfully executed" id="create quota table v1" duration=741.852µs grafana | logger=migrator t=2023-11-29T11:36:50.036698493Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" prometheus | ts=2023-11-29T11:36:48.233Z 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-11-29T11:36:48.233Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.0, branch=HEAD, revision=6d80b30990bc297d95b5c844e118c4011fad8054)" prometheus | ts=2023-11-29T11:36:48.234Z 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-11-29T11:36:48.234Z 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-11-29T11:36:48.234Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-11-29T11:36:48.234Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-11-29T11:36:48.237Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-11-29T11:36:48.238Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-11-29T11:36:48.240Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-11-29T11:36:48.240Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-11-29T11:36:48.244Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-11-29T11:36:48.244Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.63µs prometheus | ts=2023-11-29T11:36:48.244Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-11-29T11:36:48.244Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-11-29T11:36:48.244Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=35.55µs wal_replay_duration=380.058µs wbl_replay_duration=380ns total_replay_duration=442.549µs prometheus | ts=2023-11-29T11:36:48.247Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-11-29T11:36:48.247Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-11-29T11:36:48.247Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-11-29T11:36:48.251Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=3.745814ms db_storage=1.92µs remote_storage=1.85µs web_handler=720ns query_engine=1.02µs scrape=3.020581ms scrape_sd=120.862µs notify=26.291µs notify_sd=10.03µs rules=1.68µs tracing=6.25µs prometheus | ts=2023-11-29T11:36:48.251Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-11-29T11:36:48.251Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." mariadb | 2023-11-29 11:36:50+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-29 11:36:50+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-29 11:36:50+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-29 11:36:50+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-29 11:36:50 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-29 11:36:50 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-29 11:36:50 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-11-29 11:36:52+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-29 11:36:52+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-29 11:36:52+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-29 11:36:52 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... mariadb | 2023-11-29 11:36:52 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-29 11:36:52 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-29 11:36:52 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-29 11:36:52 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-29 11:36:52 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-29 11:36:52 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-29 11:36:52 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-29 11:36:52 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-29 11:36:52 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-29 11:36:52 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-29 11:36:52 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-29 11:36:52 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-29 11:36:52 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-29 11:36:52 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-29 11:36:52 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-29 11:36:52 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-29 11:36:52 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-29 11:36:52 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-11-29 11:36:53+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-29 11:36:54+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-29 11:36:54+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-11-29 11:36:54+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-11-29 11:36:54+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- 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 | mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | grafana | logger=migrator t=2023-11-29T11:36:50.03760592Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=906.866µs grafana | logger=migrator t=2023-11-29T11:36:50.041926377Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-11-29T11:36:50.041993839Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=67.742µs grafana | logger=migrator t=2023-11-29T11:36:50.045378119Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-11-29T11:36:50.046196162Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=817.833µs grafana | logger=migrator t=2023-11-29T11:36:50.049746097Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-11-29T11:36:50.051262292Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.515275ms grafana | logger=migrator t=2023-11-29T11:36:50.056453815Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-11-29T11:36:50.060088171Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.633356ms grafana | logger=migrator t=2023-11-29T11:36:50.063536943Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-11-29T11:36:50.063646667Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=108.854µs grafana | logger=migrator t=2023-11-29T11:36:50.067269343Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-11-29T11:36:50.068131968Z level=info msg="Migration successfully executed" id="create session table" duration=862.435µs grafana | logger=migrator t=2023-11-29T11:36:50.072787645Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-11-29T11:36:50.072978562Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=191.327µs grafana | logger=migrator t=2023-11-29T11:36:50.076539576Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-11-29T11:36:50.076832514Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=296.968µs grafana | logger=migrator t=2023-11-29T11:36:50.080594966Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-11-29T11:36:50.081689658Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.094083ms grafana | logger=migrator t=2023-11-29T11:36:50.085564872Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-11-29T11:36:50.086914011Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.348809ms grafana | logger=migrator t=2023-11-29T11:36:50.092104434Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-11-29T11:36:50.092200967Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=98.733µs grafana | logger=migrator t=2023-11-29T11:36:50.095874965Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-11-29T11:36:50.095971248Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=95.223µs grafana | logger=migrator t=2023-11-29T11:36:50.09875565Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-11-29T11:36:50.104064207Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.306857ms grafana | logger=migrator t=2023-11-29T11:36:50.10859933Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-11-29T11:36:50.111680291Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.0805ms grafana | logger=migrator t=2023-11-29T11:36:50.114975878Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-11-29T11:36:50.115182744Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=207.326µs grafana | logger=migrator t=2023-11-29T11:36:50.118601124Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-11-29T11:36:50.119037657Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=436.763µs grafana | logger=migrator t=2023-11-29T11:36:50.122735146Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-11-29T11:36:50.12354284Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=807.854µs grafana | logger=migrator t=2023-11-29T11:36:50.129518256Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-11-29T11:36:50.129632909Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=115.443µs grafana | logger=migrator t=2023-11-29T11:36:50.132884385Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-11-29T11:36:50.138292904Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.406529ms grafana | logger=migrator t=2023-11-29T11:36:50.142708514Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-11-29T11:36:50.14290967Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=201.446µs grafana | logger=migrator t=2023-11-29T11:36:50.147372612Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-11-29T11:36:50.149609607Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=2.236455ms grafana | logger=migrator t=2023-11-29T11:36:50.153123281Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-11-29T11:36:50.156246633Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.123182ms grafana | logger=migrator t=2023-11-29T11:36:50.159623952Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-11-29T11:36:50.159793908Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=170.456µs grafana | logger=migrator t=2023-11-29T11:36:50.163328991Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-11-29T11:36:50.164331361Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.0017ms grafana | logger=migrator t=2023-11-29T11:36:50.169207214Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-11-29T11:36:50.170130452Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=923.168µs grafana | logger=migrator t=2023-11-29T11:36:50.1748392Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-11-29T11:36:50.176377085Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.536825ms grafana | logger=migrator t=2023-11-29T11:36:50.181138766Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-11-29T11:36:50.182762574Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.623038ms grafana | logger=migrator t=2023-11-29T11:36:50.186537295Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-11-29T11:36:50.187510413Z level=info msg="Migration successfully executed" id="add index alert state" duration=973.118µs grafana | logger=migrator t=2023-11-29T11:36:50.225370828Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-11-29T11:36:50.226841571Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.473813ms grafana | logger=migrator t=2023-11-29T11:36:50.232040794Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-11-29T11:36:50.232780317Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=741.023µs grafana | logger=migrator t=2023-11-29T11:36:50.2362988Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-11-29T11:36:50.237277669Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=978.869µs grafana | logger=migrator t=2023-11-29T11:36:50.240627077Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-11-29T11:36:50.241539514Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=914.987µs grafana | logger=migrator t=2023-11-29T11:36:50.245660956Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-11-29T11:36:50.260012338Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.346482ms grafana | logger=migrator t=2023-11-29T11:36:50.263390528Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-11-29T11:36:50.263913573Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=526.825µs grafana | logger=migrator t=2023-11-29T11:36:50.268990713Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" policy-db-migrator | 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 | -------------- mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2023-11-29 11:36:55+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-11-29 11:36:55 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-11-29 11:36:55 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-11-29 11:36:55 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-11-29 11:36:55 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-29 11:36:55 0 [Note] InnoDB: Buffer pool(s) dump completed at 231129 11:36:55 mariadb | 2023-11-29 11:36:56 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-11-29 11:36:56 0 [Note] InnoDB: Shutdown completed; log sequence number 321177; transaction id 298 mariadb | 2023-11-29 11:36:56 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-11-29 11:36:56+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-11-29 11:36:56+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-11-29 11:36:56 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-11-29 11:36:56 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-29 11:36:56 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-29 11:36:56 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-29 11:36:56 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-29 11:36:56 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-29 11:36:56 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-29 11:36:56 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-29 11:36:56 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-29 11:36:56 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-29 11:36:56 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-29 11:36:56 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-29 11:36:56 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-29 11:36:56 0 [Note] InnoDB: log sequence number 321177; transaction id 299 mariadb | 2023-11-29 11:36:56 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-29 11:36:56 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-29 11:36:56 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-29 11:36:56 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-11-29 11:36:56 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-11-29 11:36:56 0 [Note] Server socket created on IP: '::'. mariadb | 2023-11-29 11:36:56 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-11-29 11:36:56 0 [Note] InnoDB: Buffer pool(s) load completed at 231129 11:36:56 mariadb | 2023-11-29 11:36:57 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2023-11-29 11:36:57 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 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 :: (v2.7.8) policy-api | policy-api | [2023-11-29T11:37:04.580+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-11-29T11:37:04.583+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-29T11:37:05.867+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-29T11:37:05.957+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 78 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-29T11:37:07.008+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-29T11:37:07.021+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-29T11:37:07.021+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-29T11:37:07.022+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-11-29T11:37:07.140+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-29T11:37:07.140+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2486 ms policy-api | [2023-11-29T11:37:07.671+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-29T11:37:07.733+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-11-29T11:37:07.940+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-11-29T11:37:08.076+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-29T11:37:08.180+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-29T11:37:08.204+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-api | [2023-11-29T11:37:09.591+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-db-migrator | policy-api | [2023-11-29T11:37:09.602+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-29T11:37:10.657+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-api | [2023-11-29T11:37:11.322+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] grafana | logger=migrator t=2023-11-29T11:36:50.271080334Z 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=2.086891ms 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-api | [2023-11-29T11:37:12.441+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@780ccdc9, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2d4df467, org.springframework.security.web.context.SecurityContextPersistenceFilter@4cf5cf47, org.springframework.security.web.header.HeaderWriterFilter@249c96cf, org.springframework.security.web.authentication.logout.LogoutFilter@42d039ef, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@625439ba, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@556d8c78, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5e147821, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@65c2610f, org.springframework.security.web.session.SessionManagementFilter@3d44f15d, org.springframework.security.web.access.ExceptionTranslationFilter@6f3cf9ac, org.springframework.security.web.access.intercept.AuthorizationFilter@337f6716] grafana | logger=migrator t=2023-11-29T11:36:50.276947776Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | -------------- policy-api | [2023-11-29T11:37:12.597+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-db-migrator | policy-api | [2023-11-29T11:37:15.593+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-db-migrator | policy-api | [2023-11-29T11:37:15.619+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] grafana | logger=migrator t=2023-11-29T11:36:50.277869064Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=920.588µs policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-api | [2023-11-29T11:37:15.661+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' grafana | logger=migrator t=2023-11-29T11:36:50.281641825Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | -------------- policy-api | [2023-11-29T11:37:15.680+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.874 seconds (JVM running for 12.488) grafana | logger=migrator t=2023-11-29T11:36:50.282670135Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=1.02768ms 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-api | [2023-11-29T11:37:20.578+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-db-migrator | -------------- policy-api | [2023-11-29T11:37:20.578+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-db-migrator | policy-api | [2023-11-29T11:37:20.579+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms grafana | logger=migrator t=2023-11-29T11:36:50.286133477Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | policy-api | [2023-11-29T11:37:23.144+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: grafana | logger=migrator t=2023-11-29T11:36:50.287296262Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.159755ms policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-api | [] policy-db-migrator | -------------- policy-api | [2023-11-29T11:37:23.273+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes grafana | logger=migrator t=2023-11-29T11:36:50.291612589Z level=info msg="Executing migration" id="Add column is_default" 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-api | [2023-11-29T11:37:23.526+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes policy-api | [2023-11-29T11:37:24.592+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.301273693Z level=info msg="Migration successfully executed" id="Add column is_default" duration=9.648684ms policy-api | [2023-11-29T11:37:26.454+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.305375923Z level=info msg="Executing migration" id="Add column frequency" policy-api | [2023-11-29T11:37:26.834+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-db-migrator | policy-api | [2023-11-29T11:37:27.042+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 grafana | logger=migrator t=2023-11-29T11:36:50.30963487Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.263866ms policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-api | [2023-11-29T11:37:27.278+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-db-migrator | -------------- policy-api | [2023-11-29T11:37:27.491+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 grafana | logger=migrator t=2023-11-29T11:36:50.318658945Z level=info msg="Executing migration" id="Add column send_reminder" 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-api | [2023-11-29T11:37:27.704+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.324394544Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=5.735518ms 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 grafana | logger=migrator t=2023-11-29T11:36:50.329189705Z level=info msg="Executing migration" id="Add column disable_resolve_message" 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 | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.332645427Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.455372ms 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 | grafana | logger=migrator t=2023-11-29T11:36:50.335643615Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2023-11-29T11:36:50.336518431Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=874.356µs 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)) grafana | logger=migrator t=2023-11-29T11:36:50.340169568Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.340192928Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=24.1µs policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2023-11-29T11:36:50.34667815Z level=info msg="Executing migration" id="Update alert_notification table charset" 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 | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.346706421Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=32.02µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.350054279Z level=info msg="Executing migration" id="create notification_journal table v1" 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 | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.35077446Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=719.471µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.354019606Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.355738026Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.71769ms 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 | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.359034954Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.359800466Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=766.282µs policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.366936986Z level=info msg="Executing migration" id="create alert_notification_state table v1" 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 | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.367611406Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=674.21µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.37316649Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.374571531Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.404631ms 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 | grafana | logger=migrator t=2023-11-29T11:36:50.381404922Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2023-11-29T11:36:50.388612884Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=7.208742ms 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)) grafana | logger=migrator t=2023-11-29T11:36:50.398767523Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.401474893Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=2.70991ms 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)) grafana | logger=migrator t=2023-11-29T11:36:50.405270145Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.405397929Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=127.914µs policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.409552241Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 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 | grafana | logger=migrator t=2023-11-29T11:36:50.410447518Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=895.227µs policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.418389641Z level=info msg="Executing migration" id="Remove unique index org_id_name" 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 | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.419692409Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.302458ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.422895533Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.426577272Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.682589ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.43128534Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.431349302Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=64.712µs policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.435879396Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.43671935Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=839.204µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.439826313Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.440698288Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=873.025µs policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.445402367Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.445483129Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=81.432µs policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.449305991Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.450099875Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=793.764µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.454473034Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.455287878Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=814.265µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.458381029Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.459224343Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=842.834µs policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.464629362Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.465442327Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=812.195µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.468580709Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.470093933Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.515634ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.473564696Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.475234615Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.668479ms policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.480102978Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.480128999Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=26.831µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.482632703Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.488391072Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=5.75535ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.49240407Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.493534084Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.132024ms policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.498950273Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.503806666Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.853273ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.507286619Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.507926117Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=640.028µs policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.511467102Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.512386348Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=918.826µs policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2023-11-29T11:36:50.517037256Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.517926091Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=888.685µs policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2023-11-29T11:36:50.521798066Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 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 | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.536270451Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=14.470335ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.542083573Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.542583428Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=500.495µs 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 | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.54709508Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.54775501Z 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=659.69µs policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.551751927Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 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 | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.552211611Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=460.084µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.555618741Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 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 grafana | logger=migrator t=2023-11-29T11:36:50.556475867Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=856.666µs policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.561498604Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.561744532Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=246.098µs 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 | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.564972407Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.569427228Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.454551ms policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.572692034Z level=info msg="Executing migration" id="Add updated time to annotation table" 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 | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.577226658Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.534374ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.580759592Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.58170877Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=949.238µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.586053358Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-11-29T11:36:50.587463949Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.410741ms 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 grafana | logger=migrator t=2023-11-29T11:36:50.591078806Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.591308863Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=230.387µs policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.594389233Z level=info msg="Executing migration" id="Add epoch_end column" 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 | grafana | logger=migrator t=2023-11-29T11:36:50.598375391Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=3.986038ms policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-11-29T11:36:50.644914071Z level=info msg="Executing migration" id="Add index for epoch_end" 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 | grafana | logger=migrator t=2023-11-29T11:36:50.646556919Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.643148ms policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-11-29T11:36:50.650515246Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.650813704Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=298.459µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.655623656Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.655965406Z level=info msg="Migration successfully executed" id="Move region to single row" duration=341.45µs 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 grafana | logger=migrator t=2023-11-29T11:36:50.659051547Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.65983619Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=784.613µs policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2023-11-29T11:36:50.665316352Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.666592378Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.275476ms policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.671672758Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.673021928Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.34836ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.677374966Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.678723126Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.3476ms 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 | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.683336481Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2023-11-29T11:36:50.684105825Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=769.283µs 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 grafana | logger=migrator t=2023-11-29T11:36:50.68904344Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.690386359Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.341319ms policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.697797198Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.697897141Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=99.253µs policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.704132434Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.705267488Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.134343ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.712011406Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.712696036Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=684.42µs policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2023-11-29T11:36:50.719590419Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 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)) grafana | logger=migrator t=2023-11-29T11:36:50.720892837Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.302548ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.724313869Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 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)) grafana | logger=migrator t=2023-11-29T11:36:50.725188334Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=873.225µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.72977914Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2023-11-29T11:36:50.730048687Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=269.487µs 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 grafana | logger=migrator t=2023-11-29T11:36:50.735121966Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2023-11-29T11:36:50.735704214Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=582.418µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.741463943Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.741557536Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=94.373µs policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.745117621Z level=info msg="Executing migration" id="create team table" policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2023-11-29T11:36:50.746142401Z level=info msg="Migration successfully executed" id="create team table" duration=1.02387ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.751144698Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2023-11-29T11:36:50.752073586Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=928.498µs policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2023-11-29T11:36:50.75902439Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.760464053Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.438773ms policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2023-11-29T11:36:50.765401588Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.769933311Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.531443ms policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2023-11-29T11:36:50.773397364Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.773561959Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=164.624µs policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.777745842Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 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 grafana | logger=migrator t=2023-11-29T11:36:50.778638548Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=892.376µs policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.782740258Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2023-11-29T11:36:50.783792239Z level=info msg="Migration successfully executed" id="create team member table" duration=1.051231ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.788857049Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2023-11-29T11:36:50.790388504Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.531015ms policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2023-11-29T11:36:50.794429623Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.795873545Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.443262ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.801223173Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.802057787Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=834.384µs policy-db-migrator | policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.806737676Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.814056601Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.318055ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.818726148Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.821835239Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.108741ms 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 | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.827501026Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2023-11-29T11:36:50.831903487Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.402231ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-29T11:36:50.836620355Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2023-11-29T11:36:50.837416728Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=796.073µs 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 | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.842587011Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.844051104Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.463323ms policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-29T11:36:50.849229556Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version grafana | logger=migrator t=2023-11-29T11:36:50.851276986Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=2.04324ms policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:57 grafana | logger=migrator t=2023-11-29T11:36:50.855777029Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:57 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:57 grafana | logger=migrator t=2023-11-29T11:36:50.857381307Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.603527ms policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:57 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:57 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:57 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:57 grafana | logger=migrator t=2023-11-29T11:36:50.863810735Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:57 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:57 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:57 grafana | logger=migrator t=2023-11-29T11:36:50.864710732Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=898.507µs policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:57 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:57 grafana | logger=migrator t=2023-11-29T11:36:50.869999818Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:57 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:57 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:57 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:57 grafana | logger=migrator t=2023-11-29T11:36:50.871651406Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.650738ms policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 grafana | logger=migrator t=2023-11-29T11:36:50.876811519Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 grafana | logger=migrator t=2023-11-29T11:36:50.877783887Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=972.028µs policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 grafana | logger=migrator t=2023-11-29T11:36:50.881719103Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 grafana | logger=migrator t=2023-11-29T11:36:50.882692102Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=972.639µs policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 grafana | logger=migrator t=2023-11-29T11:36:50.889822542Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 grafana | logger=migrator t=2023-11-29T11:36:50.890446469Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=623.038µs policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 grafana | logger=migrator t=2023-11-29T11:36:50.895990263Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 grafana | logger=migrator t=2023-11-29T11:36:50.896357034Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=367.181µs policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 grafana | logger=migrator t=2023-11-29T11:36:50.900862677Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 grafana | logger=migrator t=2023-11-29T11:36:50.901893777Z level=info msg="Migration successfully executed" id="create tag table" duration=1.03083ms policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:58 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 grafana | logger=migrator t=2023-11-29T11:36:50.905543954Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 grafana | logger=migrator t=2023-11-29T11:36:50.906515243Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=968.279µs policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 grafana | logger=migrator t=2023-11-29T11:36:50.911667555Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 grafana | logger=migrator t=2023-11-29T11:36:50.912707755Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.03992ms policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 grafana | logger=migrator t=2023-11-29T11:36:50.918138035Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 grafana | logger=migrator t=2023-11-29T11:36:50.919777303Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.638738ms policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 grafana | logger=migrator t=2023-11-29T11:36:50.925430299Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 grafana | logger=migrator t=2023-11-29T11:36:50.926338207Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=907.827µs policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 grafana | logger=migrator t=2023-11-29T11:36:50.93019777Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 grafana | logger=migrator t=2023-11-29T11:36:50.950045395Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=19.848595ms policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 grafana | logger=migrator t=2023-11-29T11:36:50.954049363Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:36:59 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 grafana | logger=migrator t=2023-11-29T11:36:50.955226397Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=1.176784ms policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 grafana | logger=migrator t=2023-11-29T11:36:50.959668048Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 grafana | logger=migrator t=2023-11-29T11:36:50.961466001Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.797423ms policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 grafana | logger=migrator t=2023-11-29T11:36:50.968349493Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 grafana | logger=migrator t=2023-11-29T11:36:50.968817287Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=467.564µs policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 grafana | logger=migrator t=2023-11-29T11:36:50.975323229Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 grafana | logger=migrator t=2023-11-29T11:36:50.976250406Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=926.427µs policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 grafana | logger=migrator t=2023-11-29T11:36:50.984467039Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 grafana | logger=migrator t=2023-11-29T11:36:50.985273352Z level=info msg="Migration successfully executed" id="create user auth table" duration=806.174µs policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:00 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:01 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:01 grafana | logger=migrator t=2023-11-29T11:36:50.988677032Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2911231136570800u 1 2023-11-29 11:37:01 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2911231136570900u 1 2023-11-29 11:37:01 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2911231136570900u 1 2023-11-29 11:37:01 grafana | logger=migrator t=2023-11-29T11:36:50.99031218Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.634408ms policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2911231136570900u 1 2023-11-29 11:37:01 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2911231136570900u 1 2023-11-29 11:37:01 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2911231136570900u 1 2023-11-29 11:37:01 grafana | logger=migrator t=2023-11-29T11:36:50.994971087Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2911231136570900u 1 2023-11-29 11:37:01 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2911231136570900u 1 2023-11-29 11:37:01 grafana | logger=migrator t=2023-11-29T11:36:50.995098221Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=127.914µs policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2911231136570900u 1 2023-11-29 11:37:01 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2911231136570900u 1 2023-11-29 11:37:01 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2911231136570900u 1 2023-11-29 11:37:01 grafana | logger=migrator t=2023-11-29T11:36:50.999752298Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2911231136570900u 1 2023-11-29 11:37:01 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2911231136570900u 1 2023-11-29 11:37:01 grafana | logger=migrator t=2023-11-29T11:36:51.006020843Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=6.269225ms policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2911231136570900u 1 2023-11-29 11:37:01 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2911231136571000u 1 2023-11-29 11:37:01 grafana | logger=migrator t=2023-11-29T11:36:51.010842353Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2911231136571000u 1 2023-11-29 11:37:01 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2911231136571000u 1 2023-11-29 11:37:01 grafana | logger=migrator t=2023-11-29T11:36:51.015974593Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.13162ms policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2911231136571000u 1 2023-11-29 11:37:01 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2911231136571000u 1 2023-11-29 11:37:01 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2911231136571000u 1 2023-11-29 11:37:01 grafana | logger=migrator t=2023-11-29T11:36:51.056096572Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2911231136571000u 1 2023-11-29 11:37:01 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2911231136571000u 1 2023-11-29 11:37:02 grafana | logger=migrator t=2023-11-29T11:36:51.064860504Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=8.764093ms policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2911231136571000u 1 2023-11-29 11:37:02 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2911231136571100u 1 2023-11-29 11:37:02 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2911231136571200u 1 2023-11-29 11:37:02 grafana | logger=migrator t=2023-11-29T11:36:51.072005956Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2911231136571200u 1 2023-11-29 11:37:02 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2911231136571200u 1 2023-11-29 11:37:02 grafana | logger=migrator t=2023-11-29T11:36:51.080201271Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=8.193105ms policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2911231136571200u 1 2023-11-29 11:37:02 policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=migrator t=2023-11-29T11:36:51.08433259Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-11-29T11:36:51.085099813Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=766.913µs grafana | logger=migrator t=2023-11-29T11:36:51.091370679Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-11-29T11:36:51.098245323Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=6.878104ms grafana | logger=migrator t=2023-11-29T11:36:51.101474603Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-11-29T11:36:51.102176535Z level=info msg="Migration successfully executed" id="create server_lock table" duration=701.512µs grafana | logger=migrator t=2023-11-29T11:36:51.108186792Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-11-29T11:36:51.10906673Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=879.657µs grafana | logger=migrator t=2023-11-29T11:36:51.113060683Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-11-29T11:36:51.114679704Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.618601ms grafana | logger=migrator t=2023-11-29T11:36:51.117950956Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-11-29T11:36:51.119461053Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.509517ms grafana | logger=migrator t=2023-11-29T11:36:51.124756558Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-11-29T11:36:51.125656825Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=899.847µs grafana | logger=migrator t=2023-11-29T11:36:51.130105404Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-11-29T11:36:51.131672133Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.569619ms grafana | logger=migrator t=2023-11-29T11:36:51.135638795Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-11-29T11:36:51.142248271Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.607636ms grafana | logger=migrator t=2023-11-29T11:36:51.153716308Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-11-29T11:36:51.15440468Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=688.072µs grafana | logger=migrator t=2023-11-29T11:36:51.159337043Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-11-29T11:36:51.161267073Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.92946ms grafana | logger=migrator t=2023-11-29T11:36:51.166555058Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-11-29T11:36:51.167686043Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.124954ms grafana | logger=migrator t=2023-11-29T11:36:51.17401827Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-11-29T11:36:51.174654989Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=636.599µs grafana | logger=migrator t=2023-11-29T11:36:51.178581302Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-11-29T11:36:51.179291144Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=708.102µs grafana | logger=migrator t=2023-11-29T11:36:51.186385065Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-11-29T11:36:51.186450687Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=66.312µs grafana | logger=migrator t=2023-11-29T11:36:51.190654858Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-11-29T11:36:51.190787132Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=133.204µs grafana | logger=migrator t=2023-11-29T11:36:51.195155748Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-11-29T11:36:51.196610633Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.455036ms grafana | logger=migrator t=2023-11-29T11:36:51.202221787Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-29T11:36:51.203161547Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=956.96µs grafana | logger=migrator t=2023-11-29T11:36:51.209013699Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-29T11:36:51.210792764Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.777835ms grafana | logger=migrator t=2023-11-29T11:36:51.215600434Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-29T11:36:51.215665286Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=65.512µs grafana | logger=migrator t=2023-11-29T11:36:51.222403485Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-29T11:36:51.223643494Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.240818ms grafana | logger=migrator t=2023-11-29T11:36:51.228716332Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-29T11:36:51.22960597Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=889.718µs grafana | logger=migrator t=2023-11-29T11:36:51.235214774Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-29T11:36:51.236936058Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.720403ms grafana | logger=migrator t=2023-11-29T11:36:51.309624019Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-29T11:36:51.311854338Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=2.230399ms grafana | logger=migrator t=2023-11-29T11:36:51.316885135Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-11-29T11:36:51.322740847Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.853752ms grafana | logger=migrator t=2023-11-29T11:36:51.326398891Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-11-29T11:36:51.327302359Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=903.107µs grafana | logger=migrator t=2023-11-29T11:36:51.333882014Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-11-29T11:36:51.334011607Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=130.214µs grafana | logger=migrator t=2023-11-29T11:36:51.339503178Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-11-29T11:36:51.34084337Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.340042ms grafana | logger=migrator t=2023-11-29T11:36:51.345505585Z 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-11-29T11:36:51.346607649Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.102094ms grafana | logger=migrator t=2023-11-29T11:36:51.352544394Z 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-11-29T11:36:51.354151305Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.606271ms grafana | logger=migrator t=2023-11-29T11:36:51.359962925Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-29T11:36:51.360054978Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=92.403µs grafana | logger=migrator t=2023-11-29T11:36:51.369081548Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-11-29T11:36:51.370824992Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.744484ms grafana | logger=migrator t=2023-11-29T11:36:51.37621129Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-11-29T11:36:51.377684436Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.473006ms grafana | logger=migrator t=2023-11-29T11:36:51.384464497Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2023-11-29T11:36:51.385209481Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=744.964µs grafana | logger=migrator t=2023-11-29T11:36:51.388326357Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2023-11-29T11:36:51.390003529Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.676572ms grafana | logger=migrator t=2023-11-29T11:36:51.395370737Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-11-29T11:36:51.401307741Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.938165ms grafana | logger=migrator t=2023-11-29T11:36:51.408715052Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-29T11:36:51.409819696Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.107844ms grafana | logger=migrator t=2023-11-29T11:36:51.416417901Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-29T11:36:51.417919008Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.499977ms grafana | logger=migrator t=2023-11-29T11:36:51.422446719Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-11-29T11:36:51.458853581Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=36.406172ms grafana | logger=migrator t=2023-11-29T11:36:51.491090084Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-11-29T11:36:51.532507183Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=41.415489ms grafana | logger=migrator t=2023-11-29T11:36:51.537077245Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-29T11:36:51.53785756Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=780.305µs grafana | logger=migrator t=2023-11-29T11:36:51.541667268Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-29T11:36:51.542680479Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.012711ms grafana | logger=migrator t=2023-11-29T11:36:51.547959174Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-11-29T11:36:51.556255962Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=8.298428ms grafana | logger=migrator t=2023-11-29T11:36:51.561204396Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-11-29T11:36:51.563036243Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.829478ms grafana | logger=migrator t=2023-11-29T11:36:51.569201135Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-11-29T11:36:51.57099468Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.792625ms grafana | logger=migrator t=2023-11-29T11:36:51.575345216Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-11-29T11:36:51.576328826Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=983.78µs grafana | logger=migrator t=2023-11-29T11:36:51.582157757Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2023-11-29T11:36:51.584107179Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.950212ms grafana | logger=migrator t=2023-11-29T11:36:51.589513527Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-29T11:36:51.589629741Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=117.144µs grafana | logger=migrator t=2023-11-29T11:36:51.595264026Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-11-29T11:36:51.600912562Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.648485ms grafana | logger=migrator t=2023-11-29T11:36:51.606048631Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-11-29T11:36:51.610154698Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.105807ms grafana | logger=migrator t=2023-11-29T11:36:51.613014277Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-11-29T11:36:51.617151996Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=4.137669ms grafana | logger=migrator t=2023-11-29T11:36:51.621374848Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-11-29T11:36:51.622160232Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=785.374µs grafana | logger=migrator t=2023-11-29T11:36:51.627485988Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2023-11-29T11:36:51.628175259Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=688.921µs grafana | logger=migrator t=2023-11-29T11:36:51.631454982Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-11-29T11:36:51.636949593Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.491461ms grafana | logger=migrator t=2023-11-29T11:36:51.641195035Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-11-29T11:36:51.64714841Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.954315ms grafana | logger=migrator t=2023-11-29T11:36:51.652849337Z 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-11-29T11:36:51.653790337Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=940.63µs grafana | logger=migrator t=2023-11-29T11:36:51.659116332Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-11-29T11:36:51.664881781Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.767239ms grafana | logger=migrator t=2023-11-29T11:36:51.668068241Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-11-29T11:36:51.673928313Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.859682ms grafana | logger=migrator t=2023-11-29T11:36:51.679984771Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-11-29T11:36:51.680063484Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=79.562µs grafana | logger=migrator t=2023-11-29T11:36:51.684723449Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-11-29T11:36:51.686303128Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.579769ms grafana | logger=migrator t=2023-11-29T11:36:51.691176799Z 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-11-29T11:36:51.692614034Z 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.437645ms grafana | logger=migrator t=2023-11-29T11:36:51.698512467Z 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-11-29T11:36:51.69955974Z 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.046763ms grafana | logger=migrator t=2023-11-29T11:36:51.704729471Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-29T11:36:51.704833524Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=104.363µs grafana | logger=migrator t=2023-11-29T11:36:51.710361387Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-11-29T11:36:51.721052399Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=10.692883ms grafana | logger=migrator t=2023-11-29T11:36:51.727263712Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-11-29T11:36:51.733401223Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.138541ms grafana | logger=migrator t=2023-11-29T11:36:51.736366396Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-11-29T11:36:51.741765883Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=5.399537ms grafana | logger=migrator t=2023-11-29T11:36:51.74583157Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-11-29T11:36:51.750135904Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=4.303904ms grafana | logger=migrator t=2023-11-29T11:36:51.755871322Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-11-29T11:36:51.762003823Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.132261ms grafana | logger=migrator t=2023-11-29T11:36:51.766877824Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-11-29T11:36:51.766940966Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=63.592µs grafana | logger=migrator t=2023-11-29T11:36:51.771622133Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-11-29T11:36:51.772295613Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=673.21µs grafana | logger=migrator t=2023-11-29T11:36:51.775784892Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-11-29T11:36:51.781807659Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.022507ms grafana | logger=migrator t=2023-11-29T11:36:51.785990559Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-11-29T11:36:51.786051621Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=61.672µs grafana | logger=migrator t=2023-11-29T11:36:51.791689967Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-11-29T11:36:51.803077611Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=11.386384ms grafana | logger=migrator t=2023-11-29T11:36:51.807959683Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-11-29T11:36:51.808788228Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=827.225µs grafana | logger=migrator t=2023-11-29T11:36:51.816227151Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-11-29T11:36:51.822587798Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.360087ms grafana | logger=migrator t=2023-11-29T11:36:51.827104328Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-11-29T11:36:51.827857702Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=752.744µs grafana | logger=migrator t=2023-11-29T11:36:51.833686213Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-11-29T11:36:51.836188361Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=2.502018ms grafana | logger=migrator t=2023-11-29T11:36:51.843183739Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-11-29T11:36:51.849514465Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.330206ms grafana | logger=migrator t=2023-11-29T11:36:51.853749617Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-11-29T11:36:51.854571933Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=821.626µs grafana | logger=migrator t=2023-11-29T11:36:51.859194797Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-11-29T11:36:51.860680603Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.486756ms grafana | logger=migrator t=2023-11-29T11:36:51.86767644Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-11-29T11:36:51.868876428Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.204308ms grafana | logger=migrator t=2023-11-29T11:36:51.875459383Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-11-29T11:36:51.877454375Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.994272ms grafana | logger=migrator t=2023-11-29T11:36:51.918376299Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-11-29T11:36:51.918524513Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=149.594µs grafana | logger=migrator t=2023-11-29T11:36:51.922452875Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-11-29T11:36:51.924007134Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.55357ms grafana | logger=migrator t=2023-11-29T11:36:51.928975398Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2023-11-29T11:36:51.929898957Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=923.449µs grafana | logger=migrator t=2023-11-29T11:36:51.936376268Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-29T11:36:51.93674828Z 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-11-29T11:36:51.941309432Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-11-29T11:36:51.94190759Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=597.368µs grafana | logger=migrator t=2023-11-29T11:36:51.947392421Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-11-29T11:36:51.949685052Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=2.291821ms grafana | logger=migrator t=2023-11-29T11:36:51.954657306Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-11-29T11:36:51.961146139Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.486213ms grafana | logger=migrator t=2023-11-29T11:36:51.968684333Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-11-29T11:36:51.96955181Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=867.307µs grafana | logger=migrator t=2023-11-29T11:36:51.976546918Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-11-29T11:36:51.978748807Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=2.183498ms grafana | logger=migrator t=2023-11-29T11:36:51.983090402Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-11-29T11:36:51.983833224Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=742.662µs grafana | logger=migrator t=2023-11-29T11:36:51.987174749Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-11-29T11:36:51.988255412Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.078033ms grafana | logger=migrator t=2023-11-29T11:36:51.992615888Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-11-29T11:36:51.993583098Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=966.78µs grafana | logger=migrator t=2023-11-29T11:36:51.99685974Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-11-29T11:36:51.996884221Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=25.621µs grafana | logger=migrator t=2023-11-29T11:36:52.000709659Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-11-29T11:36:52.000871044Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=166.485µs grafana | logger=migrator t=2023-11-29T11:36:52.005555371Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-11-29T11:36:52.006004794Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=449.793µs grafana | logger=migrator t=2023-11-29T11:36:52.009884056Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-11-29T11:36:52.010883688Z level=info msg="Migration successfully executed" id="create data_keys table" duration=999.402µs grafana | logger=migrator t=2023-11-29T11:36:52.015619945Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-11-29T11:36:52.016453022Z level=info msg="Migration successfully executed" id="create secrets table" duration=840.036µs grafana | logger=migrator t=2023-11-29T11:36:52.02028023Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-11-29T11:36:52.069690994Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=49.411734ms grafana | logger=migrator t=2023-11-29T11:36:52.073298896Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-11-29T11:36:52.080365347Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.066741ms grafana | logger=migrator t=2023-11-29T11:36:52.084835146Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-11-29T11:36:52.08493938Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=104.344µs grafana | logger=migrator t=2023-11-29T11:36:52.088208782Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-11-29T11:36:52.133994893Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=45.785541ms grafana | logger=migrator t=2023-11-29T11:36:52.13744779Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-11-29T11:36:52.197030581Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=59.577791ms grafana | logger=migrator t=2023-11-29T11:36:52.207498358Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-11-29T11:36:52.208301413Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=803.985µs grafana | logger=migrator t=2023-11-29T11:36:52.218101659Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-11-29T11:36:52.219230524Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.129255ms grafana | logger=migrator t=2023-11-29T11:36:52.230452354Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-11-29T11:36:52.231158417Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=706.443µs grafana | logger=migrator t=2023-11-29T11:36:52.241129178Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-11-29T11:36:52.241980975Z level=info msg="Migration successfully executed" id="create permission table" duration=850.967µs grafana | logger=migrator t=2023-11-29T11:36:52.254878208Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-11-29T11:36:52.257178729Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=2.303102ms grafana | logger=migrator t=2023-11-29T11:36:52.267295225Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-11-29T11:36:52.269395231Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=2.098335ms grafana | logger=migrator t=2023-11-29T11:36:52.277329739Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-11-29T11:36:52.2780223Z level=info msg="Migration successfully executed" id="create role table" duration=692.571µs grafana | logger=migrator t=2023-11-29T11:36:52.282161729Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-11-29T11:36:52.288685293Z level=info msg="Migration successfully executed" id="add column display_name" duration=6.522434ms grafana | logger=migrator t=2023-11-29T11:36:52.293515664Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-11-29T11:36:52.301434171Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.917857ms grafana | logger=migrator t=2023-11-29T11:36:52.338499219Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-11-29T11:36:52.340682537Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=2.183418ms grafana | logger=migrator t=2023-11-29T11:36:52.344471326Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-11-29T11:36:52.345841028Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.368882ms grafana | logger=migrator t=2023-11-29T11:36:52.352663622Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-11-29T11:36:52.354638773Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.974511ms grafana | logger=migrator t=2023-11-29T11:36:52.358530505Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-11-29T11:36:52.359874597Z level=info msg="Migration successfully executed" id="create team role table" duration=1.343752ms grafana | logger=migrator t=2023-11-29T11:36:52.36351447Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-11-29T11:36:52.364655816Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.143616ms grafana | logger=migrator t=2023-11-29T11:36:52.369565809Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-11-29T11:36:52.371701636Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=2.138636ms grafana | logger=migrator t=2023-11-29T11:36:52.376748114Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-11-29T11:36:52.377868019Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.119345ms grafana | logger=migrator t=2023-11-29T11:36:52.382704019Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-11-29T11:36:52.38366037Z level=info msg="Migration successfully executed" id="create user role table" duration=953.88µs grafana | logger=migrator t=2023-11-29T11:36:52.390898325Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-11-29T11:36:52.393465176Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=2.566581ms grafana | logger=migrator t=2023-11-29T11:36:52.398929157Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-11-29T11:36:52.400057662Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.128176ms grafana | logger=migrator t=2023-11-29T11:36:52.404327255Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-11-29T11:36:52.405431069Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.103504ms grafana | logger=migrator t=2023-11-29T11:36:52.412482559Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-11-29T11:36:52.413844662Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.361133ms grafana | logger=migrator t=2023-11-29T11:36:52.42211075Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-11-29T11:36:52.424826075Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=2.715035ms grafana | logger=migrator t=2023-11-29T11:36:52.432166054Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-11-29T11:36:52.433298559Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.132105ms grafana | logger=migrator t=2023-11-29T11:36:52.439808743Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-11-29T11:36:52.448056481Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.247048ms grafana | logger=migrator t=2023-11-29T11:36:52.451660173Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-11-29T11:36:52.452615863Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=955.53µs grafana | logger=migrator t=2023-11-29T11:36:52.456147374Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-11-29T11:36:52.45701494Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=866.026µs grafana | logger=migrator t=2023-11-29T11:36:52.461571162Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-11-29T11:36:52.46277394Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.202368ms grafana | logger=migrator t=2023-11-29T11:36:52.466530797Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-11-29T11:36:52.468406196Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.875269ms grafana | logger=migrator t=2023-11-29T11:36:52.472569936Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-11-29T11:36:52.47399482Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.424424ms grafana | logger=migrator t=2023-11-29T11:36:52.478642026Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-11-29T11:36:52.479864684Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.222648ms grafana | logger=migrator t=2023-11-29T11:36:52.483008602Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-11-29T11:36:52.490793405Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.784573ms grafana | logger=migrator t=2023-11-29T11:36:52.494438239Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-11-29T11:36:52.500107266Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.666707ms grafana | logger=migrator t=2023-11-29T11:36:52.50472248Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-11-29T11:36:52.513729142Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=9.008492ms grafana | logger=migrator t=2023-11-29T11:36:52.51720495Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-11-29T11:36:52.528194463Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=10.991003ms grafana | logger=migrator t=2023-11-29T11:36:52.531497346Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-11-29T11:36:52.532430876Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=933.519µs grafana | logger=migrator t=2023-11-29T11:36:52.536833713Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-11-29T11:36:52.537770002Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=935.809µs grafana | logger=migrator t=2023-11-29T11:36:52.54123882Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-11-29T11:36:52.542483019Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.243739ms grafana | logger=migrator t=2023-11-29T11:36:52.546110053Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-11-29T11:36:52.546286378Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=176.735µs grafana | logger=migrator t=2023-11-29T11:36:52.550529071Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-11-29T11:36:52.550644284Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=115.943µs grafana | logger=migrator t=2023-11-29T11:36:52.554510495Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-11-29T11:36:52.555582169Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=1.072004ms grafana | logger=migrator t=2023-11-29T11:36:52.560313736Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-11-29T11:36:52.56105851Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=746.454µs grafana | logger=migrator t=2023-11-29T11:36:52.564627571Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-11-29T11:36:52.565308653Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=681.262µs grafana | logger=migrator t=2023-11-29T11:36:52.569787703Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-11-29T11:36:52.570082032Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=294.529µs grafana | logger=migrator t=2023-11-29T11:36:52.57325609Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-11-29T11:36:52.573688515Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=434.525µs grafana | logger=migrator t=2023-11-29T11:36:52.576883644Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-11-29T11:36:52.577978588Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.092594ms grafana | logger=migrator t=2023-11-29T11:36:52.58190753Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-11-29T11:36:52.584431959Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=2.524289ms grafana | logger=migrator t=2023-11-29T11:36:52.590052725Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-11-29T11:36:52.603291609Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=13.241204ms grafana | logger=migrator t=2023-11-29T11:36:52.606302693Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-11-29T11:36:52.606426227Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=123.234µs grafana | logger=migrator t=2023-11-29T11:36:52.609398949Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-11-29T11:36:52.610262667Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=863.138µs grafana | logger=migrator t=2023-11-29T11:36:52.614797618Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-11-29T11:36:52.616053107Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.257959ms grafana | logger=migrator t=2023-11-29T11:36:52.620610139Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-11-29T11:36:52.621725044Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.114715ms grafana | logger=migrator t=2023-11-29T11:36:52.624824581Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-11-29T11:36:52.633060498Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.234607ms grafana | logger=migrator t=2023-11-29T11:36:52.63792281Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-11-29T11:36:52.639266922Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.343942ms grafana | logger=migrator t=2023-11-29T11:36:52.6427068Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-11-29T11:36:52.643821075Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.111525ms grafana | logger=migrator t=2023-11-29T11:36:52.647321414Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-29T11:36:52.681469461Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=34.147067ms grafana | logger=migrator t=2023-11-29T11:36:52.686128476Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-11-29T11:36:52.687051735Z level=info msg="Migration successfully executed" id="create correlation v2" duration=922.409µs grafana | logger=migrator t=2023-11-29T11:36:52.690168702Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-11-29T11:36:52.691047119Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=881.937µs grafana | logger=migrator t=2023-11-29T11:36:52.695589822Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-11-29T11:36:52.696874742Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.28372ms grafana | logger=migrator t=2023-11-29T11:36:52.700430622Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-11-29T11:36:52.701762674Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.330632ms grafana | logger=migrator t=2023-11-29T11:36:52.705563193Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-11-29T11:36:52.706172082Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=608.188µs grafana | logger=migrator t=2023-11-29T11:36:52.711094756Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-11-29T11:36:52.711929841Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=834.185µs grafana | logger=migrator t=2023-11-29T11:36:52.773803273Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-11-29T11:36:52.78550982Z level=info msg="Migration successfully executed" id="add provisioning column" duration=11.708817ms grafana | logger=migrator t=2023-11-29T11:36:52.790520516Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-11-29T11:36:52.791262709Z level=info msg="Migration successfully executed" id="create entity_events table" duration=750.914µs grafana | logger=migrator t=2023-11-29T11:36:52.794729217Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-11-29T11:36:52.795606185Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=876.828µs grafana | logger=migrator t=2023-11-29T11:36:52.799149566Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-29T11:36:52.79960617Z 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-11-29T11:36:52.804944117Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-29T11:36:52.80537173Z 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-11-29T11:36:52.808686513Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-11-29T11:36:52.80985313Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.166126ms grafana | logger=migrator t=2023-11-29T11:36:52.813496544Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-11-29T11:36:52.81497064Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.473686ms grafana | logger=migrator t=2023-11-29T11:36:52.819450709Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-29T11:36:52.820494572Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.041623ms grafana | logger=migrator t=2023-11-29T11:36:52.823760444Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-29T11:36:52.825069825Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.307781ms grafana | logger=migrator t=2023-11-29T11:36:52.828650977Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-29T11:36:52.830266597Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.61622ms grafana | logger=migrator t=2023-11-29T11:36:52.83483921Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-29T11:36:52.835871623Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.032252ms grafana | logger=migrator t=2023-11-29T11:36:52.839372911Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-11-29T11:36:52.840111505Z level=info msg="Migration successfully executed" id="Drop public config table" duration=738.344µs grafana | logger=migrator t=2023-11-29T11:36:52.844612245Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-11-29T11:36:52.845567975Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=955.67µs grafana | logger=migrator t=2023-11-29T11:36:52.849101675Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-29T11:36:52.850250381Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.148216ms grafana | logger=migrator t=2023-11-29T11:36:52.853608846Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-29T11:36:52.854755582Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.146596ms grafana | logger=migrator t=2023-11-29T11:36:52.858890441Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-11-29T11:36:52.859992136Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.100965ms grafana | logger=migrator t=2023-11-29T11:36:52.863211926Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-11-29T11:36:52.895916428Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.704322ms grafana | logger=migrator t=2023-11-29T11:36:52.899172669Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-11-29T11:36:52.906295682Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.122223ms grafana | logger=migrator t=2023-11-29T11:36:52.910685019Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-11-29T11:36:52.919188094Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.502675ms grafana | logger=migrator t=2023-11-29T11:36:52.922792157Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-11-29T11:36:52.922968802Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=177.195µs grafana | logger=migrator t=2023-11-29T11:36:52.926046348Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-11-29T11:36:52.932613964Z level=info msg="Migration successfully executed" id="add share column" duration=6.566546ms grafana | logger=migrator t=2023-11-29T11:36:52.937087783Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-11-29T11:36:52.93730125Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=212.917µs grafana | logger=migrator t=2023-11-29T11:36:52.940852951Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-11-29T11:36:52.941726448Z level=info msg="Migration successfully executed" id="create file table" duration=873.117µs grafana | logger=migrator t=2023-11-29T11:36:52.945092714Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-11-29T11:36:52.94623965Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.146346ms grafana | logger=migrator t=2023-11-29T11:36:52.949655556Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-11-29T11:36:52.95075052Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.094454ms grafana | logger=migrator t=2023-11-29T11:36:52.954988313Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-11-29T11:36:52.955709955Z level=info msg="Migration successfully executed" id="create file_meta table" duration=721.042µs grafana | logger=migrator t=2023-11-29T11:36:52.958942176Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-11-29T11:36:52.960766593Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.823387ms grafana | logger=migrator t=2023-11-29T11:36:52.966797351Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-11-29T11:36:52.966871593Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=74.612µs grafana | logger=migrator t=2023-11-29T11:36:52.970701323Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-11-29T11:36:52.970836797Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=151.455µs grafana | logger=migrator t=2023-11-29T11:36:52.974803851Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-11-29T11:36:52.975755431Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=951.91µs grafana | logger=migrator t=2023-11-29T11:36:52.979610381Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-11-29T11:36:52.979806078Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=195.797µs grafana | logger=migrator t=2023-11-29T11:36:52.984553416Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-11-29T11:36:52.985291169Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=737.503µs grafana | logger=migrator t=2023-11-29T11:36:52.988559671Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-11-29T11:36:53.000753082Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=12.193041ms grafana | logger=migrator t=2023-11-29T11:36:53.004159848Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-11-29T11:36:53.004278372Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=116.854µs grafana | logger=migrator t=2023-11-29T11:36:53.006717228Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-11-29T11:36:53.007787413Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.069845ms grafana | logger=migrator t=2023-11-29T11:36:53.011908963Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-11-29T11:36:53.012274354Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=366.171µs grafana | logger=migrator t=2023-11-29T11:36:53.014748092Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-11-29T11:36:53.014941468Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=193.236µs grafana | logger=migrator t=2023-11-29T11:36:53.018229291Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-11-29T11:36:53.018671425Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=441.934µs grafana | logger=migrator t=2023-11-29T11:36:53.021853036Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-11-29T11:36:53.030386644Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.533068ms grafana | logger=migrator t=2023-11-29T11:36:53.03471984Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-11-29T11:36:53.043190987Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.471667ms grafana | logger=migrator t=2023-11-29T11:36:53.046439769Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-11-29T11:36:53.047189603Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=749.604µs grafana | logger=migrator t=2023-11-29T11:36:53.050059403Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-11-29T11:36:53.153888731Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=103.827337ms grafana | logger=migrator t=2023-11-29T11:36:53.158407692Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-11-29T11:36:53.159243039Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=835.067µs grafana | logger=migrator t=2023-11-29T11:36:53.201825999Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-11-29T11:36:53.203988227Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=2.162918ms grafana | logger=migrator t=2023-11-29T11:36:53.208366675Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-11-29T11:36:53.249587192Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=41.216667ms grafana | logger=migrator t=2023-11-29T11:36:53.25459495Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-11-29T11:36:53.254760385Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=165.315µs grafana | logger=migrator t=2023-11-29T11:36:53.258225923Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-11-29T11:36:53.258514243Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=288.44µs grafana | logger=migrator t=2023-11-29T11:36:53.262082845Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-11-29T11:36:53.262310292Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=229.527µs grafana | logger=migrator t=2023-11-29T11:36:53.266709761Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-11-29T11:36:53.267760784Z level=info msg="Migration successfully executed" id="create folder table" duration=1.049473ms grafana | logger=migrator t=2023-11-29T11:36:53.271470311Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-11-29T11:36:53.273301238Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.830227ms grafana | logger=migrator t=2023-11-29T11:36:53.277997346Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-11-29T11:36:53.279506614Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.505468ms grafana | logger=migrator t=2023-11-29T11:36:53.283092696Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-11-29T11:36:53.283113407Z level=info msg="Migration successfully executed" id="Update folder title length" duration=22.001µs grafana | logger=migrator t=2023-11-29T11:36:53.286784323Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-29T11:36:53.288013522Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.228528ms grafana | logger=migrator t=2023-11-29T11:36:53.291747868Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-29T11:36:53.292807282Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.058984ms grafana | logger=migrator t=2023-11-29T11:36:53.296979663Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-11-29T11:36:53.298176151Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.195868ms grafana | logger=migrator t=2023-11-29T11:36:53.301537386Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-11-29T11:36:53.302449425Z level=info msg="Migration successfully executed" id="create anon_device table" duration=911.889µs grafana | logger=migrator t=2023-11-29T11:36:53.306703449Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-11-29T11:36:53.308204807Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.502527ms grafana | logger=migrator t=2023-11-29T11:36:53.311942624Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-11-29T11:36:53.313797653Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.854308ms grafana | logger=migrator t=2023-11-29T11:36:53.317540181Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-11-29T11:36:53.318368716Z level=info msg="Migration successfully executed" id="create signing_key table" duration=829.536µs grafana | logger=migrator t=2023-11-29T11:36:53.323451546Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-11-29T11:36:53.324567852Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.116026ms grafana | logger=migrator t=2023-11-29T11:36:53.327735961Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-11-29T11:36:53.328800985Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.066414ms grafana | logger=migrator t=2023-11-29T11:36:53.332907244Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-29T11:36:53.333235774Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=328.99µs grafana | logger=migrator t=2023-11-29T11:36:53.338883342Z level=info msg="migrations completed" performed=517 skipped=0 duration=4.149381652s grafana | logger=sqlstore t=2023-11-29T11:36:53.348633709Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-29T11:36:53.348959649Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-29T11:36:53.353046058Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-29T11:36:53.413522651Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-29T11:36:53.417052842Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-29T11:36:53.420680966Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-29T11:36:55.675820086Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-29T11:36:55.677664663Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-29T11:36:55.687724358Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-29T11:36:55.687738958Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2023-11-29T11:36:55.688082259Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2023-11-29T11:36:55.692642921Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafanaStorageLogger t=2023-11-29T11:36:55.69293468Z level=info msg="Storage starting" grafana | logger=ngalert.migration t=2023-11-29T11:36:55.718653864Z level=info msg=Starting grafana | logger=ngalert.state.manager t=2023-11-29T11:36:55.718824059Z level=info msg="State cache has been initialized" states=0 duration=30.74067ms grafana | logger=ngalert.scheduler t=2023-11-29T11:36:55.718974544Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-11-29T11:36:55.719156489Z level=info msg=starting first_tick=2023-11-29T11:37:00Z grafana | logger=ngalert.multiorg.alertmanager t=2023-11-29T11:36:55.718999524Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.migration t=2023-11-29T11:36:55.719392676Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.719760317Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.720385248Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.720946175Z level=warn msg="No available receivers" grafana | logger=grafana.update.checker t=2023-11-29T11:36:55.726302742Z level=info msg="Update check succeeded" duration=37.330175ms grafana | logger=sqlstore.transactions t=2023-11-29T11:36:55.733040743Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=0 code="database is locked" grafana | logger=ngalert.migration t=2023-11-29T11:36:55.733775596Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.734039154Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.734462477Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.734851649Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-11-29T11:36:55.749407804Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=1 code="database is locked" grafana | logger=plugins.update.checker t=2023-11-29T11:36:55.765519407Z level=info msg="Update check succeeded" duration=75.527139ms grafana | logger=ngalert.migration t=2023-11-29T11:36:55.854250719Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.854530907Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.854906259Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.85528065Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-11-29T11:36:55.867276015Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=2 code="database is locked" grafana | logger=ngalert.migration t=2023-11-29T11:36:55.876368439Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.87672311Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.877193635Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.87768103Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-11-29T11:36:55.890093868Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=3 code="database is locked" grafana | logger=ngalert.migration t=2023-11-29T11:36:55.898909563Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.899211843Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.899654566Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.900122371Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-11-29T11:36:55.913476228Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=4 code="database is locked" grafana | logger=ngalert.migration t=2023-11-29T11:36:55.914088687Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.914426208Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.914888192Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:36:55.915369727Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-11-29T11:36:56.062297236Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=server t=2023-11-29T11:36:56.116987104Z level=error msg="Stopped background service" service=*migration.MigrationService reason="migration failed: executing migration: database is locked" grafana | logger=tracing t=2023-11-29T11:36:56.117138858Z level=info msg="Closing tracing" grafana | logger=ticker t=2023-11-29T11:36:56.117301453Z level=info msg=stopped last_tick=2023-11-29T11:36:50Z grafana | logger=dashboard-service t=2023-11-29T11:36:56.141897142Z level=error msg="Could not set default permissions" dashboard="Policy Drools-PDP" error="context canceled" grafana | logger=provisioning.dashboard type=file name="Policy Framework" t=2023-11-29T11:36:56.143402049Z level=error msg="failed to save dashboard" file=/var/lib/grafana/dashboards/dashboard-xacml-pdp.json error="SQL query for existing dashboard by UID failed: context canceled" grafana | Error: ✗ *migration.MigrationService run error: migration failed: executing migration: database is locked ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing grafana ... done Removing policy-api ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-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.3wN3oGIqrG ]] + rsync -av /tmp/tmp.3wN3oGIqrG/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,347,139 bytes received 95 bytes 2,694,468.00 bytes/sec total size is 1,346,488 speedup is 1.00 + rm -rf /w/workspace/policy-api-london-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2070 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-london-project-csit-api] $ /bin/bash /tmp/jenkins1492817762534763876.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins12189407577254503806.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-london-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-london-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-london-project-csit-api ']' + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins11012666305539693400.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-27sz from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-27sz/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins9950149713248806380.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config3033504148249183731tmp 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-london-project-csit-api] $ /bin/bash /tmp/jenkins9746480805624398709.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins9331569152100693021.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-27sz from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-27sz/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16338770096880067326.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins43610768577676902.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-27sz 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-27sz/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-london-project-csit-api] $ /bin/bash -l /tmp/jenkins10425311442586897824.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-27sz from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-27sz/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/194 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-448 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 818 27437 0 3911 30893 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:32:cb:a7 brd ff:ff:ff:ff:ff:ff inet 10.30.107.217/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86062sec preferred_lft 86062sec inet6 fe80::f816:3eff:fe32:cba7/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:c9:bc:81:6c 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-448) 11/29/23 _x86_64_ (8 CPU) 11:33:56 LINUX RESTART (8 CPU) 11:34:01 tps rtps wtps bread/s bwrtn/s 11:35:01 155.89 84.52 71.37 6218.16 59033.89 11:36:01 112.76 17.13 95.63 1241.93 29592.53 11:37:01 414.51 22.43 392.08 2408.70 84208.12 11:38:01 30.81 0.38 30.43 37.59 19501.12 11:39:01 44.16 1.42 42.74 117.18 21419.03 Average: 151.63 25.18 126.45 2004.71 42750.94 11:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 30221304 31686808 2717916 8.25 55856 1728928 1464492 4.31 889280 1559928 102176 11:36:01 29764232 31676960 3174988 9.64 83276 2125644 1437708 4.23 921992 1937296 262260 11:37:01 28011548 31575540 4927672 14.96 125156 3669852 2770332 8.15 1140776 3349400 960 11:38:01 26992604 30585756 5946616 18.05 125708 3671692 4077236 12.00 2168024 3340516 76 11:39:01 28135312 31665992 4803908 14.58 127764 3641332 1432700 4.22 1112984 3272904 45236 Average: 28625000 31438211 4314220 13.10 103552 2967490 2236494 6.58 1246611 2692009 82142 11:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 lo 1.73 1.73 0.17 0.17 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 357.74 252.32 1504.02 61.51 0.00 0.00 0.00 0.00 11:36:01 lo 1.27 1.27 0.13 0.13 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 ens3 55.24 37.13 914.88 7.77 0.00 0.00 0.00 0.00 11:37:01 lo 9.33 9.33 0.86 0.86 0.00 0.00 0.00 0.00 11:37:01 br-0a4f9f13aab2 0.53 0.52 0.05 0.29 0.00 0.00 0.00 0.00 11:37:01 veth5c5bdbf 32.09 24.55 3.82 2.25 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 lo 9.63 9.63 8.26 8.26 0.00 0.00 0.00 0.00 11:38:01 br-0a4f9f13aab2 3.05 3.57 5.88 2.23 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 ens3 719.21 476.55 11019.19 86.05 0.00 0.00 0.00 0.00 11:39:01 lo 8.55 8.55 0.71 0.71 0.00 0.00 0.00 0.00 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:39:01 ens3 63.04 52.94 72.10 23.32 0.00 0.00 0.00 0.00 Average: lo 6.10 6.10 2.02 2.02 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: ens3 152.20 104.92 2217.09 21.78 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-448) 11/29/23 _x86_64_ (8 CPU) 11:33:56 LINUX RESTART (8 CPU) 11:34:01 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 8.40 0.00 1.14 3.51 0.04 86.92 11:35:01 0 19.12 0.00 1.14 0.43 0.05 79.26 11:35:01 1 7.61 0.00 2.09 0.53 0.03 89.73 11:35:01 2 4.06 0.00 0.75 10.83 0.03 84.33 11:35:01 3 5.06 0.00 1.14 0.38 0.03 93.39 11:35:01 4 3.71 0.00 0.97 1.19 0.03 94.09 11:35:01 5 3.03 0.00 1.05 11.88 0.03 84.00 11:35:01 6 6.60 0.00 0.97 0.70 0.03 91.70 11:35:01 7 18.00 0.00 0.97 2.10 0.07 78.86 11:36:01 all 10.49 0.00 0.70 2.34 0.03 86.44 11:36:01 0 23.63 0.00 0.97 1.27 0.03 74.10 11:36:01 1 2.34 0.00 0.20 0.22 0.02 97.23 11:36:01 2 0.03 0.00 0.25 11.11 0.02 88.59 11:36:01 3 4.15 0.00 0.53 0.18 0.03 95.10 11:36:01 4 8.19 0.00 0.78 3.27 0.05 87.71 11:36:01 5 23.54 0.00 1.47 1.34 0.03 73.62 11:36:01 6 13.04 0.00 0.73 0.53 0.02 85.67 11:36:01 7 9.01 0.00 0.65 0.82 0.07 89.46 11:37:01 all 9.39 0.00 3.27 6.17 0.07 81.11 11:37:01 0 8.02 0.00 3.62 1.06 0.05 87.25 11:37:01 1 10.06 0.00 3.91 1.79 0.08 84.16 11:37:01 2 12.38 0.00 3.70 26.92 0.07 56.93 11:37:01 3 9.37 0.00 3.17 5.46 0.05 81.96 11:37:01 4 9.24 0.00 3.09 2.48 0.10 85.09 11:37:01 5 9.26 0.00 3.13 0.89 0.05 86.67 11:37:01 6 7.52 0.00 2.65 1.12 0.03 88.68 11:37:01 7 9.29 0.00 2.85 9.68 0.05 78.13 11:38:01 all 15.78 0.00 1.28 1.00 0.04 81.89 11:38:01 0 21.84 0.00 1.90 0.00 0.02 76.24 11:38:01 1 14.67 0.00 1.22 0.00 0.05 84.06 11:38:01 2 10.71 0.00 1.10 7.69 0.05 80.45 11:38:01 3 17.26 0.00 1.37 0.12 0.03 81.22 11:38:01 4 15.93 0.00 1.39 0.00 0.05 82.64 11:38:01 5 12.67 0.00 0.68 0.02 0.05 86.58 11:38:01 6 14.41 0.00 1.06 0.00 0.05 84.48 11:38:01 7 18.78 0.00 1.60 0.17 0.03 79.42 11:39:01 all 3.56 0.00 0.52 1.26 0.03 94.64 11:39:01 0 1.54 0.00 0.50 0.15 0.03 97.78 11:39:01 1 1.78 0.00 0.40 0.30 0.02 97.50 11:39:01 2 15.43 0.00 0.97 8.03 0.08 75.49 11:39:01 3 1.20 0.00 0.47 0.58 0.02 97.73 11:39:01 4 0.55 0.00 0.43 0.03 0.03 98.95 11:39:01 5 3.35 0.00 0.57 0.02 0.03 96.03 11:39:01 6 1.98 0.00 0.35 0.62 0.02 97.04 11:39:01 7 2.62 0.00 0.38 0.33 0.02 96.65 Average: all 9.52 0.00 1.38 2.85 0.04 86.21 Average: 0 14.84 0.00 1.62 0.58 0.04 82.92 Average: 1 7.29 0.00 1.56 0.57 0.04 90.55 Average: 2 8.52 0.00 1.35 12.89 0.05 77.19 Average: 3 7.40 0.00 1.33 1.34 0.03 89.90 Average: 4 7.52 0.00 1.33 1.39 0.05 89.70 Average: 5 10.37 0.00 1.38 2.83 0.04 85.38 Average: 6 8.71 0.00 1.15 0.60 0.03 89.51 Average: 7 11.54 0.00 1.29 2.61 0.05 84.51