Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-696 (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-4QI52wB1S0pt/agent.2091 SSH_AGENT_PID=2093 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_5870422117603363519.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_5870422117603363519.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/jenkins5820035196848479157.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-MVgP 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-MVgP/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-MVgP/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.29.2 botocore==1.32.2 bs4==0.0.1 cachetools==5.3.2 certifi==2023.7.22 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.31 idna==3.4 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.3.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==3.11.0 prettytable==3.9.0 pyasn1==0.5.0 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.2.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.0 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.7.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.24.6 wcwidth==0.2.10 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/jenkins1979371270073317548.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/jenkins11406600910854779385.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.HOwDHmLPzg ++ echo ROBOT_VENV=/tmp/tmp.HOwDHmLPzg +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.HOwDHmLPzg ++ source /tmp/tmp.HOwDHmLPzg/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.HOwDHmLPzg +++ 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.HOwDHmLPzg/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.HOwDHmLPzg) ' '!=' x ']' +++ PS1='(tmp.HOwDHmLPzg) ' +++ 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.7.22 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.4 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.HOwDHmLPzg/src/onap ++ rm -rf /tmp/tmp.HOwDHmLPzg/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.7.22 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.4 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 ++ grep -q Linux ++ uname ++ 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.HOwDHmLPzg/bin/activate + '[' -z /tmp/tmp.HOwDHmLPzg/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.HOwDHmLPzg/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.HOwDHmLPzg ++ 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.HOwDHmLPzg/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.HOwDHmLPzg) ' ++ '[' 'x(tmp.HOwDHmLPzg) ' '!=' x ']' ++ PS1='(tmp.HOwDHmLPzg) (tmp.HOwDHmLPzg) ' ++ 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.pkaz9fFSqi + cd /tmp/tmp.pkaz9fFSqi + 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:be0359383ed7d8436c53760cf8ff3671043ee3e0169f363ef33ecb329102fe4c Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-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 grafana Up 10 seconds policy-api Up 12 seconds prometheus Up 11 seconds mariadb Up 14 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds prometheus Up 16 seconds mariadb Up 19 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds prometheus Up 21 seconds mariadb Up 24 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 28 seconds prometheus Up 26 seconds mariadb Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-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:46 up 4 min, 0 users, load average: 2.47, 1.02, 0.40 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.1 us, 1.9 sy, 0.0 ni, 83.2 id, 4.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.9G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 28 seconds prometheus Up 27 seconds mariadb Up 30 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS b27e5dfac91f grafana 0.02% 95.61MiB / 31.41GiB 0.30% 18.4kB / 3.16kB 0B / 23.4MB 18 dbf385d8bb0f policy-api 0.10% 879.7MiB / 31.41GiB 2.73% 1.04MB / 739kB 0B / 0B 50 107383cacd8b prometheus 0.00% 18.68MiB / 31.41GiB 0.06% 990B / 158B 0B / 0B 13 9e1f84292368 mariadb 0.01% 100.6MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 65MB 29 + echo + cd /tmp/tmp.pkaz9fFSqi + 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.pkaz9fFSqi/output.xml Log: /tmp/tmp.pkaz9fFSqi/log.html Report: /tmp/tmp.pkaz9fFSqi/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 grafana Up About a minute policy-api Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:38:56 up 5 min, 0 users, load average: 0.91, 0.86, 0.39 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.7 us, 1.6 sy, 0.0 ni, 85.9 id, 3.8 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS b27e5dfac91f grafana 0.15% 95.72MiB / 31.41GiB 0.30% 19.5kB / 4.39kB 0B / 23.4MB 18 dbf385d8bb0f policy-api 0.13% 902.3MiB / 31.41GiB 2.81% 7.32MB / 2.87MB 0B / 0B 55 107383cacd8b prometheus 0.00% 24.51MiB / 31.41GiB 0.08% 37.6kB / 7.09kB 0B / 0B 13 9e1f84292368 mariadb 0.02% 101.4MiB / 31.41GiB 0.32% 2.75MB / 7.35MB 11MB / 65.2MB 18 + 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 grafana, policy-api, policy-db-migrator, prometheus, mariadb grafana | logger=settings t=2023-11-17T11:37:20.706679215Z level=info msg="Starting Grafana" version=10.2.1 commit=533a733e4eda44041e43358c5a51203e9b42c9ea branch=HEAD compiled=2023-11-14T09:57:11Z grafana | logger=settings t=2023-11-17T11:37:20.707053805Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-17T11:37:20.707092606Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-17T11:37:20.707139417Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-17T11:37:20.70721027Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-17T11:37:20.707257351Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-17T11:37:20.707316293Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-17T11:37:20.707384585Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-17T11:37:20.707458367Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-17T11:37:20.707491617Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-17T11:37:20.7075882Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-17T11:37:20.707636861Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-17T11:37:20.707715903Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-17T11:37:20.707789005Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-17T11:37:20.707839967Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-17T11:37:20.707915419Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-17T11:37:20.707987501Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-17T11:37:20.708035492Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-17T11:37:20.708110054Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-17T11:37:20.708506974Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-17T11:37:20.708600097Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-17T11:37:20.709324177Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-17T11:37:20.710257743Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-17T11:37:20.711081094Z level=info msg="Migration successfully executed" id="create migration_log table" duration=823.021µs grafana | logger=migrator t=2023-11-17T11:37:20.793117214Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-17T11:37:20.794598405Z level=info msg="Migration successfully executed" id="create user table" duration=1.48128ms grafana | logger=migrator t=2023-11-17T11:37:20.800212887Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-17T11:37:20.801526633Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.309936ms grafana | logger=migrator t=2023-11-17T11:37:20.807562937Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-17T11:37:20.808894383Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.333116ms grafana | logger=migrator t=2023-11-17T11:37:20.816808858Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-17T11:37:20.817931239Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.124961ms grafana | logger=migrator t=2023-11-17T11:37:20.823241383Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-17T11:37:20.824330692Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.086769ms grafana | logger=migrator t=2023-11-17T11:37:20.827504288Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-17T11:37:20.830220912Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.716074ms grafana | logger=migrator t=2023-11-17T11:37:20.834497338Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-17T11:37:20.835173567Z level=info msg="Migration successfully executed" id="create user table v2" duration=676.609µs grafana | logger=migrator t=2023-11-17T11:37:20.838534688Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-17T11:37:20.839218357Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=683.659µs grafana | logger=migrator t=2023-11-17T11:37:20.885197767Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-17T11:37:20.886627336Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.429229ms grafana | logger=migrator t=2023-11-17T11:37:20.893284996Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-17T11:37:20.893713359Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=429.273µs grafana | logger=migrator t=2023-11-17T11:37:20.899063704Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-17T11:37:20.899514756Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=450.842µs grafana | logger=migrator t=2023-11-17T11:37:20.928475154Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-17T11:37:20.931044152Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=2.568019ms grafana | logger=migrator t=2023-11-17T11:37:20.935529195Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-17T11:37:20.935591117Z level=info msg="Migration successfully executed" id="Update user table charset" duration=63.722µs grafana | logger=migrator t=2023-11-17T11:37:20.944094198Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-17T11:37:20.945238439Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.144071ms grafana | logger=migrator t=2023-11-17T11:37:20.948802485Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-17T11:37:20.949050662Z level=info msg="Migration successfully executed" id="Add missing user data" duration=251.457µs grafana | logger=migrator t=2023-11-17T11:37:20.952495726Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-11-17T11:37:20.953985137Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.48821ms grafana | logger=migrator t=2023-11-17T11:37:20.957666276Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-17T11:37:20.959308871Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.642115ms grafana | logger=migrator t=2023-11-17T11:37:20.96552583Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-17T11:37:20.966961669Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.437949ms grafana | logger=migrator t=2023-11-17T11:37:20.970278569Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-17T11:37:20.982011978Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=11.728929ms grafana | logger=migrator t=2023-11-17T11:37:20.985354509Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-17T11:37:20.986068699Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=712.52µs grafana | logger=migrator t=2023-11-17T11:37:20.990467418Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-17T11:37:20.991063174Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=595.856µs grafana | logger=migrator t=2023-11-17T11:37:20.994247801Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-17T11:37:20.995058183Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=810.331µs grafana | logger=migrator t=2023-11-17T11:37:21.000536852Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-17T11:37:21.001517428Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=980.807µs grafana | logger=migrator t=2023-11-17T11:37:21.006309888Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-17T11:37:21.008019865Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.711206ms grafana | logger=migrator t=2023-11-17T11:37:21.011825868Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-17T11:37:21.011862409Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=39.701µs grafana | logger=migrator t=2023-11-17T11:37:21.015382155Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-17T11:37:21.016385272Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.003877ms grafana | logger=migrator t=2023-11-17T11:37:21.022040286Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-17T11:37:21.022964171Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=926.636µs grafana | logger=migrator t=2023-11-17T11:37:21.026081186Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-17T11:37:21.027201496Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.119721ms grafana | logger=migrator t=2023-11-17T11:37:21.032176052Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-17T11:37:21.033771125Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.596973ms grafana | logger=migrator t=2023-11-17T11:37:21.040802016Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-17T11:37:21.044820535Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.016859ms grafana | logger=migrator t=2023-11-17T11:37:21.048002012Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-17T11:37:21.04904686Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.040688ms grafana | logger=migrator t=2023-11-17T11:37:21.052096253Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-17T11:37:21.053016207Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=919.304µs grafana | logger=migrator t=2023-11-17T11:37:21.0983357Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-17T11:37:21.100279212Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.946103ms grafana | logger=migrator t=2023-11-17T11:37:21.106146401Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-17T11:37:21.107081537Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=935.766µs grafana | logger=migrator t=2023-11-17T11:37:21.110041957Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-17T11:37:21.111014974Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=973.347µs grafana | logger=migrator t=2023-11-17T11:37:21.114755596Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-17T11:37:21.115633329Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=880.403µs grafana | logger=migrator t=2023-11-17T11:37:21.12081324Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-17T11:37:21.121934521Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=1.120261ms grafana | logger=migrator t=2023-11-17T11:37:21.125672062Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-17T11:37:21.126205927Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=533.505µs grafana | logger=migrator t=2023-11-17T11:37:21.130986327Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-17T11:37:21.132115748Z level=info msg="Migration successfully executed" id="create star table" duration=1.169031ms grafana | logger=migrator t=2023-11-17T11:37:21.138060999Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-17T11:37:21.138951704Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=888.244µs grafana | logger=migrator t=2023-11-17T11:37:21.14214648Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-11-17T11:37:21.142918011Z level=info msg="Migration successfully executed" id="create org table v1" duration=771.071µs grafana | logger=migrator t=2023-11-17T11:37:21.147214018Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-11-17T11:37:21.14805573Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=841.592µs grafana | logger=migrator t=2023-11-17T11:37:21.151915576Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-11-17T11:37:21.152869062Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=954.607µs grafana | logger=migrator t=2023-11-17T11:37:21.157703793Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-11-17T11:37:21.159630466Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.928763ms grafana | logger=migrator t=2023-11-17T11:37:21.166267165Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-11-17T11:37:21.167121959Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=854.264µs grafana | logger=migrator t=2023-11-17T11:37:21.172365222Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-11-17T11:37:21.173319137Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=953.715µs grafana | logger=migrator t=2023-11-17T11:37:21.178078907Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-11-17T11:37:21.178116978Z level=info msg="Migration successfully executed" id="Update org table charset" duration=40.411µs grafana | logger=migrator t=2023-11-17T11:37:21.185021766Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-11-17T11:37:21.185113208Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=93.322µs grafana | logger=migrator t=2023-11-17T11:37:21.192717804Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-11-17T11:37:21.193048403Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=361.43µs grafana | logger=migrator t=2023-11-17T11:37:21.199827628Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-11-17T11:37:21.201242736Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.419119ms grafana | logger=migrator t=2023-11-17T11:37:21.207030773Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-11-17T11:37:21.207840286Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=809.442µs grafana | logger=migrator t=2023-11-17T11:37:21.214737303Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-11-17T11:37:21.216519661Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.781918ms grafana | logger=migrator t=2023-11-17T11:37:21.221832566Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-11-17T11:37:21.222547716Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=711.97µs grafana | logger=migrator t=2023-11-17T11:37:21.23007573Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-11-17T11:37:21.231320694Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.242864ms grafana | logger=migrator t=2023-11-17T11:37:21.239190797Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-11-17T11:37:21.240049351Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=859.954µs grafana | logger=migrator t=2023-11-17T11:37:21.247300328Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-11-17T11:37:21.255291535Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.990677ms grafana | logger=migrator t=2023-11-17T11:37:21.263878439Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-11-17T11:37:21.264499956Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=667.159µs grafana | logger=migrator t=2023-11-17T11:37:21.270686384Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-11-17T11:37:21.272330848Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.643554ms grafana | logger=migrator t=2023-11-17T11:37:21.281205269Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-11-17T11:37:21.282187376Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=983.627µs grafana | logger=migrator t=2023-11-17T11:37:21.290849731Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-11-17T11:37:21.291682934Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=833.533µs grafana | logger=migrator t=2023-11-17T11:37:21.301555763Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-11-17T11:37:21.303970359Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=2.412905ms grafana | logger=migrator t=2023-11-17T11:37:21.310203357Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-11-17T11:37:21.310267449Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=64.932µs grafana | logger=migrator t=2023-11-17T11:37:21.317533666Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-11-17T11:37:21.321108854Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.572778ms grafana | logger=migrator t=2023-11-17T11:37:21.33051636Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-11-17T11:37:21.332690859Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.173778ms grafana | logger=migrator t=2023-11-17T11:37:21.34564829Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-11-17T11:37:21.348816227Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=3.171107ms grafana | logger=migrator t=2023-11-17T11:37:21.353201856Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-11-17T11:37:21.354001898Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=798.881µs grafana | logger=migrator t=2023-11-17T11:37:21.358176951Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-11-17T11:37:21.3599364Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.755688ms grafana | logger=migrator t=2023-11-17T11:37:21.366485477Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-11-17T11:37:21.367277959Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=792.372µs grafana | logger=migrator t=2023-11-17T11:37:21.377036364Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-11-17T11:37:21.3783575Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.322426ms grafana | logger=migrator t=2023-11-17T11:37:21.382747909Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-11-17T11:37:21.38278684Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=40.801µs grafana | logger=migrator t=2023-11-17T11:37:21.389220136Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-11-17T11:37:21.389244616Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=25.051µs grafana | logger=migrator t=2023-11-17T11:37:21.394321624Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-11-17T11:37:21.397285384Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.963561ms grafana | logger=migrator t=2023-11-17T11:37:21.406855944Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-11-17T11:37:21.409211619Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.355475ms grafana | logger=migrator t=2023-11-17T11:37:21.419424466Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-11-17T11:37:21.422903981Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.480205ms grafana | logger=migrator t=2023-11-17T11:37:21.434536617Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-11-17T11:37:21.436727167Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.19026ms grafana | logger=migrator t=2023-11-17T11:37:21.446479892Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-11-17T11:37:21.446875552Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=500.874µs grafana | logger=migrator t=2023-11-17T11:37:21.454832498Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-11-17T11:37:21.455801895Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=968.456µs grafana | logger=migrator t=2023-11-17T11:37:21.465070597Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-11-17T11:37:21.466143626Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.071179ms grafana | logger=migrator t=2023-11-17T11:37:21.475170101Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-11-17T11:37:21.475197012Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=28.091µs grafana | logger=migrator t=2023-11-17T11:37:21.488677009Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-11-17T11:37:21.490028015Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.350357ms grafana | logger=migrator t=2023-11-17T11:37:21.495819873Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-11-17T11:37:21.496898742Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.0788ms grafana | logger=migrator t=2023-11-17T11:37:21.505755363Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-17T11:37:21.514811708Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=9.051116ms grafana | logger=migrator t=2023-11-17T11:37:21.520458532Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-11-17T11:37:21.521134701Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=675.968µs grafana | logger=migrator t=2023-11-17T11:37:21.529147619Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-11-17T11:37:21.530540736Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.392998ms grafana | logger=migrator t=2023-11-17T11:37:21.537399752Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-11-17T11:37:21.538775599Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.377677ms grafana | logger=migrator t=2023-11-17T11:37:21.547725853Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-11-17T11:37:21.548196916Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=471.583µs grafana | logger=migrator t=2023-11-17T11:37:21.559296037Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-11-17T11:37:21.560132441Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=837.473µs grafana | logger=migrator t=2023-11-17T11:37:21.563929373Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-11-17T11:37:21.567508861Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.578248ms grafana | logger=migrator t=2023-11-17T11:37:21.576132185Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-11-17T11:37:21.57703837Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=903.535µs grafana | logger=migrator t=2023-11-17T11:37:21.585564372Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-11-17T11:37:21.585859979Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=293.618µs grafana | logger=migrator t=2023-11-17T11:37:21.593157828Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-11-17T11:37:21.593429855Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=272.878µs grafana | logger=migrator t=2023-11-17T11:37:21.596598782Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-11-17T11:37:21.597962289Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.363108ms grafana | logger=migrator t=2023-11-17T11:37:21.605634607Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-11-17T11:37:21.609170923Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.535816ms grafana | logger=migrator t=2023-11-17T11:37:21.61750189Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-11-17T11:37:21.618441375Z level=info msg="Migration successfully executed" id="create data_source table" duration=939.155µs grafana | logger=migrator t=2023-11-17T11:37:21.624091328Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-11-17T11:37:21.625339152Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.247414ms grafana | logger=migrator t=2023-11-17T11:37:21.632559088Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-11-17T11:37:21.634069749Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.509821ms grafana | logger=migrator t=2023-11-17T11:37:21.641675856Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-11-17T11:37:21.642811108Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.134691ms grafana | logger=migrator t=2023-11-17T11:37:21.650939559Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-11-17T11:37:21.65211124Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.171381ms grafana | logger=migrator t=2023-11-17T11:37:21.661149406Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-11-17T11:37:21.670384776Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=9.23619ms grafana | logger=migrator t=2023-11-17T11:37:21.677064838Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-11-17T11:37:21.677888671Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=823.783µs grafana | logger=migrator t=2023-11-17T11:37:21.687913793Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-11-17T11:37:21.689244299Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.329996ms grafana | logger=migrator t=2023-11-17T11:37:21.699097717Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-11-17T11:37:21.700392702Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.296595ms grafana | logger=migrator t=2023-11-17T11:37:21.706969971Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-11-17T11:37:21.707778373Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=808.152µs grafana | logger=migrator t=2023-11-17T11:37:21.71909288Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-11-17T11:37:21.722958196Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.866315ms grafana | logger=migrator t=2023-11-17T11:37:21.730543961Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-17T11:37:21.732919816Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.375465ms grafana | logger=migrator t=2023-11-17T11:37:21.738053286Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-11-17T11:37:21.738076517Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=25.061µs grafana | logger=migrator t=2023-11-17T11:37:21.747509772Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-11-17T11:37:21.74777738Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=267.798µs grafana | logger=migrator t=2023-11-17T11:37:21.761677208Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-11-17T11:37:21.76546301Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.787182ms grafana | logger=migrator t=2023-11-17T11:37:21.770387245Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-11-17T11:37:21.770559479Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=172.654µs grafana | logger=migrator t=2023-11-17T11:37:21.775529025Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-11-17T11:37:21.775773531Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=244.396µs grafana | logger=migrator t=2023-11-17T11:37:21.786386449Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-11-17T11:37:21.789785192Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.399253ms grafana | logger=migrator t=2023-11-17T11:37:21.834565219Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-11-17T11:37:21.834901558Z level=info msg="Migration successfully executed" id="Update uid value" duration=339.989µs grafana | logger=migrator t=2023-11-17T11:37:21.842631818Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-11-17T11:37:21.844209781Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.576064ms grafana | logger=migrator t=2023-11-17T11:37:21.849178986Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-11-17T11:37:21.850171853Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=995.127µs grafana | logger=migrator t=2023-11-17T11:37:21.856509925Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-11-17T11:37:21.857343648Z level=info msg="Migration successfully executed" id="create api_key table" duration=834.563µs grafana | logger=migrator t=2023-11-17T11:37:21.86626771Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-11-17T11:37:21.867554935Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.288695ms grafana | logger=migrator t=2023-11-17T11:37:21.873896668Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-11-17T11:37:21.875141222Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.243924ms grafana | logger=migrator t=2023-11-17T11:37:21.884785814Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-11-17T11:37:21.886710656Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.925612ms grafana | logger=migrator t=2023-11-17T11:37:21.893597813Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-11-17T11:37:21.894513738Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=920.584µs grafana | logger=migrator t=2023-11-17T11:37:21.902436633Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-11-17T11:37:21.903302427Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=867.224µs grafana | logger=migrator t=2023-11-17T11:37:21.91115925Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-11-17T11:37:21.912356583Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.198033ms grafana | logger=migrator t=2023-11-17T11:37:21.920158575Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-11-17T11:37:21.932797809Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=12.633473ms grafana | logger=migrator t=2023-11-17T11:37:21.943093628Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-11-17T11:37:21.944442045Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=1.351217ms grafana | logger=migrator t=2023-11-17T11:37:21.949996876Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-11-17T11:37:21.95087112Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=874.884µs grafana | logger=migrator t=2023-11-17T11:37:21.961832938Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-11-17T11:37:21.963319588Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.4895ms grafana | logger=migrator t=2023-11-17T11:37:21.969172337Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-11-17T11:37:21.970426011Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.253154ms grafana | logger=migrator t=2023-11-17T11:37:21.979899588Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-11-17T11:37:21.980495135Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=597.357µs grafana | logger=migrator t=2023-11-17T11:37:21.987870855Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-11-17T11:37:21.988864372Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=991.177µs grafana | logger=migrator t=2023-11-17T11:37:22.00055077Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-11-17T11:37:22.000739085Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=192.025µs grafana | logger=migrator t=2023-11-17T11:37:22.008092335Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-11-17T11:37:22.013895283Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=5.804948ms grafana | logger=migrator t=2023-11-17T11:37:22.021826398Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-11-17T11:37:22.026071253Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=4.248326ms grafana | logger=migrator t=2023-11-17T11:37:22.030448413Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-11-17T11:37:22.030610417Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=162.554µs grafana | logger=migrator t=2023-11-17T11:37:22.034970276Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-11-17T11:37:22.038419729Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.450674ms grafana | logger=migrator t=2023-11-17T11:37:22.041319808Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-11-17T11:37:22.043789545Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.470078ms grafana | logger=migrator t=2023-11-17T11:37:22.047244639Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-11-17T11:37:22.048360089Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=1.11547ms grafana | logger=migrator t=2023-11-17T11:37:22.053833188Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-11-17T11:37:22.054756143Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=923.185µs grafana | logger=migrator t=2023-11-17T11:37:22.058351781Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-11-17T11:37:22.05943693Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.087209ms grafana | logger=migrator t=2023-11-17T11:37:22.062977317Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-11-17T11:37:22.063739677Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=764.1µs grafana | logger=migrator t=2023-11-17T11:37:22.067947061Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-11-17T11:37:22.068712022Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=764.691µs grafana | logger=migrator t=2023-11-17T11:37:22.072593608Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-11-17T11:37:22.07374625Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.153031ms grafana | logger=migrator t=2023-11-17T11:37:22.077310076Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-11-17T11:37:22.077374168Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=64.662µs grafana | logger=migrator t=2023-11-17T11:37:22.081626143Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-11-17T11:37:22.081663384Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=38.551µs grafana | logger=migrator t=2023-11-17T11:37:22.084736158Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-11-17T11:37:22.089141067Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.40334ms grafana | logger=migrator t=2023-11-17T11:37:22.092631142Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-11-17T11:37:22.095208683Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.577351ms grafana | logger=migrator t=2023-11-17T11:37:22.098189274Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-11-17T11:37:22.098251845Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=62.962µs grafana | logger=migrator t=2023-11-17T11:37:22.102689126Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-11-17T11:37:22.103309833Z level=info msg="Migration successfully executed" id="create quota table v1" duration=620.277µs grafana | logger=migrator t=2023-11-17T11:37:22.106658634Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-11-17T11:37:22.107449026Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=788.761µs grafana | logger=migrator t=2023-11-17T11:37:22.111140675Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-11-17T11:37:22.111178946Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=39.591µs grafana | logger=migrator t=2023-11-17T11:37:22.115442932Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-11-17T11:37:22.116515822Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.072339ms grafana | logger=migrator t=2023-11-17T11:37:22.120146011Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-11-17T11:37:22.121782135Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.637845ms grafana | logger=migrator t=2023-11-17T11:37:22.125419223Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-11-17T11:37:22.128145007Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.725854ms grafana | logger=migrator t=2023-11-17T11:37:22.13153099Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-11-17T11:37:22.13155409Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=24µs grafana | logger=migrator t=2023-11-17T11:37:22.135921709Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-11-17T11:37:22.136657229Z level=info msg="Migration successfully executed" id="create session table" duration=735.239µs grafana | logger=migrator t=2023-11-17T11:37:22.139741123Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-11-17T11:37:22.139821105Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=80.582µs grafana | logger=migrator t=2023-11-17T11:37:22.142872078Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-11-17T11:37:22.142992081Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=120.783µs grafana | logger=migrator t=2023-11-17T11:37:22.147100853Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-11-17T11:37:22.14806818Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=966.656µs grafana | logger=migrator t=2023-11-17T11:37:22.151140903Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-11-17T11:37:22.151763949Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=623.206µs grafana | logger=migrator t=2023-11-17T11:37:22.154770271Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-11-17T11:37:22.154793501Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=26.49µs grafana | logger=migrator t=2023-11-17T11:37:22.158834141Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-11-17T11:37:22.158870702Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=37.861µs grafana | logger=migrator t=2023-11-17T11:37:22.162567733Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-11-17T11:37:22.167144637Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.577604ms grafana | logger=migrator t=2023-11-17T11:37:22.17090426Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-11-17T11:37:22.173920402Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.018042ms grafana | logger=migrator t=2023-11-17T11:37:22.177807688Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-11-17T11:37:22.17788943Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=83.103µs grafana | logger=migrator t=2023-11-17T11:37:22.182166426Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-11-17T11:37:22.182240748Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=74.822µs grafana | logger=migrator t=2023-11-17T11:37:22.184957802Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-11-17T11:37:22.186195806Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.235073ms grafana | logger=migrator t=2023-11-17T11:37:22.19150364Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-11-17T11:37:22.191540851Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=38.651µs grafana | logger=migrator t=2023-11-17T11:37:22.194955913Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-11-17T11:37:22.199792825Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.836022ms grafana | logger=migrator t=2023-11-17T11:37:22.205211782Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-11-17T11:37:22.205401158Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=189.106µs grafana | logger=migrator t=2023-11-17T11:37:22.208729158Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-11-17T11:37:22.213484547Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.755799ms grafana | logger=migrator t=2023-11-17T11:37:22.217481875Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-11-17T11:37:22.220971101Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.490136ms grafana | logger=migrator t=2023-11-17T11:37:22.230464508Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-11-17T11:37:22.23053742Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=71.012µs grafana | logger=migrator t=2023-11-17T11:37:22.245509577Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-11-17T11:37:22.247000678Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.490761ms grafana | logger=migrator t=2023-11-17T11:37:22.255604461Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-11-17T11:37:22.256949098Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.344657ms grafana | logger=migrator t=2023-11-17T11:37:22.268433701Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-11-17T11:37:22.270052245Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.618574ms grafana | logger=migrator t=2023-11-17T11:37:22.28093743Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-11-17T11:37:22.281920097Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=981.697µs grafana | logger=migrator t=2023-11-17T11:37:22.291055035Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-11-17T11:37:22.292284959Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.227024ms grafana | logger=migrator t=2023-11-17T11:37:22.300821881Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-11-17T11:37:22.302150067Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.327366ms grafana | logger=migrator t=2023-11-17T11:37:22.311884352Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-11-17T11:37:22.312856707Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=972.325µs grafana | logger=migrator t=2023-11-17T11:37:22.351701233Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-11-17T11:37:22.353148893Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.44748ms grafana | logger=migrator t=2023-11-17T11:37:22.359774733Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-11-17T11:37:22.360562944Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=788.381µs grafana | logger=migrator t=2023-11-17T11:37:22.366011702Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-11-17T11:37:22.380414614Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.404162ms grafana | logger=migrator t=2023-11-17T11:37:22.38506669Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-11-17T11:37:22.385557763Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=492.243µs grafana | logger=migrator t=2023-11-17T11:37:22.390139528Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2023-11-17T11:37:22.391065233Z 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=925.195µs grafana | logger=migrator t=2023-11-17T11:37:22.395625427Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-11-17T11:37:22.396052699Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=427.352µs grafana | logger=migrator t=2023-11-17T11:37:22.400663794Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-11-17T11:37:22.401523318Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=858.574µs grafana | logger=migrator t=2023-11-17T11:37:22.407302245Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-11-17T11:37:22.40857826Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.279064ms grafana | logger=migrator t=2023-11-17T11:37:22.413426661Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-11-17T11:37:22.418756196Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.330075ms grafana | logger=migrator t=2023-11-17T11:37:22.421558692Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-11-17T11:37:22.424934873Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.375521ms grafana | logger=migrator t=2023-11-17T11:37:22.428374217Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-11-17T11:37:22.431754629Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.379762ms grafana | logger=migrator t=2023-11-17T11:37:22.436955231Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-11-17T11:37:22.442719817Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=5.766167ms grafana | logger=migrator t=2023-11-17T11:37:22.446384187Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-11-17T11:37:22.447209559Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=825.492µs grafana | logger=migrator t=2023-11-17T11:37:22.451332811Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-11-17T11:37:22.451353942Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=21.621µs grafana | logger=migrator t=2023-11-17T11:37:22.457816438Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-11-17T11:37:22.457836848Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=20.89µs grafana | logger=migrator t=2023-11-17T11:37:22.460109109Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-11-17T11:37:22.461146958Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.037399ms grafana | logger=migrator t=2023-11-17T11:37:22.528149189Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-17T11:37:22.528825358Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=675.729µs grafana | logger=migrator t=2023-11-17T11:37:22.574617902Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-11-17T11:37:22.575841325Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.222454ms grafana | logger=migrator t=2023-11-17T11:37:22.581456088Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-11-17T11:37:22.58226918Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=813.142µs grafana | logger=migrator t=2023-11-17T11:37:22.587340477Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-17T11:37:22.588865299Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.518371ms grafana | logger=migrator t=2023-11-17T11:37:22.596392824Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-11-17T11:37:22.602613863Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.217488ms grafana | logger=migrator t=2023-11-17T11:37:22.606829807Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-11-17T11:37:22.609659244Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=2.828347ms grafana | logger=migrator t=2023-11-17T11:37:22.613596861Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-11-17T11:37:22.613828717Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=233.516µs grafana | logger=migrator t=2023-11-17T11:37:22.621872396Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-11-17T11:37:22.623076849Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.207873ms grafana | logger=migrator t=2023-11-17T11:37:22.628458485Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-11-17T11:37:22.62936724Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=908.584µs grafana | logger=migrator t=2023-11-17T11:37:22.632480265Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-11-17T11:37:22.636989617Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.499652ms grafana | logger=migrator t=2023-11-17T11:37:22.642174917Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-11-17T11:37:22.642264131Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=91.324µs grafana | logger=migrator t=2023-11-17T11:37:22.644629444Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-11-17T11:37:22.645581701Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=952.017µs grafana | logger=migrator t=2023-11-17T11:37:22.648953652Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-11-17T11:37:22.64996985Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.019058ms grafana | logger=migrator t=2023-11-17T11:37:22.657536545Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-11-17T11:37:22.657659479Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=125.594µs grafana | logger=migrator t=2023-11-17T11:37:22.664027072Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-11-17T11:37:22.665382359Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.359137ms grafana | logger=migrator t=2023-11-17T11:37:22.669669735Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-11-17T11:37:22.671051173Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.376967ms grafana | logger=migrator t=2023-11-17T11:37:22.676935612Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-11-17T11:37:22.6779436Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.006318ms grafana | logger=migrator t=2023-11-17T11:37:22.681414485Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-11-17T11:37:22.682412501Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=998.616µs grafana | logger=migrator t=2023-11-17T11:37:22.68972788Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-11-17T11:37:22.691765816Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=2.037796ms grafana | logger=migrator t=2023-11-17T11:37:22.697909962Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-11-17T11:37:22.699590908Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.680436ms grafana | logger=migrator t=2023-11-17T11:37:22.704349148Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-11-17T11:37:22.704472811Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=100.112µs grafana | logger=migrator t=2023-11-17T11:37:22.708046479Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-11-17T11:37:22.712234042Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.186953ms grafana | logger=migrator t=2023-11-17T11:37:22.717937307Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-11-17T11:37:22.718894493Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=957.106µs grafana | logger=migrator t=2023-11-17T11:37:22.727426115Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-11-17T11:37:22.734273301Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.846597ms grafana | logger=migrator t=2023-11-17T11:37:22.740965943Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-11-17T11:37:22.741706563Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=737.99µs grafana | logger=migrator t=2023-11-17T11:37:22.746803141Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-11-17T11:37:22.74859918Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.795219ms grafana | logger=migrator t=2023-11-17T11:37:22.757104062Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-11-17T11:37:22.75815989Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.056338ms grafana | logger=migrator t=2023-11-17T11:37:22.76515569Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-11-17T11:37:22.783485488Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=18.334558ms grafana | logger=migrator t=2023-11-17T11:37:22.787706493Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-11-17T11:37:22.788233838Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=527.165µs grafana | logger=migrator t=2023-11-17T11:37:22.792100843Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2023-11-17T11:37:22.793043658Z 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=943.015µs grafana | logger=migrator t=2023-11-17T11:37:22.796583585Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-11-17T11:37:22.796961085Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=376.29µs grafana | logger=migrator t=2023-11-17T11:37:22.800284815Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-11-17T11:37:22.800911762Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=625.947µs grafana | logger=migrator t=2023-11-17T11:37:22.806390031Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-11-17T11:37:22.806668369Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=277.197µs grafana | logger=migrator t=2023-11-17T11:37:22.809838974Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-11-17T11:37:22.816413683Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.573939ms grafana | logger=migrator t=2023-11-17T11:37:22.819642421Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-11-17T11:37:22.824843203Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=5.200361ms grafana | logger=migrator t=2023-11-17T11:37:22.829334394Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-11-17T11:37:22.830347412Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.012498ms grafana | logger=migrator t=2023-11-17T11:37:22.833336763Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-11-17T11:37:22.834329011Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=991.998µs grafana | logger=migrator t=2023-11-17T11:37:22.842323447Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-11-17T11:37:22.842834402Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=510.405µs grafana | logger=migrator t=2023-11-17T11:37:22.965819554Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-11-17T11:37:22.972025603Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.209418ms grafana | logger=migrator t=2023-11-17T11:37:22.977329427Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-11-17T11:37:22.978338285Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.008778ms grafana | logger=migrator t=2023-11-17T11:37:22.981387897Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-11-17T11:37:22.981712906Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=327.859µs mariadb | 2023-11-17 11:37:16+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-17 11:37:16+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-17 11:37:16+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-17 11:37:16+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-17 11:37:16 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-17 11:37:16 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-17 11:37:16 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-17 11:37:17+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-17 11:37:17+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-17 11:37:17+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-17 11:37:18 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 100 ... mariadb | 2023-11-17 11:37:18 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-17 11:37:18 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-17 11:37:18 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-17 11:37:18 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-17 11:37:18 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-17 11:37:18 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-17 11:37:18 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-17 11:37:18 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-17 11:37:18 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-17 11:37:18 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-17 11:37:18 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-17 11:37:18 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-17 11:37:18 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-17 11:37:18 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-17 11:37:18 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-17 11:37:18 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-17 11:37:18 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-17 11:37:18 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-17 11:37:19+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-17 11:37:20+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-17 11:37:20+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-11-17 11:37:20+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-11-17 11:37:20+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2023-11-17T11:37:30.267+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-17T11:37:30.270+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-17T11:37:31.717+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-17T11:37:31.809+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 79 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-17T11:37:32.978+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-17T11:37:32.995+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-17T11:37:32.996+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-17T11:37:32.996+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-11-17T11:37:33.090+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-17T11:37:33.091+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2751 ms policy-api | [2023-11-17T11:37:33.728+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-17T11:37:33.813+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-11-17T11:37:34.086+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-11-17T11:37:34.228+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-17T11:37:34.354+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-17T11:37:34.378+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-11-17T11:37:35.947+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-11-17T11:37:35.963+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-17T11:37:37.221+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-11-17T11:37:37.958+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-11-17T11:37:39.085+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@2763500e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2416378c, org.springframework.security.web.context.SecurityContextPersistenceFilter@2ce5ea69, org.springframework.security.web.header.HeaderWriterFilter@5d63d553, org.springframework.security.web.authentication.logout.LogoutFilter@304d6881, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@37dcda42, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@41737438, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2acacdf, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@3c7b040f, org.springframework.security.web.session.SessionManagementFilter@33f17d3d, org.springframework.security.web.access.ExceptionTranslationFilter@376a34fb, org.springframework.security.web.access.intercept.AuthorizationFilter@623dac3] policy-api | [2023-11-17T11:37:39.230+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2023-11-17T11:37:41.659+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-11-17T11:37:41.690+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-17T11:37:41.729+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-11-17T11:37:41.746+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.344 seconds (JVM running for 12.943) policy-api | [2023-11-17T11:37:48.956+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-3] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-11-17T11:37:48.956+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Initializing Servlet 'dispatcherServlet' policy-api | [2023-11-17T11:37:48.957+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Completed initialization in 1 ms policy-api | [2023-11-17T11:37:51.446+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-11-17T11:37:51.563+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2023-11-17T11:37:51.838+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes policy-api | [2023-11-17T11:37:52.937+00:00|WARN|CommonRestController|http-nio-6969-exec-8] POST /policies policy-api | [2023-11-17T11:37:54.805+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-11-17T11:37:55.188+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-11-17T11:37:55.418+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-11-17T11:37:55.659+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-11-17T11:37:55.884+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-11-17T11:37:56.120+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 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-17 11:37:21 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-11-17 11:37:21 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-11-17 11:37:21+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-11-17 11:37:22 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-11-17 11:37:22 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-17 11:37:22 0 [Note] InnoDB: Buffer pool(s) dump completed at 231117 11:37:22 mariadb | 2023-11-17 11:37:22 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-11-17 11:37:22 0 [Note] InnoDB: Shutdown completed; log sequence number 327895; transaction id 298 mariadb | 2023-11-17 11:37:22 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-11-17 11:37:22+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-11-17 11:37:22+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-11-17 11:37:22 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-11-17 11:37:22 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-17 11:37:22 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-17 11:37:22 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-17 11:37:22 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-17 11:37:22 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-17 11:37:22 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-17 11:37:22 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-17 11:37:22 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-17 11:37:22 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-17 11:37:22 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-17 11:37:22 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-17 11:37:22 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-17 11:37:22 0 [Note] InnoDB: log sequence number 327895; transaction id 299 mariadb | 2023-11-17 11:37:22 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-17 11:37:22 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-17 11:37:22 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-17 11:37:22 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-11-17 11:37:22 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-11-17 11:37:22 0 [Note] Server socket created on IP: '::'. mariadb | 2023-11-17 11:37:22 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-17 11:37:22 0 [Note] InnoDB: Buffer pool(s) load completed at 231117 11:37:22 mariadb | 2023-11-17 11:37:22 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2023-11-17 11:37:22 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) grafana | logger=migrator t=2023-11-17T11:37:22.985076847Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-11-17T11:37:22.98553407Z level=info msg="Migration successfully executed" id="Move region to single row" duration=456.663µs grafana | logger=migrator t=2023-11-17T11:37:22.989975881Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-11-17T11:37:22.991463601Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.491801ms grafana | logger=migrator t=2023-11-17T11:37:22.999258243Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-11-17T11:37:23.000355792Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.097689ms grafana | logger=migrator t=2023-11-17T11:37:23.005445331Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-17T11:37:23.006943742Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.49419ms grafana | logger=migrator t=2023-11-17T11:37:23.01055889Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-17T11:37:23.011481885Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=920.125µs grafana | logger=migrator t=2023-11-17T11:37:23.01646006Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-11-17T11:37:23.017314373Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=856.043µs grafana | logger=migrator t=2023-11-17T11:37:23.020451139Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-11-17T11:37:23.021338633Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=887.343µs grafana | logger=migrator t=2023-11-17T11:37:23.024829318Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-11-17T11:37:23.024930991Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=101.443µs grafana | logger=migrator t=2023-11-17T11:37:23.030678327Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-11-17T11:37:23.031971122Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.291855ms grafana | logger=migrator t=2023-11-17T11:37:23.035801756Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-11-17T11:37:23.037099102Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.296566ms grafana | logger=migrator t=2023-11-17T11:37:23.042009395Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-11-17T11:37:23.043409453Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.399819ms grafana | logger=migrator t=2023-11-17T11:37:23.048264145Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-11-17T11:37:23.049236601Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=972.376µs grafana | logger=migrator t=2023-11-17T11:37:23.054097793Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-11-17T11:37:23.054521245Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=422.502µs grafana | logger=migrator t=2023-11-17T11:37:23.057874935Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-11-17T11:37:23.058522654Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=647.008µs grafana | logger=migrator t=2023-11-17T11:37:23.062697317Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-11-17T11:37:23.062759219Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=62.722µs grafana | logger=migrator t=2023-11-17T11:37:23.067576099Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-11-17T11:37:23.06831913Z level=info msg="Migration successfully executed" id="create team table" duration=742.351µs grafana | logger=migrator t=2023-11-17T11:37:23.07203927Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-11-17T11:37:23.073612544Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.573194ms 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-17T11:37:23.077586931Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-11-17T11:37:23.078937088Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.350797ms grafana | logger=migrator t=2023-11-17T11:37:23.083594705Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-11-17T11:37:23.0882194Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.624095ms grafana | logger=migrator t=2023-11-17T11:37:23.091266103Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-11-17T11:37:23.091500119Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=233.566µs grafana | logger=migrator t=2023-11-17T11:37:23.09445093Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-11-17T11:37:23.095394645Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=943.276µs grafana | logger=migrator t=2023-11-17T11:37:23.100556946Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-11-17T11:37:23.101314886Z level=info msg="Migration successfully executed" id="create team member table" duration=757.56µs grafana | logger=migrator t=2023-11-17T11:37:23.104710779Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-11-17T11:37:23.105663105Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=953.606µs grafana | logger=migrator t=2023-11-17T11:37:23.108982445Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-11-17T11:37:23.109968452Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=985.677µs grafana | logger=migrator t=2023-11-17T11:37:23.115717668Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-11-17T11:37:23.116661793Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=943.805µs grafana | logger=migrator t=2023-11-17T11:37:23.120383965Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-11-17T11:37:23.127648542Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.263707ms grafana | logger=migrator t=2023-11-17T11:37:23.131208039Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-11-17T11:37:23.134478588Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.270039ms grafana | logger=migrator t=2023-11-17T11:37:23.139195155Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-11-17T11:37:23.147259265Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=8.06028ms grafana | logger=migrator t=2023-11-17T11:37:23.150793171Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-11-17T11:37:23.151418908Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=624.977µs grafana | logger=migrator t=2023-11-17T11:37:23.15515896Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-11-17T11:37:23.155862109Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=701.818µs grafana | logger=migrator t=2023-11-17T11:37:23.161119732Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-11-17T11:37:23.162819668Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.696165ms grafana | logger=migrator t=2023-11-17T11:37:23.166469467Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-11-17T11:37:23.167386763Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=916.685µs grafana | logger=migrator t=2023-11-17T11:37:23.171971467Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-11-17T11:37:23.17284649Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=874.433µs grafana | logger=migrator t=2023-11-17T11:37:23.177003663Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-11-17T11:37:23.177866297Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=862.164µs grafana | logger=migrator t=2023-11-17T11:37:23.180986821Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-11-17T11:37:23.181872846Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=885.485µs grafana | logger=migrator t=2023-11-17T11:37:23.184894958Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-11-17T11:37:23.186334987Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.439209ms grafana | logger=migrator t=2023-11-17T11:37:23.191443846Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-11-17T11:37:23.191897288Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=453.272µs grafana | logger=migrator t=2023-11-17T11:37:23.195357923Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-11-17T11:37:23.195565488Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=204.935µs grafana | logger=migrator t=2023-11-17T11:37:23.200501812Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-11-17T11:37:23.201490989Z level=info msg="Migration successfully executed" id="create tag table" duration=988.907µs grafana | logger=migrator t=2023-11-17T11:37:23.207282956Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-11-17T11:37:23.208695205Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.411549ms grafana | logger=migrator t=2023-11-17T11:37:23.216400495Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-11-17T11:37:23.217446102Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.043787ms grafana | logger=migrator t=2023-11-17T11:37:23.222690805Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-11-17T11:37:23.224182886Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.49116ms grafana | logger=migrator t=2023-11-17T11:37:23.229628314Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-11-17T11:37:23.230557639Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=929.385µs 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-17T11:37:23.235353039Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-17T11:37:23.256411921Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=21.059782ms grafana | logger=migrator t=2023-11-17T11:37:23.260977005Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-11-17T11:37:23.26150965Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=531.255µs grafana | logger=migrator t=2023-11-17T11:37:23.387536766Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-11-17T11:37:23.389123489Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.586733ms grafana | logger=migrator t=2023-11-17T11:37:23.393302902Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-11-17T11:37:23.393927259Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=622.886µs grafana | logger=migrator t=2023-11-17T11:37:23.397444095Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-11-17T11:37:23.398123693Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=679.218µs grafana | logger=migrator t=2023-11-17T11:37:23.403136729Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-11-17T11:37:23.404058165Z level=info msg="Migration successfully executed" id="create user auth table" duration=920.606µs grafana | logger=migrator t=2023-11-17T11:37:23.409140072Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-11-17T11:37:23.410779937Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.642495ms grafana | logger=migrator t=2023-11-17T11:37:23.418479256Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-11-17T11:37:23.418542748Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=64.112µs grafana | logger=migrator t=2023-11-17T11:37:23.421839527Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-11-17T11:37:23.429750703Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.908966ms grafana | logger=migrator t=2023-11-17T11:37:23.432943989Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-11-17T11:37:23.436814945Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.870606ms grafana | logger=migrator t=2023-11-17T11:37:23.439540989Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-11-17T11:37:23.444891014Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.349385ms grafana | logger=migrator t=2023-11-17T11:37:23.450340843Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-11-17T11:37:23.455484442Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.14315ms grafana | logger=migrator t=2023-11-17T11:37:23.459660605Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-11-17T11:37:23.461394013Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.728848ms grafana | logger=migrator t=2023-11-17T11:37:23.466978825Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-11-17T11:37:23.472436072Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.461947ms grafana | logger=migrator t=2023-11-17T11:37:23.47857731Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-11-17T11:37:23.47934823Z level=info msg="Migration successfully executed" id="create server_lock table" duration=770.73µs grafana | logger=migrator t=2023-11-17T11:37:23.483792262Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-11-17T11:37:23.484813939Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.021667ms grafana | logger=migrator t=2023-11-17T11:37:23.488788377Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-11-17T11:37:23.489555378Z level=info msg="Migration successfully executed" id="create user auth token table" duration=766.581µs grafana | logger=migrator t=2023-11-17T11:37:23.494323998Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-11-17T11:37:23.495661484Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.336437ms grafana | logger=migrator t=2023-11-17T11:37:23.50066538Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-11-17T11:37:23.50212431Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.45841ms grafana | logger=migrator t=2023-11-17T11:37:23.505989844Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-11-17T11:37:23.50694337Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=953.586µs grafana | logger=migrator t=2023-11-17T11:37:23.510991591Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-11-17T11:37:23.519227855Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.234673ms grafana | logger=migrator t=2023-11-17T11:37:23.522884193Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-11-17T11:37:23.523584143Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=698.46µs grafana | logger=migrator t=2023-11-17T11:37:23.526954524Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-11-17T11:37:23.527572271Z level=info msg="Migration successfully executed" id="create cache_data table" duration=617.247µs grafana | logger=migrator t=2023-11-17T11:37:23.532854565Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-11-17T11:37:23.534717905Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.86265ms grafana | logger=migrator t=2023-11-17T11:37:23.538582781Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-11-17T11:37:23.539379602Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=796.741µs grafana | logger=migrator t=2023-11-17T11:37:23.544716067Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-11-17T11:37:23.545728735Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.012698ms grafana | logger=migrator t=2023-11-17T11:37:23.552048496Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2023-11-17T11:37:23.552111678Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=67.792µs grafana | logger=migrator t=2023-11-17T11:37:23.555335616Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-11-17T11:37:23.555516011Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=178.515µs grafana | logger=migrator t=2023-11-17T11:37:23.559676594Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-11-17T11:37:23.56136466Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.690726ms grafana | logger=migrator t=2023-11-17T11:37:23.5669092Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-17T11:37:23.567922258Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.013118ms grafana | logger=migrator t=2023-11-17T11:37:23.570831247Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-17T11:37:23.571820973Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=989.306µs grafana | logger=migrator t=2023-11-17T11:37:23.576003137Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-17T11:37:23.576103031Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=99.474µs grafana | logger=migrator t=2023-11-17T11:37:23.579426371Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-17T11:37:23.580390597Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=964.286µs grafana | logger=migrator t=2023-11-17T11:37:23.586958655Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-17T11:37:23.588565298Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.606383ms grafana | logger=migrator t=2023-11-17T11:37:23.592887996Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-17T11:37:23.594654145Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.765969ms grafana | logger=migrator t=2023-11-17T11:37:23.598541531Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-17T11:37:23.600098153Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.556173ms grafana | logger=migrator t=2023-11-17T11:37:23.612854739Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-11-17T11:37:23.620650721Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=7.796572ms grafana | logger=migrator t=2023-11-17T11:37:23.624558847Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-11-17T11:37:23.625484993Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=925.595µs grafana | logger=migrator t=2023-11-17T11:37:23.629281845Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-11-17T11:37:23.62942973Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=147.095µs grafana | logger=migrator t=2023-11-17T11:37:23.634812285Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-11-17T11:37:23.635958657Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.144402ms grafana | logger=migrator t=2023-11-17T11:37:23.640657295Z 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-17T11:37:23.64230573Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.648075ms grafana | logger=migrator t=2023-11-17T11:37:23.645942628Z 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-17T11:37:23.646969446Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.026288ms grafana | logger=migrator t=2023-11-17T11:37:23.652106146Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-17T11:37:23.652206629Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=100.353µs grafana | logger=migrator t=2023-11-17T11:37:23.657619466Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-11-17T11:37:23.659082256Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.46187ms grafana | logger=migrator t=2023-11-17T11:37:23.663736682Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-11-17T11:37:23.664621856Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=884.484µs grafana | logger=migrator t=2023-11-17T11:37:23.668388928Z 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-17T11:37:23.669943831Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.553103ms grafana | logger=migrator t=2023-11-17T11:37:23.673701633Z 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-17T11:37:23.675367678Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.668696ms grafana | logger=migrator t=2023-11-17T11:37:23.679733477Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-11-17T11:37:23.685564335Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.830568ms grafana | logger=migrator t=2023-11-17T11:37:23.688936527Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-17T11:37:23.689921164Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=984.587µs grafana | logger=migrator t=2023-11-17T11:37:23.693128921Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-17T11:37:23.69421897Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.090449ms grafana | logger=migrator t=2023-11-17T11:37:23.698697292Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-11-17T11:37:23.733757015Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=35.053533ms grafana | logger=migrator t=2023-11-17T11:37:23.736947891Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-11-17T11:37:23.772890568Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=35.938917ms grafana | logger=migrator t=2023-11-17T11:37:23.777656648Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-17T11:37:23.778741967Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.085229ms grafana | logger=migrator t=2023-11-17T11:37:23.788137923Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-17T11:37:23.790129107Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.990514ms grafana | logger=migrator t=2023-11-17T11:37:23.793760796Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-11-17T11:37:23.801133996Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=7.37327ms grafana | logger=migrator t=2023-11-17T11:37:23.80459408Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-11-17T11:37:23.805299069Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=704.649µs grafana | logger=migrator t=2023-11-17T11:37:23.810877041Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-11-17T11:37:23.811971011Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.09356ms grafana | logger=migrator t=2023-11-17T11:37:23.815353092Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-11-17T11:37:23.817124661Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.770639ms grafana | logger=migrator t=2023-11-17T11:37:23.82483015Z 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-17T11:37:23.825967801Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.137041ms grafana | logger=migrator t=2023-11-17T11:37:23.831234134Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-17T11:37:23.83143865Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=203.546µs grafana | logger=migrator t=2023-11-17T11:37:23.835249864Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-11-17T11:37:23.84356537Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=8.318396ms grafana | logger=migrator t=2023-11-17T11:37:23.846957962Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-11-17T11:37:23.851465634Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.506473ms grafana | logger=migrator t=2023-11-17T11:37:23.858723171Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-11-17T11:37:23.868080916Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=9.357084ms grafana | logger=migrator t=2023-11-17T11:37:23.872002182Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-11-17T11:37:23.872713081Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=710.889µs grafana | logger=migrator t=2023-11-17T11:37:23.876871524Z 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-17T11:37:23.877641426Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=769.391µs grafana | logger=migrator t=2023-11-17T11:37:23.883109514Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-11-17T11:37:23.890237928Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.129024ms grafana | logger=migrator t=2023-11-17T11:37:23.898636116Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-11-17T11:37:23.904564227Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.927651ms grafana | logger=migrator t=2023-11-17T11:37:23.908011361Z 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-17T11:37:23.909068719Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.056908ms grafana | logger=migrator t=2023-11-17T11:37:23.914001584Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-11-17T11:37:23.922750601Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=8.749017ms grafana | logger=migrator t=2023-11-17T11:37:23.929575187Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-11-17T11:37:23.937977705Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=8.400138ms grafana | logger=migrator t=2023-11-17T11:37:23.966705986Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-11-17T11:37:23.966934083Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=227.437µs grafana | logger=migrator t=2023-11-17T11:37:23.972232976Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-11-17T11:37:23.973805219Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.571423ms grafana | logger=migrator t=2023-11-17T11:37:23.977940041Z 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-17T11:37:23.97900645Z 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.065949ms grafana | logger=migrator t=2023-11-17T11:37:23.98412584Z 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-17T11:37:23.985916448Z 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.789969ms grafana | logger=migrator t=2023-11-17T11:37:23.994820461Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-17T11:37:23.995028736Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=207.646µs grafana | logger=migrator t=2023-11-17T11:37:23.999084086Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-11-17T11:37:24.00916956Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=10.087984ms grafana | logger=migrator t=2023-11-17T11:37:24.012741707Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-11-17T11:37:24.017216569Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.474092ms grafana | logger=migrator t=2023-11-17T11:37:24.022820712Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-11-17T11:37:24.02940501Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.583889ms grafana | logger=migrator t=2023-11-17T11:37:24.032772572Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-11-17T11:37:24.038939399Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.166187ms grafana | logger=migrator t=2023-11-17T11:37:24.043331168Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-11-17T11:37:24.049396324Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.064556ms grafana | logger=migrator t=2023-11-17T11:37:24.055123489Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-11-17T11:37:24.055227182Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=103.283µs grafana | logger=migrator t=2023-11-17T11:37:24.059466967Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-11-17T11:37:24.060710721Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.243034ms grafana | logger=migrator t=2023-11-17T11:37:24.069160241Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-11-17T11:37:24.07873727Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.578209ms grafana | logger=migrator t=2023-11-17T11:37:24.082678638Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-11-17T11:37:24.08275213Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=73.041µs grafana | logger=migrator t=2023-11-17T11:37:24.087289834Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-11-17T11:37:24.096849093Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.557508ms grafana | logger=migrator t=2023-11-17T11:37:24.137977041Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-11-17T11:37:24.138797673Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=820.432µs grafana | logger=migrator t=2023-11-17T11:37:24.142573106Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-11-17T11:37:24.14749101Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=4.916814ms grafana | logger=migrator t=2023-11-17T11:37:24.153484892Z level=info msg="Executing migration" id=create_ngalert_configuration_table 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 | -------------- 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 | grafana | logger=migrator t=2023-11-17T11:37:24.154241402Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=755.78µs grafana | logger=migrator t=2023-11-17T11:37:24.158770596Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-11-17T11:37:24.160537054Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.772438ms grafana | logger=migrator t=2023-11-17T11:37:24.164973384Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-11-17T11:37:24.17512801Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=10.155756ms grafana | logger=migrator t=2023-11-17T11:37:24.180117286Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-11-17T11:37:24.181388531Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.270615ms grafana | logger=migrator t=2023-11-17T11:37:24.185190314Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-11-17T11:37:24.18687744Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.685296ms grafana | logger=migrator t=2023-11-17T11:37:24.192078261Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-11-17T11:37:24.193707986Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.630455ms grafana | logger=migrator t=2023-11-17T11:37:24.202370981Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-11-17T11:37:24.204137849Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.765498ms grafana | logger=migrator t=2023-11-17T11:37:24.20931684Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-11-17T11:37:24.209535576Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=217.156µs grafana | logger=migrator t=2023-11-17T11:37:24.213961936Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-11-17T11:37:24.214993474Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.030988ms grafana | logger=migrator t=2023-11-17T11:37:24.21853555Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2023-11-17T11:37:24.220109423Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.570532ms grafana | logger=migrator t=2023-11-17T11:37:24.224856372Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-17T11:37:24.225576241Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-17T11:37:24.229275642Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-11-17T11:37:24.229762515Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=486.593µs grafana | logger=migrator t=2023-11-17T11:37:24.233933148Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-11-17T11:37:24.235439639Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.504501ms grafana | logger=migrator t=2023-11-17T11:37:24.244842565Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-11-17T11:37:24.256802441Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=11.960845ms grafana | logger=migrator t=2023-11-17T11:37:24.261235051Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-11-17T11:37:24.26196462Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=729.949µs grafana | logger=migrator t=2023-11-17T11:37:24.265963489Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-11-17T11:37:24.266791142Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=827.273µs grafana | logger=migrator t=2023-11-17T11:37:24.270689568Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-11-17T11:37:24.271267383Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=577.305µs grafana | logger=migrator t=2023-11-17T11:37:24.276234289Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-11-17T11:37:24.277067511Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=832.672µs grafana | logger=migrator t=2023-11-17T11:37:24.281909773Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-11-17T11:37:24.282678743Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=769.6µs grafana | logger=migrator t=2023-11-17T11:37:24.287570957Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-11-17T11:37:24.28768122Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=109.843µs grafana | logger=migrator t=2023-11-17T11:37:24.291595896Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-11-17T11:37:24.291851063Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=255.097µs grafana | logger=migrator t=2023-11-17T11:37:24.297928998Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-11-17T11:37:24.298616317Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=687.129µs grafana | logger=migrator t=2023-11-17T11:37:24.303880759Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-11-17T11:37:24.305634468Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.753369ms grafana | logger=migrator t=2023-11-17T11:37:24.313046529Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-11-17T11:37:24.313891041Z level=info msg="Migration successfully executed" id="create secrets table" duration=844.392µs grafana | logger=migrator t=2023-11-17T11:37:24.318446756Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-11-17T11:37:24.363746727Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=45.297701ms grafana | logger=migrator t=2023-11-17T11:37:24.368496865Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-11-17T11:37:24.374744956Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.247471ms grafana | logger=migrator t=2023-11-17T11:37:24.379458584Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-11-17T11:37:24.379684849Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=226.046µs grafana | logger=migrator t=2023-11-17T11:37:24.384803959Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-11-17T11:37:24.432965227Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=48.151658ms grafana | logger=migrator t=2023-11-17T11:37:24.438096467Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-11-17T11:37:24.486728789Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=48.629982ms grafana | logger=migrator t=2023-11-17T11:37:24.493920655Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-11-17T11:37:24.494590632Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=669.557µs grafana | logger=migrator t=2023-11-17T11:37:24.499941978Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-11-17T11:37:24.502036925Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=2.094337ms grafana | logger=migrator t=2023-11-17T11:37:24.506343932Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-11-17T11:37:24.506702482Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=358.55µs grafana | logger=migrator t=2023-11-17T11:37:24.511353498Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2023-11-17T11:37:24.51285716Z level=info msg="Migration successfully executed" id="create permission table" duration=1.501442ms grafana | logger=migrator t=2023-11-17T11:37:24.520910918Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-11-17T11:37:24.523004705Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=2.094417ms grafana | logger=migrator t=2023-11-17T11:37:24.530391396Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-11-17T11:37:24.531868736Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.47794ms grafana | logger=migrator t=2023-11-17T11:37:24.541372024Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-11-17T11:37:24.542777623Z level=info msg="Migration successfully executed" id="create role table" duration=1.404748ms grafana | logger=migrator t=2023-11-17T11:37:24.549614878Z level=info msg="Executing migration" id="add column display_name" prometheus | ts=2023-11-17T11:37:19.099Z 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-17T11:37:19.100Z 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-17T11:37:19.100Z 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-17T11:37:19.100Z 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-17T11:37:19.100Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-11-17T11:37:19.100Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-11-17T11:37:19.104Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-11-17T11:37:19.104Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-11-17T11:37:19.106Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-11-17T11:37:19.106Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-11-17T11:37:19.111Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-11-17T11:37:19.112Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=4.21µs prometheus | ts=2023-11-17T11:37:19.112Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-11-17T11:37:19.113Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-11-17T11:37:19.113Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=280.939µs wal_replay_duration=1.123459ms wbl_replay_duration=260ns total_replay_duration=1.622564ms prometheus | ts=2023-11-17T11:37:19.119Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-11-17T11:37:19.119Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-11-17T11:37:19.119Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-11-17T11:37:19.121Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.507801ms db_storage=1.081µs remote_storage=1.68µs web_handler=570ns query_engine=940ns scrape=237.577µs scrape_sd=163.864µs notify=236.987µs notify_sd=97.372µs rules=1.68µs tracing=4.94µs prometheus | ts=2023-11-17T11:37:19.121Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-11-17T11:37:19.121Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2023-11-17T11:37:24.560927236Z level=info msg="Migration successfully executed" id="add column display_name" duration=11.314048ms grafana | logger=migrator t=2023-11-17T11:37:24.567377371Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-11-17T11:37:24.57506605Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.68793ms grafana | logger=migrator t=2023-11-17T11:37:24.579506541Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-11-17T11:37:24.580336233Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=831.113µs grafana | logger=migrator t=2023-11-17T11:37:24.585190565Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-11-17T11:37:24.587214641Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=2.023385ms grafana | logger=migrator t=2023-11-17T11:37:24.592736711Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-11-17T11:37:24.593906592Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.16735ms grafana | logger=migrator t=2023-11-17T11:37:24.597622143Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-11-17T11:37:24.598445746Z level=info msg="Migration successfully executed" id="create team role table" duration=823.003µs grafana | logger=migrator t=2023-11-17T11:37:24.604057128Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-11-17T11:37:24.605333653Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.276635ms grafana | logger=migrator t=2023-11-17T11:37:24.612945759Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-11-17T11:37:24.614218994Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.272365ms grafana | logger=migrator t=2023-11-17T11:37:24.623251909Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-11-17T11:37:24.625495821Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=2.243791ms grafana | logger=migrator t=2023-11-17T11:37:24.630003473Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-11-17T11:37:24.630912518Z level=info msg="Migration successfully executed" id="create user role table" duration=908.405µs grafana | logger=migrator t=2023-11-17T11:37:24.63433464Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-11-17T11:37:24.635649126Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.311516ms grafana | logger=migrator t=2023-11-17T11:37:24.639671206Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-11-17T11:37:24.641023472Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.351976ms grafana | logger=migrator t=2023-11-17T11:37:24.646218454Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-11-17T11:37:24.648123855Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.904391ms grafana | logger=migrator t=2023-11-17T11:37:24.655724423Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-11-17T11:37:24.656844942Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.11996ms grafana | logger=migrator t=2023-11-17T11:37:24.661252113Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-11-17T11:37:24.663428511Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=2.174338ms grafana | logger=migrator t=2023-11-17T11:37:24.668684575Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-11-17T11:37:24.669554788Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=870.743µs grafana | logger=migrator t=2023-11-17T11:37:24.672909739Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-11-17T11:37:24.68100819Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.09451ms grafana | logger=migrator t=2023-11-17T11:37:24.688443371Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-11-17T11:37:24.689638904Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.195503ms grafana | logger=migrator t=2023-11-17T11:37:24.695525484Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-11-17T11:37:24.697432605Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.907601ms grafana | logger=migrator t=2023-11-17T11:37:24.700819568Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-11-17T11:37:24.701927298Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.10792ms grafana | logger=migrator t=2023-11-17T11:37:24.705757372Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-11-17T11:37:24.706980445Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.223423ms grafana | logger=migrator t=2023-11-17T11:37:24.711656203Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-11-17T11:37:24.712505465Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=850.722µs grafana | logger=migrator t=2023-11-17T11:37:24.716532425Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-11-17T11:37:24.718504558Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.972143ms grafana | logger=migrator t=2023-11-17T11:37:24.725406116Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-11-17T11:37:24.733342702Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.935136ms grafana | logger=migrator t=2023-11-17T11:37:24.737675569Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-11-17T11:37:24.745859902Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.183793ms grafana | logger=migrator t=2023-11-17T11:37:24.749313115Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-11-17T11:37:24.757406145Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.093ms grafana | logger=migrator t=2023-11-17T11:37:24.764884029Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-11-17T11:37:24.774418538Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=9.531999ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-17T11:37:24.778868209Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-11-17T11:37:24.779723042Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=854.753µs grafana | logger=migrator t=2023-11-17T11:37:24.783848064Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-11-17T11:37:24.78556059Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.710766ms grafana | logger=migrator t=2023-11-17T11:37:24.789308293Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-11-17T11:37:24.791290906Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.981863ms grafana | logger=migrator t=2023-11-17T11:37:24.797829894Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-11-17T11:37:24.797952077Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=123.853µs grafana | logger=migrator t=2023-11-17T11:37:24.808165065Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-11-17T11:37:24.808263308Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=99.803µs grafana | logger=migrator t=2023-11-17T11:37:24.811807074Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-11-17T11:37:24.81275124Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=943.916µs grafana | logger=migrator t=2023-11-17T11:37:24.817339024Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-11-17T11:37:24.818468555Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.131001ms grafana | logger=migrator t=2023-11-17T11:37:24.82344342Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-11-17T11:37:24.82415593Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=712.62µs grafana | logger=migrator t=2023-11-17T11:37:24.828083137Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-11-17T11:37:24.828379915Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=296.488µs grafana | logger=migrator t=2023-11-17T11:37:24.876981776Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-11-17T11:37:24.877635853Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=658.517µs grafana | logger=migrator t=2023-11-17T11:37:24.888208431Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-11-17T11:37:24.88963774Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.428369ms grafana | logger=migrator t=2023-11-17T11:37:24.894583384Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-11-17T11:37:24.896520067Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.936823ms grafana | logger=migrator t=2023-11-17T11:37:24.900258788Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-11-17T11:37:24.912554832Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=12.297634ms grafana | logger=migrator t=2023-11-17T11:37:24.916243403Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-11-17T11:37:24.916348016Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=104.233µs grafana | logger=migrator t=2023-11-17T11:37:24.925031031Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-11-17T11:37:24.926489341Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.4575ms grafana | logger=migrator t=2023-11-17T11:37:24.930431678Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-11-17T11:37:24.932121994Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.691236ms grafana | logger=migrator t=2023-11-17T11:37:24.938407634Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-11-17T11:37:24.939751071Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.344317ms grafana | logger=migrator t=2023-11-17T11:37:24.945032945Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-11-17T11:37:24.954730548Z level=info msg="Migration successfully executed" id="add correlation config column" duration=9.697123ms grafana | logger=migrator t=2023-11-17T11:37:24.958571993Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-11-17T11:37:24.959808367Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.234294ms grafana | logger=migrator t=2023-11-17T11:37:24.965977754Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-11-17T11:37:24.967806853Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.826289ms grafana | logger=migrator t=2023-11-17T11:37:24.972594634Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-17T11:37:25.00264698Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=30.053876ms grafana | logger=migrator t=2023-11-17T11:37:25.005832668Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-11-17T11:37:25.006565027Z level=info msg="Migration successfully executed" id="create correlation v2" duration=731.739µs grafana | logger=migrator t=2023-11-17T11:37:25.009546368Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-11-17T11:37:25.010892555Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.346517ms grafana | logger=migrator t=2023-11-17T11:37:25.015083439Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-11-17T11:37:25.016870188Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.78747ms grafana | logger=migrator t=2023-11-17T11:37:25.021085752Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-11-17T11:37:25.022941192Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.85532ms grafana | logger=migrator t=2023-11-17T11:37:25.032500082Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-11-17T11:37:25.032759109Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=258.317µs grafana | logger=migrator t=2023-11-17T11:37:25.03940704Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-11-17T11:37:25.040734116Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.334866ms grafana | logger=migrator t=2023-11-17T11:37:25.043919703Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-11-17T11:37:25.053477233Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.5583ms grafana | logger=migrator t=2023-11-17T11:37:25.058410476Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-11-17T11:37:25.059018763Z level=info msg="Migration successfully executed" id="create entity_events table" duration=607.967µs grafana | logger=migrator t=2023-11-17T11:37:25.062351063Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-11-17T11:37:25.063121645Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=772.032µs grafana | logger=migrator t=2023-11-17T11:37:25.068027268Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-17T11:37:25.06919796Z 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-17T11:37:25.074536635Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-17T11:37:25.075406588Z 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-17T11:37:25.078960555Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-11-17T11:37:25.08024256Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.281005ms grafana | logger=migrator t=2023-11-17T11:37:25.084392983Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-11-17T11:37:25.085358538Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=965.035µs grafana | logger=migrator t=2023-11-17T11:37:25.089887552Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-17T11:37:25.0916713Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.783638ms grafana | logger=migrator t=2023-11-17T11:37:25.098687531Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-17T11:37:25.100196922Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.510311ms grafana | logger=migrator t=2023-11-17T11:37:25.106769371Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-17T11:37:25.108117958Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.347196ms grafana | logger=migrator t=2023-11-17T11:37:25.113166394Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-17T11:37:25.114891102Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.721898ms grafana | logger=migrator t=2023-11-17T11:37:25.118253603Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-11-17T11:37:25.119102636Z level=info msg="Migration successfully executed" id="Drop public config table" duration=848.293µs grafana | logger=migrator t=2023-11-17T11:37:25.123319451Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-11-17T11:37:25.124862783Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.541062ms grafana | logger=migrator t=2023-11-17T11:37:25.128261645Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-17T11:37:25.130057883Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.796098ms grafana | logger=migrator t=2023-11-17T11:37:25.137498636Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-17T11:37:25.138790101Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.290915ms grafana | logger=migrator t=2023-11-17T11:37:25.145264467Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-11-17T11:37:25.147315473Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=2.055137ms grafana | logger=migrator t=2023-11-17T11:37:25.150688004Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-11-17T11:37:25.183854686Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=33.157422ms grafana | logger=migrator t=2023-11-17T11:37:25.187401332Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-11-17T11:37:25.196402897Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.999495ms grafana | logger=migrator t=2023-11-17T11:37:25.200877928Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-11-17T11:37:25.207275783Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.397385ms grafana | logger=migrator t=2023-11-17T11:37:25.213877441Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-11-17T11:37:25.21420919Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=329.449µs grafana | logger=migrator t=2023-11-17T11:37:25.217030837Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-11-17T11:37:25.228936231Z level=info msg="Migration successfully executed" id="add share column" duration=11.904714ms grafana | logger=migrator t=2023-11-17T11:37:25.233006172Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-11-17T11:37:25.233241538Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=236.227µs grafana | logger=migrator t=2023-11-17T11:37:25.236511856Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-11-17T11:37:25.237482993Z level=info msg="Migration successfully executed" id="create file table" duration=970.467µs grafana | logger=migrator t=2023-11-17T11:37:25.241876862Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-11-17T11:37:25.243715753Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.838881ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-17T11:37:25.250594949Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-11-17T11:37:25.251891844Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.297345ms grafana | logger=migrator t=2023-11-17T11:37:25.255949465Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-11-17T11:37:25.256902471Z level=info msg="Migration successfully executed" id="create file_meta table" duration=952.966µs grafana | logger=migrator t=2023-11-17T11:37:25.260466497Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-11-17T11:37:25.262918074Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.458677ms grafana | logger=migrator t=2023-11-17T11:37:25.270181121Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-11-17T11:37:25.270278985Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=97.724µs grafana | logger=migrator t=2023-11-17T11:37:25.273617665Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-11-17T11:37:25.273717808Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=99.903µs grafana | logger=migrator t=2023-11-17T11:37:25.279650619Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-11-17T11:37:25.280615676Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=964.406µs grafana | logger=migrator t=2023-11-17T11:37:25.288009016Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-11-17T11:37:25.28848678Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=477.354µs grafana | logger=migrator t=2023-11-17T11:37:25.293317361Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-11-17T11:37:25.294993316Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.674625ms grafana | logger=migrator t=2023-11-17T11:37:25.299005715Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-11-17T11:37:25.312930364Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=13.926269ms grafana | logger=migrator t=2023-11-17T11:37:25.317847487Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-11-17T11:37:25.318051813Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=203.326µs grafana | logger=migrator t=2023-11-17T11:37:25.323622895Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-11-17T11:37:25.324507918Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=884.873µs grafana | logger=migrator t=2023-11-17T11:37:25.328575819Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-11-17T11:37:25.328966719Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=391.27µs grafana | logger=migrator t=2023-11-17T11:37:25.332024493Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-11-17T11:37:25.332596678Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=571.685µs grafana | logger=migrator t=2023-11-17T11:37:25.337016838Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-11-17T11:37:25.337903573Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=890.154µs grafana | logger=migrator t=2023-11-17T11:37:25.341319345Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-11-17T11:37:25.350038442Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.718357ms grafana | logger=migrator t=2023-11-17T11:37:25.355766608Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-11-17T11:37:25.364438734Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.670096ms grafana | logger=migrator t=2023-11-17T11:37:25.367977849Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-11-17T11:37:25.368842053Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=861.964µs grafana | logger=migrator t=2023-11-17T11:37:25.372061451Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-11-17T11:37:25.477252699Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=105.189229ms grafana | logger=migrator t=2023-11-17T11:37:25.484721473Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-11-17T11:37:25.485888814Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.167481ms grafana | logger=migrator t=2023-11-17T11:37:25.494433857Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-11-17T11:37:25.495793694Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.359767ms grafana | logger=migrator t=2023-11-17T11:37:25.499263668Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-11-17T11:37:25.537060685Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=37.794657ms grafana | logger=migrator t=2023-11-17T11:37:25.54199394Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-11-17T11:37:25.542581345Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=587.846µs grafana | logger=migrator t=2023-11-17T11:37:25.547293523Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-11-17T11:37:25.547700635Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=408.152µs grafana | logger=migrator t=2023-11-17T11:37:25.553307957Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-11-17T11:37:25.553647426Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=338.909µs grafana | logger=migrator t=2023-11-17T11:37:25.562145557Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-11-17T11:37:25.563764721Z level=info msg="Migration successfully executed" id="create folder table" duration=1.618134ms grafana | logger=migrator t=2023-11-17T11:37:25.568116739Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-17T11:37:25.570216156Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.098647ms grafana | logger=migrator t=2023-11-17T11:37:25.638511092Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-11-17T11:37:25.64064248Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=2.128438ms grafana | logger=migrator t=2023-11-17T11:37:25.645366468Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-11-17T11:37:25.645392149Z level=info msg="Migration successfully executed" id="Update folder title length" duration=26.741µs grafana | logger=migrator t=2023-11-17T11:37:25.648313498Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-17T11:37:25.649596333Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.282795ms grafana | logger=migrator t=2023-11-17T11:37:25.652630066Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-17T11:37:25.653809388Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.179272ms grafana | logger=migrator t=2023-11-17T11:37:25.658035682Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-11-17T11:37:25.660246883Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=2.210571ms grafana | logger=migrator t=2023-11-17T11:37:25.665084524Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-11-17T11:37:25.66604328Z level=info msg="Migration successfully executed" id="create anon_device table" duration=958.336µs grafana | logger=migrator t=2023-11-17T11:37:25.669174075Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-11-17T11:37:25.670489721Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.315466ms grafana | logger=migrator t=2023-11-17T11:37:25.67411858Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-11-17T11:37:25.675363304Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.244604ms grafana | logger=migrator t=2023-11-17T11:37:25.678339395Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-11-17T11:37:25.67924941Z level=info msg="Migration successfully executed" id="create signing_key table" duration=905.555µs grafana | logger=migrator t=2023-11-17T11:37:25.682750024Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-11-17T11:37:25.683976578Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.226514ms grafana | logger=migrator t=2023-11-17T11:37:25.689842517Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-11-17T11:37:25.691347828Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.503961ms grafana | logger=migrator t=2023-11-17T11:37:25.696250952Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-17T11:37:25.696882739Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=633.186µs grafana | logger=migrator t=2023-11-17T11:37:25.70060074Z level=info msg="migrations completed" performed=517 skipped=0 duration=4.990372538s grafana | logger=sqlstore t=2023-11-17T11:37:25.709718747Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-17T11:37:25.710087668Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-17T11:37:25.713371017Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-17T11:37:25.784595013Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-17T11:37:25.78706338Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-17T11:37:25.791153471Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-17T11:37:27.9907599Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-17T11:37:27.992807731Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-17T11:37:28.006308839Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-17T11:37:28.00635537Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2023-11-17T11:37:28.006611246Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-11-17T11:37:28.00675092Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2023-11-17T11:37:28.010452783Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2023-11-17T11:37:28.044879584Z level=info msg="Update check succeeded" duration=36.387831ms grafana | logger=plugins.update.checker t=2023-11-17T11:37:28.080570118Z level=info msg="Update check succeeded" duration=72.975647ms grafana | logger=sqlstore.transactions t=2023-11-17T11:37:28.110425615Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=ngalert.migration t=2023-11-17T11:37:28.116171859Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-11-17T11:37:28.116695431Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-17T11:37:28.116886497Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-17T11:37:28.117219625Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-17T11:37:28.117509942Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-11-17T11:37:28.119552213Z level=info msg="Completed legacy migration" grafana | logger=sqlstore.transactions t=2023-11-17T11:37:28.121658846Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-11-17T11:37:28.141071012Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=sqlstore.transactions t=2023-11-17T11:37:28.152658302Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" grafana | logger=sqlstore.transactions t=2023-11-17T11:37:28.1677678Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-11-17T11:37:28.180702964Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=ngalert.state.manager t=2023-11-17T11:37:28.251754703Z level=info msg="State cache has been initialized" states=0 duration=245.000173ms grafana | logger=ngalert.scheduler t=2023-11-17T11:37:28.251805854Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-11-17T11:37:28.251871366Z level=info msg=starting first_tick=2023-11-17T11:37:30Z grafana | logger=ngalert.multiorg.alertmanager t=2023-11-17T11:37:28.251898496Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version 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 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:23 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:24 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:25 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:26 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:27 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:27 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:27 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:27 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:27 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:27 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1711231137230800u 1 2023-11-17 11:37:27 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1711231137230900u 1 2023-11-17 11:37:27 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1711231137230900u 1 2023-11-17 11:37:27 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1711231137230900u 1 2023-11-17 11:37:27 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1711231137230900u 1 2023-11-17 11:37:27 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1711231137230900u 1 2023-11-17 11:37:27 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1711231137230900u 1 2023-11-17 11:37:27 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1711231137230900u 1 2023-11-17 11:37:27 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1711231137230900u 1 2023-11-17 11:37:27 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1711231137230900u 1 2023-11-17 11:37:27 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1711231137230900u 1 2023-11-17 11:37:27 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1711231137230900u 1 2023-11-17 11:37:27 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1711231137230900u 1 2023-11-17 11:37:27 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1711231137230900u 1 2023-11-17 11:37:27 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1711231137231000u 1 2023-11-17 11:37:28 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1711231137231000u 1 2023-11-17 11:37:28 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1711231137231000u 1 2023-11-17 11:37:28 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1711231137231000u 1 2023-11-17 11:37:28 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1711231137231000u 1 2023-11-17 11:37:28 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1711231137231000u 1 2023-11-17 11:37:28 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1711231137231000u 1 2023-11-17 11:37:28 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1711231137231000u 1 2023-11-17 11:37:28 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1711231137231000u 1 2023-11-17 11:37:28 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1711231137231100u 1 2023-11-17 11:37:28 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1711231137231200u 1 2023-11-17 11:37:28 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1711231137231200u 1 2023-11-17 11:37:28 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1711231137231200u 1 2023-11-17 11:37:28 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1711231137231200u 1 2023-11-17 11:37:28 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing prometheus ... Removing mariadb ... Removing grafana ... done Removing policy-db-migrator ... done Removing policy-api ... done Removing prometheus ... done Removing mariadb ... 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.pkaz9fFSqi ]] + rsync -av /tmp/tmp.pkaz9fFSqi/ /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,022 bytes received 95 bytes 2,694,234.00 bytes/sec total size is 1,346,372 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 2093 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/jenkins11893650801795786047.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins9423883168923167068.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/jenkins6464969899574852903.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-MVgP from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-MVgP/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14365578623152946462.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config17602302070326991096tmp 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/jenkins2460695260627088430.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins1514242437052799907.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-MVgP from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-MVgP/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins12047143155914456219.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins25619896729496858.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-MVgP 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. virtualenv 20.24.6 requires platformdirs<4,>=3.9.1, but you have platformdirs 4.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-MVgP/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/jenkins12821136376275417448.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-MVgP from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-MVgP/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/182 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-696 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 840 27415 0 3912 30871 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:3f:98:6f brd ff:ff:ff:ff:ff:ff inet 10.30.106.23/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86031sec preferred_lft 86031sec inet6 fe80::f816:3eff:fe3f:986f/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:ec:7a:f4:48 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-696) 11/17/23 _x86_64_ (8 CPU) 11:33:53 LINUX RESTART (8 CPU) 11:34:01 tps rtps wtps bread/s bwrtn/s 11:35:01 126.99 73.74 53.25 5307.83 47617.86 11:36:01 112.68 27.26 85.42 2079.84 21160.68 11:37:01 153.14 9.98 143.16 1718.25 47822.70 11:38:01 299.63 12.83 286.80 792.67 41390.03 11:39:01 8.98 0.02 8.97 1.87 11075.62 Average: 140.28 24.77 115.52 1980.20 33813.42 11:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 30380688 31726056 2558532 7.77 48664 1619096 1440192 4.24 817948 1476864 56572 11:36:01 29969692 31714920 2969528 9.02 77680 1969988 1396692 4.11 862052 1802420 159232 11:37:01 28131068 31657640 4808152 14.60 111864 3651260 1446932 4.26 1003404 3389432 734256 11:38:01 26902292 30503196 6036928 18.33 126396 3671152 4622604 13.60 2245620 3345720 20 11:39:01 26917356 30519312 6021864 18.28 126476 3671912 4599348 13.53 2232384 3344868 12 Average: 28460219 31224225 4479001 13.60 98216 2916682 2701154 7.95 1432282 2671861 190018 11:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 lo 1.47 1.47 0.14 0.14 0.00 0.00 0.00 0.00 11:35:01 ens3 273.91 216.78 915.74 56.45 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 lo 1.33 1.33 0.14 0.14 0.00 0.00 0.00 0.00 11:36:01 ens3 64.26 41.97 1078.52 8.10 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:37:01 lo 9.07 9.07 0.84 0.84 0.00 0.00 0.00 0.00 11:37:01 br-b40b00034296 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 ens3 308.38 197.75 8999.21 17.11 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 veth69fc832 0.05 0.25 0.00 0.02 0.00 0.00 0.00 0.00 11:38:01 lo 7.37 7.37 8.14 8.14 0.00 0.00 0.00 0.00 11:38:01 veth143cfeb 114.93 94.60 46.22 119.06 0.00 0.00 0.00 0.01 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:39:01 veth69fc832 0.80 1.10 0.11 0.59 0.00 0.00 0.00 0.00 11:39:01 lo 10.70 10.70 0.80 0.80 0.00 0.00 0.00 0.00 11:39:01 veth143cfeb 1.12 1.20 0.53 0.08 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: veth69fc832 0.17 0.27 0.02 0.12 0.00 0.00 0.00 0.00 Average: lo 5.99 5.99 2.01 2.01 0.00 0.00 0.00 0.00 Average: veth143cfeb 23.21 19.16 9.35 23.83 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-696) 11/17/23 _x86_64_ (8 CPU) 11:33:53 LINUX RESTART (8 CPU) 11:34:01 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 6.32 0.00 1.09 6.01 0.04 86.55 11:35:01 0 4.10 0.00 1.06 36.63 0.03 58.18 11:35:01 1 12.36 0.00 1.39 1.25 0.05 84.95 11:35:01 2 3.33 0.00 1.02 0.94 0.07 94.65 11:35:01 3 2.75 0.00 0.87 1.17 0.03 95.18 11:35:01 4 5.23 0.00 0.62 2.32 0.03 91.79 11:35:01 5 4.38 0.00 2.04 2.00 0.02 91.57 11:35:01 6 10.90 0.00 0.87 1.62 0.03 86.58 11:35:01 7 7.50 0.00 0.84 2.29 0.03 89.34 11:36:01 all 10.26 0.00 0.84 2.00 0.03 86.86 11:36:01 0 23.71 0.00 1.70 7.20 0.05 67.34 11:36:01 1 5.11 0.00 1.02 2.62 0.05 91.20 11:36:01 2 17.49 0.00 0.98 2.52 0.05 78.96 11:36:01 3 20.05 0.00 1.50 0.28 0.03 78.13 11:36:01 4 2.48 0.00 0.33 0.25 0.05 96.88 11:36:01 5 1.98 0.00 0.23 0.25 0.02 97.52 11:36:01 6 0.70 0.00 0.42 2.33 0.02 96.53 11:36:01 7 10.64 0.00 0.55 0.60 0.03 88.18 11:37:01 all 10.32 0.00 2.78 3.98 0.06 82.86 11:37:01 0 7.17 0.00 2.24 0.13 0.05 90.41 11:37:01 1 4.58 0.00 2.87 9.28 0.05 83.22 11:37:01 2 7.82 0.00 2.29 0.50 0.05 89.34 11:37:01 3 5.85 0.00 2.30 0.05 0.07 91.72 11:37:01 4 23.61 0.00 3.82 4.09 0.05 68.43 11:37:01 5 9.76 0.00 2.40 0.66 0.07 87.11 11:37:01 6 17.53 0.00 3.99 16.62 0.07 61.79 11:37:01 7 6.33 0.00 2.33 0.52 0.03 90.79 11:38:01 all 17.34 0.00 2.16 6.29 0.06 74.14 11:38:01 0 13.88 0.00 1.98 0.33 0.07 83.75 11:38:01 1 20.59 0.00 2.36 3.32 0.05 73.69 11:38:01 2 19.88 0.00 2.41 0.68 0.05 76.98 11:38:01 3 14.72 0.00 2.45 1.31 0.05 81.48 11:38:01 4 19.55 0.00 2.45 6.59 0.07 71.34 11:38:01 5 16.51 0.00 1.91 1.59 0.07 79.92 11:38:01 6 14.59 0.00 1.79 26.93 0.05 56.64 11:38:01 7 19.03 0.00 1.96 9.58 0.05 69.38 11:39:01 all 0.35 0.00 0.13 0.61 0.03 98.89 11:39:01 0 0.15 0.00 0.20 0.02 0.05 99.58 11:39:01 1 0.07 0.00 0.08 0.00 0.02 99.83 11:39:01 2 0.12 0.00 0.03 0.02 0.00 99.83 11:39:01 3 0.72 0.00 0.23 0.00 0.02 99.03 11:39:01 4 0.55 0.00 0.12 0.10 0.03 99.20 11:39:01 5 0.52 0.00 0.18 0.00 0.05 99.25 11:39:01 6 0.40 0.00 0.12 4.76 0.03 94.69 11:39:01 7 0.23 0.00 0.10 0.00 0.00 99.67 Average: all 8.91 0.00 1.40 3.77 0.04 85.87 Average: 0 9.80 0.00 1.44 8.83 0.05 79.88 Average: 1 8.53 0.00 1.54 3.29 0.04 86.59 Average: 2 9.73 0.00 1.34 0.93 0.04 87.95 Average: 3 8.82 0.00 1.47 0.56 0.04 89.11 Average: 4 10.25 0.00 1.46 2.66 0.05 85.58 Average: 5 6.61 0.00 1.35 0.90 0.04 91.10 Average: 6 8.80 0.00 1.43 10.43 0.04 79.29 Average: 7 8.74 0.00 1.15 2.60 0.03 87.48