Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-2455 (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-6GRc65EkSvqh/agent.2100 SSH_AGENT_PID=2102 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_15452741491682339882.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_15452741491682339882.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/jenkins7538910835303655533.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-JSU3 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-JSU3/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-JSU3/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.4 botocore==1.32.4 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.23.4 httplib2==0.22.0 identify==2.5.32 idna==3.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.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==3.11.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.31.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.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.11 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/jenkins1968709037375721611.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/jenkins9433124825329975090.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.5W101EtCTD ++ echo ROBOT_VENV=/tmp/tmp.5W101EtCTD +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.5W101EtCTD ++ source /tmp/tmp.5W101EtCTD/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.5W101EtCTD +++ 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.5W101EtCTD/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.5W101EtCTD) ' '!=' x ']' +++ PS1='(tmp.5W101EtCTD) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.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.5W101EtCTD/src/onap ++ rm -rf /tmp/tmp.5W101EtCTD/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.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 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.5W101EtCTD/bin/activate + '[' -z /tmp/tmp.5W101EtCTD/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.5W101EtCTD/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.5W101EtCTD ++ 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.5W101EtCTD/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.5W101EtCTD) ' ++ '[' 'x(tmp.5W101EtCTD) ' '!=' x ']' ++ PS1='(tmp.5W101EtCTD) (tmp.5W101EtCTD) ' ++ 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.Ul4ZSikfxT + cd /tmp/tmp.Ul4ZSikfxT + 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 policy-db-migrator Up 13 seconds mariadb Up 14 seconds prometheus Up 11 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds policy-db-migrator Up 18 seconds mariadb Up 19 seconds prometheus Up 16 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds policy-db-migrator Up 23 seconds mariadb Up 24 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds NAMES STATUS grafana Up 30 seconds policy-api Up 32 seconds mariadb Up 34 seconds prometheus Up 31 seconds NAMES STATUS grafana Up 35 seconds policy-api Up 37 seconds mariadb Up 39 seconds prometheus Up 36 seconds NAMES STATUS grafana Up 40 seconds policy-api Up 42 seconds mariadb Up 44 seconds prometheus Up 41 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:55 up 4 min, 0 users, load average: 2.59, 1.19, 0.47 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.4 us, 1.8 sy, 0.0 ni, 83.4 id, 5.3 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 40 seconds policy-api Up 42 seconds mariadb Up 44 seconds prometheus Up 41 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS dad83341bf61 grafana 0.02% 93.66MiB / 31.41GiB 0.29% 19.6kB / 3.18kB 45.1kB / 23.4MB 16 ffd0c5c45574 policy-api 0.13% 979.4MiB / 31.41GiB 3.04% 1.04MB / 740kB 0B / 0B 52 e2e511a12b4b mariadb 0.02% 100.4MiB / 31.41GiB 0.31% 1.01MB / 1.22MB 10.9MB / 62MB 27 09a55f3f5084 prometheus 0.00% 18.44MiB / 31.41GiB 0.06% 990B / 158B 225kB / 0B 13 + echo + cd /tmp/tmp.Ul4ZSikfxT + 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.Ul4ZSikfxT/output.xml Log: /tmp/tmp.Ul4ZSikfxT/log.html Report: /tmp/tmp.Ul4ZSikfxT/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 mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:39:06 up 5 min, 0 users, load average: 0.98, 1.01, 0.46 Tasks: 172 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.3 us, 1.5 sy, 0.0 ni, 85.8 id, 4.3 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 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 mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS dad83341bf61 grafana 0.01% 94.66MiB / 31.41GiB 0.29% 20.7kB / 4.43kB 45.1kB / 23.4MB 16 ffd0c5c45574 policy-api 0.40% 994.6MiB / 31.41GiB 3.09% 7.33MB / 2.87MB 0B / 0B 53 e2e511a12b4b mariadb 0.01% 101.3MiB / 31.41GiB 0.31% 2.75MB / 7.36MB 10.9MB / 62.2MB 18 09a55f3f5084 prometheus 0.00% 23.96MiB / 31.41GiB 0.07% 37.5kB / 7.1kB 225kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, mariadb, prometheus grafana | logger=settings t=2023-11-21T11:37:14.768855108Z 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-21T11:37:14.769171953Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-21T11:37:14.769191324Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-21T11:37:14.769198804Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-21T11:37:14.769204815Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-21T11:37:14.769210615Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-21T11:37:14.769223546Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-21T11:37:14.769230706Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-21T11:37:14.769237016Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-21T11:37:14.769248177Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-21T11:37:14.769252937Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-21T11:37:14.769258697Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-21T11:37:14.769269948Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-21T11:37:14.769290059Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-21T11:37:14.769296279Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-21T11:37:14.769301929Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-21T11:37:14.7693123Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-21T11:37:14.76932096Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-21T11:37:14.769331141Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-21T11:37:14.769766991Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-21T11:37:14.769798723Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-21T11:37:14.771126907Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-21T11:37:14.772568116Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-21T11:37:14.773549624Z level=info msg="Migration successfully executed" id="create migration_log table" duration=981.358µs grafana | logger=migrator t=2023-11-21T11:37:14.923214073Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-21T11:37:14.924676634Z level=info msg="Migration successfully executed" id="create user table" duration=1.46347ms grafana | logger=migrator t=2023-11-21T11:37:15.170646738Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-21T11:37:15.172416155Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.774148ms grafana | logger=migrator t=2023-11-21T11:37:15.273593008Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-21T11:37:15.275770606Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=2.180368ms grafana | logger=migrator t=2023-11-21T11:37:15.281145591Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-21T11:37:15.282267316Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.123855ms grafana | logger=migrator t=2023-11-21T11:37:15.28843331Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-21T11:37:15.289381988Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=950.458µs grafana | logger=migrator t=2023-11-21T11:37:15.29409549Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-21T11:37:15.299333899Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=5.235458ms grafana | logger=migrator t=2023-11-21T11:37:15.306126774Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-21T11:37:15.306963935Z level=info msg="Migration successfully executed" id="create user table v2" duration=836.811µs grafana | logger=migrator t=2023-11-21T11:37:15.314816843Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-21T11:37:15.316138448Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.321495ms grafana | logger=migrator t=2023-11-21T11:37:15.328263287Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-21T11:37:15.329579581Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.316984ms grafana | logger=migrator t=2023-11-21T11:37:15.394030832Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-21T11:37:15.394555328Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=526.926µs grafana | logger=migrator t=2023-11-21T11:37:15.423090966Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-21T11:37:15.424161889Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=1.071554ms grafana | logger=migrator t=2023-11-21T11:37:15.442576227Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-21T11:37:15.444913103Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=2.336526ms grafana | logger=migrator t=2023-11-21T11:37:15.729608313Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-21T11:37:15.729680836Z level=info msg="Migration successfully executed" id="Update user table charset" duration=76.474µs grafana | logger=migrator t=2023-11-21T11:37:15.89896872Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-21T11:37:15.901126057Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=2.159307ms grafana | logger=migrator t=2023-11-21T11:37:16.156880978Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-21T11:37:16.157487739Z level=info msg="Migration successfully executed" id="Add missing user data" duration=602.07µs grafana | logger=migrator t=2023-11-21T11:37:16.257264362Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-11-21T11:37:16.259432019Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=2.167027ms grafana | logger=migrator t=2023-11-21T11:37:16.393914286Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-21T11:37:16.39560244Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.693454ms grafana | logger=migrator t=2023-11-21T11:37:16.475552255Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-21T11:37:16.477878189Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=2.327805ms grafana | logger=migrator t=2023-11-21T11:37:16.515874064Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-21T11:37:16.528248425Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=12.376151ms grafana | logger=migrator t=2023-11-21T11:37:16.621742439Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-21T11:37:16.623571209Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.835091ms grafana | logger=migrator t=2023-11-21T11:37:16.77070814Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-21T11:37:16.772682148Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.978837ms grafana | logger=migrator t=2023-11-21T11:37:16.846951703Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-21T11:37:16.847722761Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=777.758µs grafana | logger=migrator t=2023-11-21T11:37:16.904530094Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-21T11:37:16.906962774Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=2.43523ms grafana | logger=migrator t=2023-11-21T11:37:16.973102669Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-21T11:37:16.976540358Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=3.443ms grafana | logger=migrator t=2023-11-21T11:37:17.12239077Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-21T11:37:17.122471224Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=87.204µs grafana | logger=migrator t=2023-11-21T11:37:17.211584246Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-21T11:37:17.214331384Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=2.753177ms grafana | logger=migrator t=2023-11-21T11:37:17.307652745Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-21T11:37:17.309150411Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.504526ms grafana | logger=migrator t=2023-11-21T11:37:17.366398767Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-21T11:37:17.367886992Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.491395ms grafana | logger=migrator t=2023-11-21T11:37:17.452567001Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-21T11:37:17.45396458Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.40289ms grafana | logger=migrator t=2023-11-21T11:37:17.660834637Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-21T11:37:17.667485501Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=6.650954ms grafana | logger=migrator t=2023-11-21T11:37:17.675109462Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-21T11:37:17.675997907Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=889.065µs grafana | logger=migrator t=2023-11-21T11:37:17.68164959Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-21T11:37:17.683737424Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=2.084323ms grafana | logger=migrator t=2023-11-21T11:37:17.689957196Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-21T11:37:17.691153805Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.194279ms grafana | logger=migrator t=2023-11-21T11:37:17.696122304Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-21T11:37:17.697123044Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.00104ms grafana | logger=migrator t=2023-11-21T11:37:17.702478362Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-21T11:37:17.703613579Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.134577ms grafana | logger=migrator t=2023-11-21T11:37:17.710096564Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-21T11:37:17.710652582Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=558.368µs grafana | logger=migrator t=2023-11-21T11:37:17.718245752Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-21T11:37:17.719233541Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=989.629µs grafana | logger=migrator t=2023-11-21T11:37:17.727283064Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-21T11:37:17.728664693Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=1.384319ms grafana | logger=migrator t=2023-11-21T11:37:17.742280595Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-21T11:37:17.74336855Z level=info msg="Migration successfully executed" id="create star table" duration=1.088215ms grafana | logger=migrator t=2023-11-21T11:37:17.749405202Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-21T11:37:17.750649494Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.244242ms grafana | logger=migrator t=2023-11-21T11:37:17.758294637Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-11-21T11:37:17.759098147Z level=info msg="Migration successfully executed" id="create org table v1" duration=802.9µs grafana | logger=migrator t=2023-11-21T11:37:17.795081298Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-11-21T11:37:17.796724811Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.638543ms grafana | logger=migrator t=2023-11-21T11:37:17.802641087Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-11-21T11:37:17.803842717Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.20094ms grafana | logger=migrator t=2023-11-21T11:37:17.810400026Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-11-21T11:37:17.811852018Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.453542ms grafana | logger=migrator t=2023-11-21T11:37:17.816188286Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-11-21T11:37:17.817402126Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.210511ms grafana | logger=migrator t=2023-11-21T11:37:17.821312241Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-11-21T11:37:17.822164925Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=854.564µs grafana | logger=migrator t=2023-11-21T11:37:17.827814187Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-11-21T11:37:17.82786039Z level=info msg="Migration successfully executed" id="Update org table charset" duration=48.223µs grafana | logger=migrator t=2023-11-21T11:37:17.837075601Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-11-21T11:37:17.837127583Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=58.263µs grafana | logger=migrator t=2023-11-21T11:37:17.851324424Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-11-21T11:37:17.851878492Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=553.527µs grafana | logger=migrator t=2023-11-21T11:37:17.858506184Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-11-21T11:37:17.860057281Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.550687ms grafana | logger=migrator t=2023-11-21T11:37:17.865390628Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-11-21T11:37:17.866473313Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.084135ms grafana | logger=migrator t=2023-11-21T11:37:17.875945097Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-11-21T11:37:17.877091334Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.148117ms grafana | logger=migrator t=2023-11-21T11:37:17.881852333Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-11-21T11:37:17.883047923Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.197141ms grafana | logger=migrator t=2023-11-21T11:37:17.887156908Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-11-21T11:37:17.887898355Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=739.157µs grafana | logger=migrator t=2023-11-21T11:37:17.892703016Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-11-21T11:37:17.894082555Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.379618ms grafana | logger=migrator t=2023-11-21T11:37:17.903930958Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-11-21T11:37:17.914470106Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=10.538258ms grafana | logger=migrator t=2023-11-21T11:37:17.924034934Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-11-21T11:37:17.925404453Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=1.369639ms grafana | logger=migrator t=2023-11-21T11:37:17.935413094Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-11-21T11:37:17.936945851Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.533547ms grafana | logger=migrator t=2023-11-21T11:37:17.942276838Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-11-21T11:37:17.94373158Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.456002ms grafana | logger=migrator t=2023-11-21T11:37:17.948815175Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-11-21T11:37:17.949439016Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=622.861µs grafana | logger=migrator t=2023-11-21T11:37:17.954728811Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-11-21T11:37:17.956109641Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.38043ms grafana | logger=migrator t=2023-11-21T11:37:17.959010776Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-11-21T11:37:17.9590838Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=74.024µs grafana | logger=migrator t=2023-11-21T11:37:17.96289115Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-11-21T11:37:17.965069859Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.178229ms grafana | logger=migrator t=2023-11-21T11:37:17.972685831Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-11-21T11:37:17.974666309Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.979758ms grafana | logger=migrator t=2023-11-21T11:37:17.980386326Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-11-21T11:37:17.982329213Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.942238ms grafana | logger=migrator t=2023-11-21T11:37:17.99385337Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-11-21T11:37:17.995300893Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.448753ms grafana | logger=migrator t=2023-11-21T11:37:18.004143565Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-11-21T11:37:18.007321234Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.177759ms grafana | logger=migrator t=2023-11-21T11:37:18.012693063Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-11-21T11:37:18.013686513Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=994.1µs grafana | logger=migrator t=2023-11-21T11:37:18.01822013Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-11-21T11:37:18.019319235Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.097695ms grafana | logger=migrator t=2023-11-21T11:37:18.028099524Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-11-21T11:37:18.028153237Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=60.513µs grafana | logger=migrator t=2023-11-21T11:37:18.038212821Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-11-21T11:37:18.038299925Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=91.934µs grafana | logger=migrator t=2023-11-21T11:37:18.044675394Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-11-21T11:37:18.047233502Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.558338ms grafana | logger=migrator t=2023-11-21T11:37:18.052190761Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-11-21T11:37:18.054793711Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.60252ms grafana | logger=migrator t=2023-11-21T11:37:18.061695196Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-11-21T11:37:18.064622963Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.919936ms grafana | logger=migrator t=2023-11-21T11:37:18.070638264Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-11-21T11:37:18.072890447Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.252943ms grafana | logger=migrator t=2023-11-21T11:37:18.078089357Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-11-21T11:37:18.078369511Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=278.754µs grafana | logger=migrator t=2023-11-21T11:37:18.091364722Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-11-21T11:37:18.093103139Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.738756ms grafana | logger=migrator t=2023-11-21T11:37:18.125132313Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-11-21T11:37:18.126032397Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=903.475µs grafana | logger=migrator t=2023-11-21T11:37:18.130359174Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-11-21T11:37:18.130384666Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=26.652µs grafana | logger=migrator t=2023-11-21T11:37:18.137148264Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-11-21T11:37:18.137975396Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=826.642µs grafana | logger=migrator t=2023-11-21T11:37:18.146688862Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-11-21T11:37:18.147432129Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=743.577µs grafana | logger=migrator t=2023-11-21T11:37:18.155516314Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-21T11:37:18.162052011Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.531726ms grafana | logger=migrator t=2023-11-21T11:37:18.167153506Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-11-21T11:37:18.168010759Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=854.383µs grafana | logger=migrator t=2023-11-21T11:37:18.171281262Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-11-21T11:37:18.172143936Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=863.154µs grafana | logger=migrator t=2023-11-21T11:37:18.175835431Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-11-21T11:37:18.176675553Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=839.452µs grafana | logger=migrator t=2023-11-21T11:37:18.185320015Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-11-21T11:37:18.185726237Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=407.221µs grafana | logger=migrator t=2023-11-21T11:37:18.189971669Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-11-21T11:37:18.190648732Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=679.174µs grafana | logger=migrator t=2023-11-21T11:37:18.195371599Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-11-21T11:37:18.197432442Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.040492ms grafana | logger=migrator t=2023-11-21T11:37:18.205842773Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-11-21T11:37:18.206715387Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=873.764µs grafana | logger=migrator t=2023-11-21T11:37:18.215746769Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-11-21T11:37:18.216262034Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=513.996µs grafana | logger=migrator t=2023-11-21T11:37:18.221266215Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-11-21T11:37:18.221676416Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=409.91µs grafana | logger=migrator t=2023-11-21T11:37:18.22437117Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-11-21T11:37:18.225308408Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=936.808µs grafana | logger=migrator t=2023-11-21T11:37:18.231126019Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-11-21T11:37:18.234435935Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.311206ms grafana | logger=migrator t=2023-11-21T11:37:18.240686737Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-11-21T11:37:18.241770962Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.084865ms grafana | logger=migrator t=2023-11-21T11:37:18.246046296Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-11-21T11:37:18.24693813Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=893.894µs grafana | logger=migrator t=2023-11-21T11:37:18.253232696Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-11-21T11:37:18.25451783Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.287354ms grafana | logger=migrator t=2023-11-21T11:37:18.257762772Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-11-21T11:37:18.259007275Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.244823ms grafana | logger=migrator t=2023-11-21T11:37:18.263249367Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-11-21T11:37:18.26449533Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.245823ms grafana | logger=migrator t=2023-11-21T11:37:18.273464539Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-11-21T11:37:18.285894371Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=12.423861ms grafana | logger=migrator t=2023-11-21T11:37:18.289278461Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-11-21T11:37:18.289976376Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=698.894µs grafana | logger=migrator t=2023-11-21T11:37:18.297590516Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-11-21T11:37:18.29905939Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.469494ms grafana | logger=migrator t=2023-11-21T11:37:18.306114884Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-11-21T11:37:18.30745277Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.337206ms grafana | logger=migrator t=2023-11-21T11:37:18.311232529Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-11-21T11:37:18.312319594Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=1.084935ms grafana | logger=migrator t=2023-11-21T11:37:18.317882673Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-11-21T11:37:18.320605559Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.720896ms grafana | logger=migrator t=2023-11-21T11:37:18.329038231Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-21T11:37:18.331731176Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.692575ms grafana | logger=migrator t=2023-11-21T11:37:18.33720811Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-11-21T11:37:18.337264023Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=27.242µs grafana | logger=migrator t=2023-11-21T11:37:18.344363568Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-11-21T11:37:18.34461373Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=249.522µs grafana | logger=migrator t=2023-11-21T11:37:18.352707656Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-11-21T11:37:18.357945078Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=5.270794ms grafana | logger=migrator t=2023-11-21T11:37:18.363224583Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-11-21T11:37:18.363686966Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=465.193µs grafana | logger=migrator t=2023-11-21T11:37:18.367325997Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-11-21T11:37:18.367630253Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=303.635µs grafana | logger=migrator t=2023-11-21T11:37:18.371233024Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-11-21T11:37:18.373938679Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.707796ms grafana | logger=migrator t=2023-11-21T11:37:18.378092227Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-11-21T11:37:18.378301547Z level=info msg="Migration successfully executed" id="Update uid value" duration=209.091µs grafana | logger=migrator t=2023-11-21T11:37:18.381657516Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-11-21T11:37:18.382511948Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=853.982µs grafana | logger=migrator t=2023-11-21T11:37:18.452940044Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-11-21T11:37:18.454822799Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.883285ms grafana | logger=migrator t=2023-11-21T11:37:18.528772101Z level=info msg="Executing migration" id="create api_key table" mariadb | 2023-11-21 11:37:10+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-21 11:37:10+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-21 11:37:10+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-21 11:37:10+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-21 11:37:10 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-21 11:37:10 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-21 11:37:10 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-21 11:37:12+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-21 11:37:12+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-21 11:37:12+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-21 11:37:12 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 98 ... mariadb | 2023-11-21 11:37:12 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-21 11:37:12 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-21 11:37:12 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-21 11:37:12 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-21 11:37:12 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-21 11:37:12 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-21 11:37:12 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-21 11:37:12 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-21 11:37:12 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-21 11:37:12 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-21 11:37:12 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-21 11:37:12 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-21 11:37:12 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-21 11:37:12 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-21 11:37:12 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-21 11:37:12 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-21 11:37:12 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-21 11:37:12 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-21 11:37:13+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-21 11:37:15+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-21 11:37:15+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-11-21 11:37:16+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-11-21 11:37:16+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;' 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-21 11:37:18+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-11-21 11:37:18 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-11-21 11:37:18 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-11-21 11:37:18 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-11-21 11:37:18 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-21 11:37:18 0 [Note] InnoDB: Buffer pool(s) dump completed at 231121 11:37:18 mariadb | 2023-11-21 11:37:19 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-11-21 11:37:19 0 [Note] InnoDB: Shutdown completed; log sequence number 387115; transaction id 298 mariadb | 2023-11-21 11:37:19 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-11-21 11:37:19+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-11-21 11:37:19+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-11-21 11:37:19 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-11-21 11:37:19 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-21 11:37:19 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-21 11:37:19 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-21 11:37:19 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-21 11:37:19 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-21 11:37:19 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-21 11:37:19 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-21 11:37:19 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-21 11:37:19 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-21 11:37:19 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-21 11:37:19 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-21 11:37:19 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-21 11:37:19 0 [Note] InnoDB: log sequence number 387115; transaction id 299 mariadb | 2023-11-21 11:37:19 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-21 11:37:19 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-21 11:37:19 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-21 11:37:19 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-11-21 11:37:19 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-11-21 11:37:19 0 [Note] Server socket created on IP: '::'. mariadb | 2023-11-21 11:37:19 0 [Note] InnoDB: Buffer pool(s) load completed at 231121 11:37:19 mariadb | 2023-11-21 11:37:19 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-21 11:37:20 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2023-11-21 11:37:20 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.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-21T11:37:38.836+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 59 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-11-21T11:37:38.839+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-21T11:37:40.330+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-21T11:37:40.454+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 76 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-21T11:37:41.462+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-21T11:37:41.475+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-21T11:37:41.476+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-21T11:37:41.476+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-11-21T11:37:41.556+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-21T11:37:41.556+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2658 ms policy-api | [2023-11-21T11:37:42.152+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-21T11:37:42.222+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-11-21T11:37:42.440+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-11-21T11:37:42.570+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-21T11:37:42.668+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-21T11:37:42.688+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-11-21T11:37:44.099+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-11-21T11:37:44.113+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-21T11:37:45.207+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-11-21T11:37:45.996+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-11-21T11:37:47.233+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@780ccdc9, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2d4df467, org.springframework.security.web.context.SecurityContextPersistenceFilter@4cf5cf47, org.springframework.security.web.header.HeaderWriterFilter@249c96cf, org.springframework.security.web.authentication.logout.LogoutFilter@42d039ef, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@625439ba, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@556d8c78, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5e147821, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@65c2610f, org.springframework.security.web.session.SessionManagementFilter@3d44f15d, org.springframework.security.web.access.ExceptionTranslationFilter@6f3cf9ac, org.springframework.security.web.access.intercept.AuthorizationFilter@337f6716] policy-api | [2023-11-21T11:37:47.372+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-21T11:37:50.268+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-11-21T11:37:50.296+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-21T11:37:50.331+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-11-21T11:37:50.390+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.33 seconds (JVM running for 12.965) policy-api | [2023-11-21T11:37:58.131+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-11-21T11:37:58.131+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-11-21T11:37:58.133+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2023-11-21T11:38:01.135+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-11-21T11:38:01.253+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2023-11-21T11:38:01.510+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes policy-api | [2023-11-21T11:38:02.600+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-11-21T11:38:04.762+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-11-21T11:38:05.228+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-11-21T11:38:05.531+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-11-21T11:38:05.763+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-11-21T11:38:05.987+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-11-21T11:38:06.204+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2023-11-21T11:37:18.530432144Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.662284ms grafana | logger=migrator t=2023-11-21T11:37:18.749380476Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-11-21T11:37:18.751249218Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.872083ms grafana | logger=migrator t=2023-11-21T11:37:18.952719655Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-11-21T11:37:18.954794379Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=2.058943ms grafana | logger=migrator t=2023-11-21T11:37:19.001762851Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-11-21T11:37:19.003098027Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.337106ms grafana | logger=migrator t=2023-11-21T11:37:19.014383282Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-11-21T11:37:19.015151261Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=767.909µs grafana | logger=migrator t=2023-11-21T11:37:19.082856591Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-11-21T11:37:19.084780557Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.926775ms grafana | logger=migrator t=2023-11-21T11:37:19.122490555Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" prometheus | ts=2023-11-21T11:37:13.483Z 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-21T11:37:13.483Z 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-21T11:37:13.483Z 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-21T11:37:13.483Z 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-21T11:37:13.483Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-11-21T11:37:13.483Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-11-21T11:37:13.487Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-11-21T11:37:13.489Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-11-21T11:37:13.490Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-11-21T11:37:13.490Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-11-21T11:37:13.495Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-11-21T11:37:13.495Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=4.47µs prometheus | ts=2023-11-21T11:37:13.495Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-11-21T11:37:13.496Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-11-21T11:37:13.496Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=36.012µs wal_replay_duration=442.691µs wbl_replay_duration=280ns total_replay_duration=507.055µs prometheus | ts=2023-11-21T11:37:13.499Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-11-21T11:37:13.499Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-11-21T11:37:13.499Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-11-21T11:37:13.585Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=86.406309ms db_storage=2.11µs remote_storage=3.161µs web_handler=670ns query_engine=1.31µs scrape=53.328027ms scrape_sd=189.989µs notify=49.843µs notify_sd=20.991µs rules=2.77µs tracing=8.81µs prometheus | ts=2023-11-21T11:37:13.585Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-11-21T11:37:13.585Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2023-11-21T11:37:19.124017021Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.526826ms grafana | logger=migrator t=2023-11-21T11:37:19.160811434Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-11-21T11:37:19.173171842Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=12.360768ms grafana | logger=migrator t=2023-11-21T11:37:19.192310381Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-11-21T11:37:19.193736231Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=1.421541ms grafana | logger=migrator t=2023-11-21T11:37:19.204779814Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-11-21T11:37:19.206032318Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.249783ms grafana | logger=migrator t=2023-11-21T11:37:19.211571155Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-11-21T11:37:19.213523242Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.951747ms grafana | logger=migrator t=2023-11-21T11:37:19.221548784Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-11-21T11:37:19.223124313Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.580949ms grafana | logger=migrator t=2023-11-21T11:37:19.229912813Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-11-21T11:37:19.230482821Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=570.159µs grafana | logger=migrator t=2023-11-21T11:37:19.240900443Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-11-21T11:37:19.241620559Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=725.847µs grafana | logger=migrator t=2023-11-21T11:37:19.248364307Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-11-21T11:37:19.2484325Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=74.054µs grafana | logger=migrator t=2023-11-21T11:37:19.305539039Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-11-21T11:37:19.307999802Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.463923ms grafana | logger=migrator t=2023-11-21T11:37:19.311596362Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-11-21T11:37:19.314194662Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.59753ms grafana | logger=migrator t=2023-11-21T11:37:19.324612174Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-11-21T11:37:19.324772542Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=157.788µs grafana | logger=migrator t=2023-11-21T11:37:19.334038236Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-11-21T11:37:19.336950612Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.913427ms grafana | logger=migrator t=2023-11-21T11:37:19.340569943Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-11-21T11:37:19.342774744Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.205511ms grafana | logger=migrator t=2023-11-21T11:37:19.346220406Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-11-21T11:37:19.346676199Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=455.433µs grafana | logger=migrator t=2023-11-21T11:37:19.355239637Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-11-21T11:37:19.356118511Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=878.614µs grafana | logger=migrator t=2023-11-21T11:37:19.361425997Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-11-21T11:37:19.363062839Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.614001ms grafana | logger=migrator t=2023-11-21T11:37:19.37008526Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-11-21T11:37:19.370882711Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=796.691µs grafana | logger=migrator t=2023-11-21T11:37:19.381538634Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-11-21T11:37:19.382677511Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.137727ms grafana | logger=migrator t=2023-11-21T11:37:19.386542214Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-11-21T11:37:19.388483222Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.919907ms grafana | logger=migrator t=2023-11-21T11:37:19.392949025Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-11-21T11:37:19.393007929Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=59.874µs grafana | logger=migrator t=2023-11-21T11:37:19.399675532Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-11-21T11:37:19.399697753Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=22.861µs grafana | logger=migrator t=2023-11-21T11:37:19.405118465Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-11-21T11:37:19.409498404Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.378748ms grafana | logger=migrator t=2023-11-21T11:37:19.445260794Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-11-21T11:37:19.450944169Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=5.684505ms grafana | logger=migrator t=2023-11-21T11:37:19.454829904Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-11-21T11:37:19.454888097Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=58.683µs grafana | logger=migrator t=2023-11-21T11:37:19.515776424Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-11-21T11:37:19.51767642Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.925097ms grafana | logger=migrator t=2023-11-21T11:37:19.521643728Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-11-21T11:37:19.522450439Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=808.721µs grafana | logger=migrator t=2023-11-21T11:37:19.5288658Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-11-21T11:37:19.528899792Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=34.982µs grafana | logger=migrator t=2023-11-21T11:37:19.589125057Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-11-21T11:37:19.589969719Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=846.322µs grafana | logger=migrator t=2023-11-21T11:37:19.596089886Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-11-21T11:37:19.59738836Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.298075ms grafana | logger=migrator t=2023-11-21T11:37:19.647030396Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-11-21T11:37:19.650760063Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.732548ms grafana | logger=migrator t=2023-11-21T11:37:19.722132916Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-11-21T11:37:19.722199769Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=71.823µs grafana | logger=migrator t=2023-11-21T11:37:19.732907816Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-11-21T11:37:19.73379311Z level=info msg="Migration successfully executed" id="create session table" duration=885.334µs grafana | logger=migrator t=2023-11-21T11:37:19.798829905Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-11-21T11:37:19.799064907Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=238.762µs grafana | logger=migrator t=2023-11-21T11:37:19.828387686Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-11-21T11:37:19.828628538Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=243.522µs grafana | logger=migrator t=2023-11-21T11:37:19.868497713Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-11-21T11:37:19.869937556Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.442133ms grafana | logger=migrator t=2023-11-21T11:37:19.877445611Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-11-21T11:37:19.878150767Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=705.026µs grafana | logger=migrator t=2023-11-21T11:37:19.912022963Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-11-21T11:37:19.912089256Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=70.653µs grafana | logger=migrator t=2023-11-21T11:37:19.943301849Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-11-21T11:37:19.943392213Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=91.085µs grafana | logger=migrator t=2023-11-21T11:37:19.948398454Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-11-21T11:37:19.953415575Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.016931ms grafana | logger=migrator t=2023-11-21T11:37:19.983168874Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-11-21T11:37:19.989954985Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=6.787481ms grafana | logger=migrator t=2023-11-21T11:37:20.063195311Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-11-21T11:37:20.063399442Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=257.422µs grafana | logger=migrator t=2023-11-21T11:37:20.095243495Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-11-21T11:37:20.095487768Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=248.412µs grafana | logger=migrator t=2023-11-21T11:37:20.115934342Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-11-21T11:37:20.117747642Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.81362ms grafana | logger=migrator t=2023-11-21T11:37:20.123618906Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-11-21T11:37:20.123652408Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=33.441µs grafana | logger=migrator t=2023-11-21T11:37:20.150776086Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-11-21T11:37:20.157400357Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=6.629572ms grafana | logger=migrator t=2023-11-21T11:37:20.180378418Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-11-21T11:37:20.180736046Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=360.578µs grafana | logger=migrator t=2023-11-21T11:37:20.188934497Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-11-21T11:37:20.193266313Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.333107ms grafana | logger=migrator t=2023-11-21T11:37:20.255603834Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-11-21T11:37:20.260846376Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=5.246323ms grafana | logger=migrator t=2023-11-21T11:37:20.270602545Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-11-21T11:37:20.27069785Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=94.555µs grafana | logger=migrator t=2023-11-21T11:37:20.322978807Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-11-21T11:37:20.323921805Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=929.548µs grafana | logger=migrator t=2023-11-21T11:37:20.356019271Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-11-21T11:37:20.357556718Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.554128ms grafana | logger=migrator t=2023-11-21T11:37:20.365259544Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-11-21T11:37:20.366428982Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.169508ms 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 | 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 | -------------- 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 | -------------- grafana | logger=migrator t=2023-11-21T11:37:20.421753022Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-11-21T11:37:20.423255347Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.502155ms grafana | logger=migrator t=2023-11-21T11:37:20.473796727Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-11-21T11:37:20.475060031Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.260874ms grafana | logger=migrator t=2023-11-21T11:37:20.482112894Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-11-21T11:37:20.483055772Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=942.608µs grafana | logger=migrator t=2023-11-21T11:37:20.489404119Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-11-21T11:37:20.490531605Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.125546ms grafana | logger=migrator t=2023-11-21T11:37:20.508204731Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-11-21T11:37:20.509893365Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.691194ms grafana | logger=migrator t=2023-11-21T11:37:20.603728423Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-11-21T11:37:20.605523732Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.793009ms grafana | logger=migrator t=2023-11-21T11:37:20.618605798Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-11-21T11:37:20.635180147Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=16.57435ms grafana | logger=migrator t=2023-11-21T11:37:20.771492222Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-11-21T11:37:20.773600167Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=2.111515ms grafana | logger=migrator t=2023-11-21T11:37:20.782085562Z 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-21T11:37:20.783020069Z 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=936.197µs grafana | logger=migrator t=2023-11-21T11:37:20.824243492Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-11-21T11:37:20.825487415Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=1.245953ms grafana | logger=migrator t=2023-11-21T11:37:20.889068169Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-11-21T11:37:20.889981184Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=919.596µs grafana | logger=migrator t=2023-11-21T11:37:20.898130922Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-11-21T11:37:20.899004056Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=874.123µs grafana | logger=migrator t=2023-11-21T11:37:20.958608619Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-11-21T11:37:20.965454343Z level=info msg="Migration successfully executed" id="Add column is_default" duration=6.848334ms grafana | logger=migrator t=2023-11-21T11:37:20.985903976Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-11-21T11:37:20.993319258Z level=info msg="Migration successfully executed" id="Add column frequency" duration=7.459543ms grafana | logger=migrator t=2023-11-21T11:37:21.055306328Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-11-21T11:37:21.058616424Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.313046ms grafana | logger=migrator t=2023-11-21T11:37:21.098306435Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-11-21T11:37:21.107336558Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=9.031653ms grafana | logger=migrator t=2023-11-21T11:37:21.15378885Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-11-21T11:37:21.155844403Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=2.056103ms grafana | logger=migrator t=2023-11-21T11:37:21.264184279Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-11-21T11:37:21.264248793Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=66.204µs grafana | logger=migrator t=2023-11-21T11:37:21.38572691Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-11-21T11:37:21.385761861Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=37.542µs grafana | logger=migrator t=2023-11-21T11:37:21.406125653Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-11-21T11:37:21.407122653Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=997.679µs grafana | logger=migrator t=2023-11-21T11:37:21.49772662Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-21T11:37:21.499621795Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.894844ms grafana | logger=migrator t=2023-11-21T11:37:21.550650356Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-11-21T11:37:21.552050006Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.39736ms grafana | logger=migrator t=2023-11-21T11:37:21.620146834Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-11-21T11:37:21.621500951Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.353847ms 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 | grafana | logger=migrator t=2023-11-21T11:37:21.678809227Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-21T11:37:21.705329448Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=26.511091ms grafana | logger=migrator t=2023-11-21T11:37:21.71473553Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-11-21T11:37:21.719046537Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.310807ms grafana | logger=migrator t=2023-11-21T11:37:21.816513698Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-11-21T11:37:21.823271277Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=6.761449ms policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-21T11:37:21.945330313Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-11-21T11:37:21.945837238Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=509.625µs grafana | logger=migrator t=2023-11-21T11:37:22.021861203Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-11-21T11:37:22.023448782Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.589049ms grafana | logger=migrator t=2023-11-21T11:37:22.115927703Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-11-21T11:37:22.117419189Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.510576ms grafana | logger=migrator t=2023-11-21T11:37:22.226374356Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-11-21T11:37:22.232455361Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=6.085145ms grafana | logger=migrator t=2023-11-21T11:37:22.411698837Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-11-21T11:37:22.412010472Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=314.706µs grafana | logger=migrator t=2023-11-21T11:37:22.749695859Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-11-21T11:37:22.771399917Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=21.696748ms grafana | logger=migrator t=2023-11-21T11:37:22.910052936Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-11-21T11:37:22.911047696Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=997.4µs grafana | logger=migrator t=2023-11-21T11:37:23.180320049Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-11-21T11:37:23.180672067Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=352.719µs grafana | logger=migrator t=2023-11-21T11:37:23.867258573Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-11-21T11:37:23.86881394Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.561158ms grafana | logger=migrator t=2023-11-21T11:37:24.319892677Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-11-21T11:37:24.321232965Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.342398ms grafana | logger=migrator t=2023-11-21T11:37:24.665478741Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-11-21T11:37:24.667283261Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.80639ms grafana | logger=migrator t=2023-11-21T11:37:24.983354292Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-11-21T11:37:24.985167174Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.815382ms grafana | logger=migrator t=2023-11-21T11:37:25.081909128Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-11-21T11:37:25.083826335Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.917907ms grafana | logger=migrator t=2023-11-21T11:37:25.557519986Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-11-21T11:37:25.559488186Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.969459ms grafana | logger=migrator t=2023-11-21T11:37:26.151149117Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-11-21T11:37:26.151269113Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=125.616µs grafana | logger=migrator t=2023-11-21T11:37:26.570541884Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-11-21T11:37:26.577355556Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.815962ms grafana | logger=migrator t=2023-11-21T11:37:26.75079201Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-11-21T11:37:26.752456844Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.672934ms grafana | logger=migrator t=2023-11-21T11:37:26.883143301Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-11-21T11:37:26.890905801Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=7.77217ms grafana | logger=migrator t=2023-11-21T11:37:26.958010419Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-11-21T11:37:26.959303423Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=1.295165ms grafana | logger=migrator t=2023-11-21T11:37:27.007293891Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-11-21T11:37:27.009337164Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=2.048353ms grafana | logger=migrator t=2023-11-21T11:37:27.072867933Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-11-21T11:37:27.074376378Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.509846ms grafana | logger=migrator t=2023-11-21T11:37:27.164899551Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-11-21T11:37:27.199673076Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=34.753064ms grafana | logger=migrator t=2023-11-21T11:37:27.310043655Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-21T11:37:27.310803703Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=763.018µs grafana | logger=migrator t=2023-11-21T11:37:27.510371208Z 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-21T11:37:27.511873944Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.504606ms grafana | logger=migrator t=2023-11-21T11:37:27.596593955Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-11-21T11:37:27.597118912Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=527.686µs grafana | logger=migrator t=2023-11-21T11:37:27.609579406Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-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-21T11:37:27.610516304Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=938.978µs grafana | logger=migrator t=2023-11-21T11:37:27.853396603Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-11-21T11:37:27.853769292Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=375.798µs grafana | logger=migrator t=2023-11-21T11:37:28.003326327Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-11-21T11:37:28.010299067Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.974871ms grafana | logger=migrator t=2023-11-21T11:37:28.127155801Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-11-21T11:37:28.134229576Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=7.073936ms grafana | logger=migrator t=2023-11-21T11:37:28.212703564Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-11-21T11:37:28.213549446Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=847.142µs grafana | logger=migrator t=2023-11-21T11:37:28.22258756Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-11-21T11:37:28.223527338Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=942.057µs grafana | logger=migrator t=2023-11-21T11:37:28.391056704Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-11-21T11:37:28.391431974Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=376.69µs grafana | logger=migrator t=2023-11-21T11:37:28.655499005Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-11-21T11:37:28.65979294Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.296815ms grafana | logger=migrator t=2023-11-21T11:37:28.800878961Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-11-21T11:37:28.802490422Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.61292ms grafana | logger=migrator t=2023-11-21T11:37:28.868331076Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-11-21T11:37:28.868723176Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=396.49µs grafana | logger=migrator t=2023-11-21T11:37:28.990532048Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-11-21T11:37:28.991377831Z level=info msg="Migration successfully executed" id="Move region to single row" duration=851.813µs grafana | logger=migrator t=2023-11-21T11:37:29.090334627Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-11-21T11:37:29.091309886Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=975.438µs grafana | logger=migrator t=2023-11-21T11:37:29.419255713Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-11-21T11:37:29.420764479Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.512336ms grafana | logger=migrator t=2023-11-21T11:37:29.564379606Z 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-21T11:37:29.565974927Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.59215ms grafana | logger=migrator t=2023-11-21T11:37:29.623005628Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-21T11:37:29.624538656Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.534398ms grafana | logger=migrator t=2023-11-21T11:37:29.674026789Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-11-21T11:37:29.675461291Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.437053ms grafana | logger=migrator t=2023-11-21T11:37:29.71550096Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-11-21T11:37:29.716897631Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.397631ms grafana | logger=migrator t=2023-11-21T11:37:29.784725794Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-11-21T11:37:29.784868652Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=149.827µs grafana | logger=migrator t=2023-11-21T11:37:29.937298371Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-11-21T11:37:29.940336033Z level=info msg="Migration successfully executed" id="create test_data table" duration=3.038843ms grafana | logger=migrator t=2023-11-21T11:37:30.005383208Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-11-21T11:37:30.006711494Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.330726ms grafana | logger=migrator t=2023-11-21T11:37:30.023801762Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-11-21T11:37:30.025016583Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.217581ms grafana | logger=migrator t=2023-11-21T11:37:30.087242086Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-11-21T11:37:30.088859016Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.618ms grafana | logger=migrator t=2023-11-21T11:37:30.18756062Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-11-21T11:37:30.188047285Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=489.555µs grafana | logger=migrator t=2023-11-21T11:37:30.3089076Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-11-21T11:37:30.309686659Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=778.949µs grafana | logger=migrator t=2023-11-21T11:37:30.366458278Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-11-21T11:37:30.366561244Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=102.335µs grafana | logger=migrator t=2023-11-21T11:37:30.430872541Z level=info msg="Executing migration" id="create team 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 | -------------- grafana | logger=migrator t=2023-11-21T11:37:30.432187827Z level=info msg="Migration successfully executed" id="create team table" duration=1.316725ms grafana | logger=migrator t=2023-11-21T11:37:30.676325938Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-11-21T11:37:30.677411913Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.091195ms grafana | logger=migrator t=2023-11-21T11:37:30.883113356Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-11-21T11:37:30.884889995Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.77765ms grafana | logger=migrator t=2023-11-21T11:37:31.02927138Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-11-21T11:37:31.036585198Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.319128ms grafana | logger=migrator t=2023-11-21T11:37:31.051501506Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-11-21T11:37:31.051868974Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=372.718µs grafana | logger=migrator t=2023-11-21T11:37:31.083497672Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-11-21T11:37:31.085164775Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.668693ms grafana | logger=migrator t=2023-11-21T11:37:31.088603938Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-11-21T11:37:31.089803279Z level=info msg="Migration successfully executed" id="create team member table" duration=1.19845ms grafana | logger=migrator t=2023-11-21T11:37:31.22992223Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-11-21T11:37:31.232165743Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=2.245553ms grafana | logger=migrator t=2023-11-21T11:37:31.237350342Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-11-21T11:37:31.238512181Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.161159ms grafana | logger=migrator t=2023-11-21T11:37:31.314827991Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-11-21T11:37:31.315894034Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.069113ms grafana | logger=migrator t=2023-11-21T11:37:31.395751572Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-11-21T11:37:31.404861879Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=9.109527ms grafana | logger=migrator t=2023-11-21T11:37:31.41066914Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-11-21T11:37:31.415778227Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=5.107547ms grafana | logger=migrator t=2023-11-21T11:37:31.4208092Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-11-21T11:37:31.426072354Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.262365ms grafana | logger=migrator t=2023-11-21T11:37:31.459308352Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-11-21T11:37:31.461055219Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.747507ms grafana | logger=migrator t=2023-11-21T11:37:31.515222178Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-11-21T11:37:31.51686596Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.647452ms grafana | logger=migrator t=2023-11-21T11:37:31.520918894Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-11-21T11:37:31.522029429Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.109655ms grafana | logger=migrator t=2023-11-21T11:37:31.526853151Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-11-21T11:37:31.5286363Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.782489ms grafana | logger=migrator t=2023-11-21T11:37:31.532449412Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-11-21T11:37:31.534063813Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.61377ms grafana | logger=migrator t=2023-11-21T11:37:31.538753018Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-11-21T11:37:31.539701966Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=948.798µs grafana | logger=migrator t=2023-11-21T11:37:31.574838639Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-11-21T11:37:31.57662938Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.79288ms grafana | logger=migrator t=2023-11-21T11:37:31.58103363Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-11-21T11:37:31.582877103Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.846323ms grafana | logger=migrator t=2023-11-21T11:37:31.613130291Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-11-21T11:37:31.614268348Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=1.139567ms grafana | logger=migrator t=2023-11-21T11:37:31.617924851Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-11-21T11:37:31.618408685Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=483.114µs grafana | logger=migrator t=2023-11-21T11:37:31.649981491Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-11-21T11:37:31.651217442Z level=info msg="Migration successfully executed" id="create tag table" duration=1.235172ms grafana | logger=migrator t=2023-11-21T11:37:31.658150271Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-11-21T11:37:31.659988332Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.838022ms grafana | logger=migrator t=2023-11-21T11:37:31.66411419Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-11-21T11:37:31.66552117Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.40596ms grafana | logger=migrator t=2023-11-21T11:37:31.67031024Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-11-21T11:37:31.671355493Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.045412ms 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 | -------------- grafana | logger=migrator t=2023-11-21T11:37:31.674568625Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-11-21T11:37:31.675565334Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=996.869µs grafana | logger=migrator t=2023-11-21T11:37:31.678463Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-21T11:37:31.700959789Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=22.497779ms grafana | logger=migrator t=2023-11-21T11:37:31.70777486Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-11-21T11:37:31.708617623Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=842.033µs grafana | logger=migrator t=2023-11-21T11:37:31.712387862Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-11-21T11:37:31.713822355Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.432072ms grafana | logger=migrator t=2023-11-21T11:37:31.717212184Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-11-21T11:37:31.717838366Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=622.511µs grafana | logger=migrator t=2023-11-21T11:37:31.72529094Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-11-21T11:37:31.726053558Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=761.488µs grafana | logger=migrator t=2023-11-21T11:37:31.73744543Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-11-21T11:37:31.739138605Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.690596ms grafana | logger=migrator t=2023-11-21T11:37:31.743091283Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-11-21T11:37:31.745006779Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.915536ms grafana | logger=migrator t=2023-11-21T11:37:31.749984758Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-11-21T11:37:31.750064042Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=78.244µs grafana | logger=migrator t=2023-11-21T11:37:31.753268254Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-11-21T11:37:31.757249893Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=3.979689ms grafana | logger=migrator t=2023-11-21T11:37:31.760160479Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-11-21T11:37:31.765462186Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.298716ms grafana | logger=migrator t=2023-11-21T11:37:31.770474827Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-11-21T11:37:31.775925761Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.449754ms grafana | logger=migrator t=2023-11-21T11:37:31.863606601Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-11-21T11:37:31.871823063Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=8.217462ms grafana | logger=migrator t=2023-11-21T11:37:31.874730209Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-11-21T11:37:31.875619503Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=888.764µs grafana | logger=migrator t=2023-11-21T11:37:31.87834412Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-11-21T11:37:31.882822655Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=4.453674ms grafana | logger=migrator t=2023-11-21T11:37:31.887972954Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-11-21T11:37:31.888806175Z level=info msg="Migration successfully executed" id="create server_lock table" duration=832.221µs grafana | logger=migrator t=2023-11-21T11:37:31.894496811Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-11-21T11:37:31.896119293Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.622112ms grafana | logger=migrator t=2023-11-21T11:37:31.900157725Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-11-21T11:37:31.901500653Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.340848ms grafana | logger=migrator t=2023-11-21T11:37:31.906303323Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-11-21T11:37:31.907327525Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.023812ms grafana | logger=migrator t=2023-11-21T11:37:31.910325616Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-11-21T11:37:31.911347497Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.021791ms grafana | logger=migrator t=2023-11-21T11:37:31.914564438Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-11-21T11:37:31.916352818Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.78816ms grafana | logger=migrator t=2023-11-21T11:37:31.921452284Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-11-21T11:37:31.92695152Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.498236ms grafana | logger=migrator t=2023-11-21T11:37:31.931726469Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-11-21T11:37:31.932782843Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.055884ms grafana | logger=migrator t=2023-11-21T11:37:31.943053787Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-11-21T11:37:31.944465589Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.411022ms grafana | logger=migrator t=2023-11-21T11:37:31.949588966Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-11-21T11:37:31.951324083Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.734496ms grafana | logger=migrator t=2023-11-21T11:37:31.954629598Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-11-21T11:37:31.95605567Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.427592ms grafana | logger=migrator t=2023-11-21T11:37:31.961395288Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-11-21T11:37:31.962392248Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=996.75µs grafana | logger=migrator t=2023-11-21T11:37:31.965757817Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-11-21T11:37:31.965853121Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=98.345µs grafana | logger=migrator t=2023-11-21T11:37:31.968469653Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-11-21T11:37:31.968761928Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=290.565µs grafana | logger=migrator t=2023-11-21T11:37:31.973704486Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-11-21T11:37:31.975529448Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.826182ms grafana | logger=migrator t=2023-11-21T11:37:31.983831214Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-21T11:37:31.985505509Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.673324ms grafana | logger=migrator t=2023-11-21T11:37:31.988748881Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-21T11:37:31.990410154Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.660703ms grafana | logger=migrator t=2023-11-21T11:37:31.993411225Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- 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 | grafana | logger=migrator t=2023-11-21T11:37:31.993562722Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=154.318µs grafana | logger=migrator t=2023-11-21T11:37:31.995890419Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-21T11:37:31.9966982Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=806.71µs grafana | logger=migrator t=2023-11-21T11:37:31.999340802Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-21T11:37:32.000045628Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=705.046µs grafana | logger=migrator t=2023-11-21T11:37:32.004649419Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-21T11:37:32.005708173Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.058394ms grafana | logger=migrator t=2023-11-21T11:37:32.008383158Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-21T11:37:32.009411659Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.028171ms grafana | logger=migrator t=2023-11-21T11:37:32.01378865Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-11-21T11:37:32.019848734Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.059455ms grafana | logger=migrator t=2023-11-21T11:37:32.024500368Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-11-21T11:37:32.025443926Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=943.479µs grafana | logger=migrator t=2023-11-21T11:37:32.028351342Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-11-21T11:37:32.028457347Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=108.425µs grafana | logger=migrator t=2023-11-21T11:37:32.03129316Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-11-21T11:37:32.032256428Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=963.338µs grafana | logger=migrator t=2023-11-21T11:37:32.036810967Z 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-21T11:37:32.03785451Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.043342ms grafana | logger=migrator t=2023-11-21T11:37:32.04064933Z 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-21T11:37:32.041677913Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.028372ms grafana | logger=migrator t=2023-11-21T11:37:32.052483635Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-21T11:37:32.052601421Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=119.626µs grafana | logger=migrator t=2023-11-21T11:37:32.058453516Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-11-21T11:37:32.059403634Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=949.528µs grafana | logger=migrator t=2023-11-21T11:37:32.063680078Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-11-21T11:37:32.064528962Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=848.464µs grafana | logger=migrator t=2023-11-21T11:37:32.067508392Z 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-21T11:37:32.068985435Z 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.475883ms grafana | logger=migrator t=2023-11-21T11:37:32.108220379Z 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-21T11:37:32.110105494Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.884835ms grafana | logger=migrator t=2023-11-21T11:37:32.119306297Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-11-21T11:37:32.125158421Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.851334ms grafana | logger=migrator t=2023-11-21T11:37:32.127799984Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-21T11:37:32.12890833Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.108126ms grafana | logger=migrator t=2023-11-21T11:37:32.13465927Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-21T11:37:32.135574585Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=915.275µs grafana | logger=migrator t=2023-11-21T11:37:32.139010928Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-11-21T11:37:32.180846633Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=41.832794ms grafana | logger=migrator t=2023-11-21T11:37:32.183707646Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-11-21T11:37:32.219879416Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=36.17198ms grafana | logger=migrator t=2023-11-21T11:37:32.224366102Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-21T11:37:32.225334581Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=968.318µs grafana | logger=migrator t=2023-11-21T11:37:32.227674418Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-21T11:37:32.228620316Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=945.938µs grafana | logger=migrator t=2023-11-21T11:37:32.231388215Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-11-21T11:37:32.237360725Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.96882ms grafana | logger=migrator t=2023-11-21T11:37:32.241479823Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-11-21T11:37:32.242380048Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=899.525µs grafana | logger=migrator t=2023-11-21T11:37:32.246155678Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-11-21T11:37:32.247102456Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=948.408µs grafana | logger=migrator t=2023-11-21T11:37:32.252463706Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-11-21T11:37:32.253790112Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.325967ms grafana | logger=migrator t=2023-11-21T11:37:32.258672198Z 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-21T11:37:32.259699429Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.026941ms grafana | logger=migrator t=2023-11-21T11:37:32.262967194Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-21T11:37:32.263115722Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=148.147µs grafana | logger=migrator t=2023-11-21T11:37:32.266340374Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-11-21T11:37:32.273619789Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.283986ms grafana | logger=migrator t=2023-11-21T11:37:32.278936187Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-11-21T11:37:32.288782242Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=9.842885ms grafana | logger=migrator t=2023-11-21T11:37:32.295076299Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-11-21T11:37:32.301637829Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.560849ms grafana | logger=migrator t=2023-11-21T11:37:32.304124594Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-11-21T11:37:32.304943346Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=818.352µs grafana | logger=migrator t=2023-11-21T11:37:32.309857742Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-21T11:37:32.310545467Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=687.625µs grafana | logger=migrator t=2023-11-21T11:37:32.312214901Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-11-21T11:37:32.321918049Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=9.696518ms grafana | logger=migrator t=2023-11-21T11:37:32.325091949Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-11-21T11:37:32.332319792Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=7.226733ms grafana | logger=migrator t=2023-11-21T11:37:32.338935085Z 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-21T11:37:32.340239641Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.303995ms grafana | logger=migrator t=2023-11-21T11:37:32.344356448Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-11-21T11:37:32.351535609Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=7.179501ms grafana | logger=migrator t=2023-11-21T11:37:32.354688147Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-11-21T11:37:32.362667909Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=7.980112ms grafana | logger=migrator t=2023-11-21T11:37:32.36647895Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-11-21T11:37:32.366625118Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=145.808µs grafana | logger=migrator t=2023-11-21T11:37:32.374693443Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-11-21T11:37:32.376455132Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.759259ms grafana | logger=migrator t=2023-11-21T11:37:32.381044754Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | 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 2111231137200800u 1 2023-11-21 11:37:21 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:21 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:21 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:21 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:21 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:22 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:22 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:22 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:23 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:24 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:25 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:26 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:26 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:26 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:27 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:27 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:27 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:27 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:28 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:28 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:28 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:29 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:29 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:29 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:30 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:30 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:30 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:30 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:31 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:31 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:31 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:31 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:31 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:31 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:31 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:31 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:31 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:31 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:31 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:31 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:32 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 grafana | logger=migrator t=2023-11-21T11:37:32.382185611Z 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.140547ms grafana | logger=migrator t=2023-11-21T11:37:32.38534992Z 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-21T11:37:32.387382662Z 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=2.030142ms grafana | logger=migrator t=2023-11-21T11:37:32.392072948Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-21T11:37:32.392412315Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=338.997µs grafana | logger=migrator t=2023-11-21T11:37:32.395811526Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-11-21T11:37:32.40266156Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.849004ms grafana | logger=migrator t=2023-11-21T11:37:32.405873823Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-11-21T11:37:32.413241353Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=7.364439ms grafana | logger=migrator t=2023-11-21T11:37:32.418278496Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-11-21T11:37:32.425296039Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=7.017463ms grafana | logger=migrator t=2023-11-21T11:37:32.431733603Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-11-21T11:37:32.440504964Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=8.767041ms grafana | logger=migrator t=2023-11-21T11:37:32.444083284Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-11-21T11:37:32.453164611Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=9.081957ms grafana | logger=migrator t=2023-11-21T11:37:32.456466128Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-11-21T11:37:32.456678888Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=213.24µs grafana | logger=migrator t=2023-11-21T11:37:32.460574974Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-11-21T11:37:32.46169514Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.119286ms grafana | logger=migrator t=2023-11-21T11:37:32.464576816Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-11-21T11:37:32.471396868Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.821662ms grafana | logger=migrator t=2023-11-21T11:37:32.476017321Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-11-21T11:37:32.476155058Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=137.097µs grafana | logger=migrator t=2023-11-21T11:37:32.481146408Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-11-21T11:37:32.487419705Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.272587ms grafana | logger=migrator t=2023-11-21T11:37:32.490480939Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-11-21T11:37:32.491817195Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.336567ms grafana | logger=migrator t=2023-11-21T11:37:32.494676769Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-11-21T11:37:32.501323974Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.646945ms grafana | logger=migrator t=2023-11-21T11:37:32.505838731Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-11-21T11:37:32.506635811Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=796.95µs grafana | logger=migrator t=2023-11-21T11:37:32.509623582Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-11-21T11:37:32.510628852Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.00519ms grafana | logger=migrator t=2023-11-21T11:37:32.513478325Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-11-21T11:37:32.519896868Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.418053ms grafana | logger=migrator t=2023-11-21T11:37:32.524047417Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-11-21T11:37:32.525047517Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=999.72µs grafana | logger=migrator t=2023-11-21T11:37:32.529287761Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-11-21T11:37:32.53047311Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.184799ms grafana | logger=migrator t=2023-11-21T11:37:32.537681963Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-11-21T11:37:32.538473453Z level=info msg="Migration successfully executed" id="create alert_image table" duration=791.229µs grafana | logger=migrator t=2023-11-21T11:37:32.546337488Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-11-21T11:37:32.54797988Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.612111ms grafana | logger=migrator t=2023-11-21T11:37:32.552966621Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-11-21T11:37:32.553411384Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=445.673µs policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:33 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:34 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:34 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:34 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:34 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:34 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:34 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:34 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:34 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:34 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:34 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:34 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2111231137200800u 1 2023-11-21 11:37:35 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2111231137200900u 1 2023-11-21 11:37:35 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2111231137200900u 1 2023-11-21 11:37:35 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2111231137200900u 1 2023-11-21 11:37:35 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2111231137200900u 1 2023-11-21 11:37:35 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2111231137200900u 1 2023-11-21 11:37:35 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2111231137200900u 1 2023-11-21 11:37:35 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2111231137200900u 1 2023-11-21 11:37:35 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2111231137200900u 1 2023-11-21 11:37:35 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2111231137200900u 1 2023-11-21 11:37:35 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2111231137200900u 1 2023-11-21 11:37:35 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2111231137200900u 1 2023-11-21 11:37:35 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2111231137200900u 1 2023-11-21 11:37:35 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2111231137200900u 1 2023-11-21 11:37:35 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2111231137201000u 1 2023-11-21 11:37:35 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2111231137201000u 1 2023-11-21 11:37:35 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2111231137201000u 1 2023-11-21 11:37:35 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2111231137201000u 1 2023-11-21 11:37:35 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2111231137201000u 1 2023-11-21 11:37:36 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2111231137201000u 1 2023-11-21 11:37:36 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2111231137201000u 1 2023-11-21 11:37:36 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2111231137201000u 1 2023-11-21 11:37:36 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2111231137201000u 1 2023-11-21 11:37:36 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2111231137201100u 1 2023-11-21 11:37:36 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2111231137201200u 1 2023-11-21 11:37:36 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2111231137201200u 1 2023-11-21 11:37:36 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2111231137201200u 1 2023-11-21 11:37:36 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2111231137201200u 1 2023-11-21 11:37:36 policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=migrator t=2023-11-21T11:37:32.557716491Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-11-21T11:37:32.558755493Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.039071ms grafana | logger=migrator t=2023-11-21T11:37:32.562835808Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2023-11-21T11:37:32.563933573Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.097425ms grafana | logger=migrator t=2023-11-21T11:37:32.568015478Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-21T11:37:32.568496043Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-21T11:37:32.575777009Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-11-21T11:37:32.576331496Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=553.817µs grafana | logger=migrator t=2023-11-21T11:37:32.583319138Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-11-21T11:37:32.585886848Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=2.5672ms grafana | logger=migrator t=2023-11-21T11:37:32.590605455Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-11-21T11:37:32.598112492Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.506568ms grafana | logger=migrator t=2023-11-21T11:37:32.601561086Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-11-21T11:37:32.602928095Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.36794ms grafana | logger=migrator t=2023-11-21T11:37:32.606379608Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-11-21T11:37:32.608947318Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=2.566469ms grafana | logger=migrator t=2023-11-21T11:37:32.616606623Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-11-21T11:37:32.617438605Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=833.861µs grafana | logger=migrator t=2023-11-21T11:37:32.62351115Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-11-21T11:37:32.625617656Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=2.102816ms grafana | logger=migrator t=2023-11-21T11:37:32.652852096Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-11-21T11:37:32.65393147Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.079624ms grafana | logger=migrator t=2023-11-21T11:37:32.657672868Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-11-21T11:37:32.657939172Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=267.644µs grafana | logger=migrator t=2023-11-21T11:37:32.663109242Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-11-21T11:37:32.663287271Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=177.928µs grafana | logger=migrator t=2023-11-21T11:37:32.666456981Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-11-21T11:37:32.666871382Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=415.21µs grafana | logger=migrator t=2023-11-21T11:37:32.673630871Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-11-21T11:37:32.675209111Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.58025ms grafana | logger=migrator t=2023-11-21T11:37:32.714738939Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-11-21T11:37:32.717477477Z level=info msg="Migration successfully executed" id="create secrets table" duration=2.745648ms grafana | logger=migrator t=2023-11-21T11:37:32.721141101Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-11-21T11:37:32.770927836Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=49.781214ms grafana | logger=migrator t=2023-11-21T11:37:32.781904258Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-11-21T11:37:32.79229911Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=10.394572ms grafana | logger=migrator t=2023-11-21T11:37:32.796139754Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-11-21T11:37:32.796587476Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=446.432µs grafana | logger=migrator t=2023-11-21T11:37:32.802673912Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-11-21T11:37:32.846723048Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=44.048776ms grafana | logger=migrator t=2023-11-21T11:37:32.852558302Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-11-21T11:37:32.899591008Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=47.034096ms grafana | logger=migrator t=2023-11-21T11:37:32.904640452Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-11-21T11:37:32.905447273Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=806.91µs grafana | logger=migrator t=2023-11-21T11:37:32.912610542Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-11-21T11:37:32.91374473Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.133698ms grafana | logger=migrator t=2023-11-21T11:37:32.917238075Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-11-21T11:37:32.91753183Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=291.385µs grafana | logger=migrator t=2023-11-21T11:37:32.923068259Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-11-21T11:37:32.924214737Z level=info msg="Migration successfully executed" id="create permission table" duration=1.146428ms grafana | logger=migrator t=2023-11-21T11:37:32.928946264Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-11-21T11:37:32.930733905Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.78659ms grafana | logger=migrator t=2023-11-21T11:37:32.934011169Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-11-21T11:37:32.935177907Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.166328ms grafana | logger=migrator t=2023-11-21T11:37:32.94358481Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-11-21T11:37:32.944524458Z level=info msg="Migration successfully executed" id="create role table" duration=939.468µs grafana | logger=migrator t=2023-11-21T11:37:32.950742031Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-11-21T11:37:32.961630109Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.888578ms grafana | logger=migrator t=2023-11-21T11:37:32.964967536Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-11-21T11:37:32.972707366Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.73918ms grafana | logger=migrator t=2023-11-21T11:37:32.978178341Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-11-21T11:37:32.978921578Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=743.437µs grafana | logger=migrator t=2023-11-21T11:37:32.986546012Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-11-21T11:37:32.987738102Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.19138ms grafana | logger=migrator t=2023-11-21T11:37:32.991157013Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-11-21T11:37:32.992745754Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.587501ms grafana | logger=migrator t=2023-11-21T11:37:32.996144335Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-11-21T11:37:32.997477032Z level=info msg="Migration successfully executed" id="create team role table" duration=1.331928ms grafana | logger=migrator t=2023-11-21T11:37:33.001851862Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-11-21T11:37:33.003044652Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.192371ms grafana | logger=migrator t=2023-11-21T11:37:33.006472634Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-11-21T11:37:33.007735627Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.262583ms grafana | logger=migrator t=2023-11-21T11:37:33.014691828Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-11-21T11:37:33.015777242Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.085314ms grafana | logger=migrator t=2023-11-21T11:37:33.022626517Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-11-21T11:37:33.023895691Z level=info msg="Migration successfully executed" id="create user role table" duration=1.326046ms grafana | logger=migrator t=2023-11-21T11:37:33.027416917Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-11-21T11:37:33.029117683Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.703826ms grafana | logger=migrator t=2023-11-21T11:37:33.032773167Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-11-21T11:37:33.033836331Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.062624ms grafana | logger=migrator t=2023-11-21T11:37:33.038430042Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-11-21T11:37:33.039526287Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.095946ms grafana | logger=migrator t=2023-11-21T11:37:33.044512238Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-11-21T11:37:33.046018054Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.505475ms grafana | logger=migrator t=2023-11-21T11:37:33.049906319Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-11-21T11:37:33.05172193Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.818852ms grafana | logger=migrator t=2023-11-21T11:37:33.057421007Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-11-21T11:37:33.058486541Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.065334ms grafana | logger=migrator t=2023-11-21T11:37:33.062739445Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-11-21T11:37:33.073757609Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=11.019024ms grafana | logger=migrator t=2023-11-21T11:37:33.076981681Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-11-21T11:37:33.078212624Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.230902ms grafana | logger=migrator t=2023-11-21T11:37:33.082417515Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-11-21T11:37:33.083600414Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.18223ms grafana | logger=migrator t=2023-11-21T11:37:33.086623967Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-11-21T11:37:33.087722632Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.098484ms grafana | logger=migrator t=2023-11-21T11:37:33.092793317Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-11-21T11:37:33.093931704Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.138147ms grafana | logger=migrator t=2023-11-21T11:37:33.103540378Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-11-21T11:37:33.105057443Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.519266ms grafana | logger=migrator t=2023-11-21T11:37:33.108817872Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-11-21T11:37:33.111110728Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=2.291515ms grafana | logger=migrator t=2023-11-21T11:37:33.115182933Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-11-21T11:37:33.125891882Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.714199ms grafana | logger=migrator t=2023-11-21T11:37:33.132717925Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-11-21T11:37:33.141953159Z level=info msg="Migration successfully executed" id="permission kind migration" duration=9.234824ms grafana | logger=migrator t=2023-11-21T11:37:33.144902647Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-11-21T11:37:33.150682158Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.779131ms grafana | logger=migrator t=2023-11-21T11:37:33.154157434Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-11-21T11:37:33.162162266Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.004472ms grafana | logger=migrator t=2023-11-21T11:37:33.169745387Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-11-21T11:37:33.170692096Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=934.728µs grafana | logger=migrator t=2023-11-21T11:37:33.177773831Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-11-21T11:37:33.179550861Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.77619ms grafana | logger=migrator t=2023-11-21T11:37:33.183258217Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-11-21T11:37:33.185223936Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.964769ms grafana | logger=migrator t=2023-11-21T11:37:33.189248568Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-11-21T11:37:33.189426467Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=180.619µs grafana | logger=migrator t=2023-11-21T11:37:33.192190026Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-11-21T11:37:33.192324943Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=135.887µs grafana | logger=migrator t=2023-11-21T11:37:33.196018179Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-11-21T11:37:33.1970344Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=1.014151ms grafana | logger=migrator t=2023-11-21T11:37:33.200737386Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-11-21T11:37:33.201769709Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.033883ms grafana | logger=migrator t=2023-11-21T11:37:33.207642514Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-11-21T11:37:33.208350479Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=707.755µs grafana | logger=migrator t=2023-11-21T11:37:33.218999785Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-11-21T11:37:33.219432357Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=431.642µs grafana | logger=migrator t=2023-11-21T11:37:33.223107391Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-11-21T11:37:33.223910693Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=803.651µs grafana | logger=migrator t=2023-11-21T11:37:33.227755676Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-11-21T11:37:33.229181667Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.424952ms grafana | logger=migrator t=2023-11-21T11:37:33.233584259Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-11-21T11:37:33.234870163Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.285784ms grafana | logger=migrator t=2023-11-21T11:37:33.238535468Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-11-21T11:37:33.249796404Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=11.259096ms grafana | logger=migrator t=2023-11-21T11:37:33.252992475Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-11-21T11:37:33.253157693Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=162.288µs grafana | logger=migrator t=2023-11-21T11:37:33.257169475Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-11-21T11:37:33.258160265Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=991.84µs grafana | logger=migrator t=2023-11-21T11:37:33.262153336Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-11-21T11:37:33.263405119Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.251503ms grafana | logger=migrator t=2023-11-21T11:37:33.268768059Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-11-21T11:37:33.269973319Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.20509ms grafana | logger=migrator t=2023-11-21T11:37:33.274171401Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-11-21T11:37:33.285574844Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.407993ms grafana | logger=migrator t=2023-11-21T11:37:33.289300532Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-11-21T11:37:33.290092261Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=791.65µs grafana | logger=migrator t=2023-11-21T11:37:33.293235339Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-11-21T11:37:33.294313284Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.077855ms grafana | logger=migrator t=2023-11-21T11:37:33.298068432Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-21T11:37:33.330296734Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=32.228502ms grafana | logger=migrator t=2023-11-21T11:37:33.333449273Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-11-21T11:37:33.334225721Z level=info msg="Migration successfully executed" id="create correlation v2" duration=775.798µs grafana | logger=migrator t=2023-11-21T11:37:33.337260284Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-11-21T11:37:33.338521947Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.262063ms grafana | logger=migrator t=2023-11-21T11:37:33.342887827Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-11-21T11:37:33.3441518Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.263623ms grafana | logger=migrator t=2023-11-21T11:37:33.347478328Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-11-21T11:37:33.348641696Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.163828ms grafana | logger=migrator t=2023-11-21T11:37:33.355052139Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-11-21T11:37:33.355551375Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=497.276µs grafana | logger=migrator t=2023-11-21T11:37:33.358996658Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-11-21T11:37:33.360380137Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.38331ms grafana | logger=migrator t=2023-11-21T11:37:33.364171688Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-11-21T11:37:33.372862885Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.691157ms grafana | logger=migrator t=2023-11-21T11:37:33.378243706Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-11-21T11:37:33.379647796Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.40425ms grafana | logger=migrator t=2023-11-21T11:37:33.383455618Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-11-21T11:37:33.385322141Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.865713ms grafana | logger=migrator t=2023-11-21T11:37:33.390623478Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-21T11:37:33.39124917Z 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-21T11:37:33.396761217Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-21T11:37:33.397655002Z 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-21T11:37:33.40498279Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-11-21T11:37:33.406405703Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.427232ms grafana | logger=migrator t=2023-11-21T11:37:33.410395173Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-11-21T11:37:33.412077838Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.682495ms grafana | logger=migrator t=2023-11-21T11:37:33.416584084Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-21T11:37:33.417713201Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.129577ms grafana | logger=migrator t=2023-11-21T11:37:33.421623708Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-21T11:37:33.422965596Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.340537ms grafana | logger=migrator t=2023-11-21T11:37:33.427331845Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-21T11:37:33.429323145Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.99044ms grafana | logger=migrator t=2023-11-21T11:37:33.43457609Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-21T11:37:33.435923277Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.346798ms grafana | logger=migrator t=2023-11-21T11:37:33.440000462Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-11-21T11:37:33.441008153Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.005751ms grafana | logger=migrator t=2023-11-21T11:37:33.487578296Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-11-21T11:37:33.489304972Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.726646ms grafana | logger=migrator t=2023-11-21T11:37:33.518979125Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-21T11:37:33.52085587Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.876575ms grafana | logger=migrator t=2023-11-21T11:37:33.542717719Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-21T11:37:33.544596364Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.877994ms grafana | logger=migrator t=2023-11-21T11:37:33.607469286Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-11-21T11:37:33.609408424Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.938408ms grafana | logger=migrator t=2023-11-21T11:37:33.61869126Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-11-21T11:37:33.653164145Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=34.474175ms grafana | logger=migrator t=2023-11-21T11:37:33.660364377Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-11-21T11:37:33.666883775Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.518138ms grafana | logger=migrator t=2023-11-21T11:37:33.672515829Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-11-21T11:37:33.681394195Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.880127ms grafana | logger=migrator t=2023-11-21T11:37:33.685200386Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-11-21T11:37:33.685533723Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=333.287µs grafana | logger=migrator t=2023-11-21T11:37:33.689549755Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-11-21T11:37:33.698633672Z level=info msg="Migration successfully executed" id="add share column" duration=9.084067ms grafana | logger=migrator t=2023-11-21T11:37:33.703305898Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-11-21T11:37:33.703587192Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=281.605µs grafana | logger=migrator t=2023-11-21T11:37:33.707029175Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-11-21T11:37:33.707914289Z level=info msg="Migration successfully executed" id="create file table" duration=881.994µs grafana | logger=migrator t=2023-11-21T11:37:33.711367213Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-11-21T11:37:33.712490789Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.123306ms grafana | logger=migrator t=2023-11-21T11:37:33.716553073Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-11-21T11:37:33.717680981Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.127667ms grafana | logger=migrator t=2023-11-21T11:37:33.722275061Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-11-21T11:37:33.723059581Z level=info msg="Migration successfully executed" id="create file_meta table" duration=784.22µs grafana | logger=migrator t=2023-11-21T11:37:33.726573298Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-11-21T11:37:33.727930285Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.356247ms grafana | logger=migrator t=2023-11-21T11:37:33.74134056Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-11-21T11:37:33.741522519Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=185.029µs grafana | logger=migrator t=2023-11-21T11:37:33.748094361Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-11-21T11:37:33.748350843Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=256.663µs grafana | logger=migrator t=2023-11-21T11:37:33.753770126Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-11-21T11:37:33.754744305Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=973.768µs grafana | logger=migrator t=2023-11-21T11:37:33.758169657Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-11-21T11:37:33.758619289Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=449.022µs grafana | logger=migrator t=2023-11-21T11:37:33.762747447Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-11-21T11:37:33.763566458Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=816.351µs grafana | logger=migrator t=2023-11-21T11:37:33.766604301Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-11-21T11:37:33.775870918Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.259296ms grafana | logger=migrator t=2023-11-21T11:37:33.77909326Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-11-21T11:37:33.779369254Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=275.603µs grafana | logger=migrator t=2023-11-21T11:37:33.784211767Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-11-21T11:37:33.785555415Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.343027ms grafana | logger=migrator t=2023-11-21T11:37:33.793192629Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-11-21T11:37:33.793691754Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=496.935µs grafana | logger=migrator t=2023-11-21T11:37:33.79817877Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-11-21T11:37:33.798623102Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=444.082µs grafana | logger=migrator t=2023-11-21T11:37:33.802293437Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-11-21T11:37:33.802938419Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=646.033µs grafana | logger=migrator t=2023-11-21T11:37:33.806325819Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-11-21T11:37:33.815699541Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.373972ms grafana | logger=migrator t=2023-11-21T11:37:33.819764725Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-11-21T11:37:33.828564058Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.798593ms grafana | logger=migrator t=2023-11-21T11:37:33.833298606Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-11-21T11:37:33.834438523Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.139887ms grafana | logger=migrator t=2023-11-21T11:37:33.840250146Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-11-21T11:37:33.951803187Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=111.548331ms grafana | logger=migrator t=2023-11-21T11:37:33.95582939Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-11-21T11:37:33.956789768Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=960.248µs grafana | logger=migrator t=2023-11-21T11:37:33.960132546Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-11-21T11:37:33.961062083Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=929.067µs grafana | logger=migrator t=2023-11-21T11:37:33.965316267Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-11-21T11:37:34.005465297Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=40.15022ms grafana | logger=migrator t=2023-11-21T11:37:34.009613955Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-11-21T11:37:34.009839337Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=225.382µs grafana | logger=migrator t=2023-11-21T11:37:34.012347953Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-11-21T11:37:34.012572554Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=224.251µs grafana | logger=migrator t=2023-11-21T11:37:34.017266721Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-11-21T11:37:34.017773546Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=506.446µs grafana | logger=migrator t=2023-11-21T11:37:34.021885652Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-11-21T11:37:34.02341573Z level=info msg="Migration successfully executed" id="create folder table" duration=1.530358ms grafana | logger=migrator t=2023-11-21T11:37:34.02778016Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-11-21T11:37:34.02938646Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.60732ms grafana | logger=migrator t=2023-11-21T11:37:34.035585182Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-11-21T11:37:34.036986163Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.40074ms grafana | logger=migrator t=2023-11-21T11:37:34.043004965Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-11-21T11:37:34.043069528Z level=info msg="Migration successfully executed" id="Update folder title length" duration=65.553µs grafana | logger=migrator t=2023-11-21T11:37:34.04708231Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-21T11:37:34.04926911Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.18627ms grafana | logger=migrator t=2023-11-21T11:37:34.053842371Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-21T11:37:34.055919045Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=2.074935ms grafana | logger=migrator t=2023-11-21T11:37:34.060631672Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-11-21T11:37:34.061874825Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.242013ms grafana | logger=migrator t=2023-11-21T11:37:34.065095227Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-11-21T11:37:34.066302767Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.205271ms grafana | logger=migrator t=2023-11-21T11:37:34.072121349Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-11-21T11:37:34.074210095Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.087256ms grafana | logger=migrator t=2023-11-21T11:37:34.0774999Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-11-21T11:37:34.078666379Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.166479ms grafana | logger=migrator t=2023-11-21T11:37:34.081754315Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-11-21T11:37:34.083027578Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.273744ms grafana | logger=migrator t=2023-11-21T11:37:34.088640411Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-11-21T11:37:34.089929256Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.287596ms grafana | logger=migrator t=2023-11-21T11:37:34.093094405Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-11-21T11:37:34.095073335Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.98207ms grafana | logger=migrator t=2023-11-21T11:37:34.101291317Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-21T11:37:34.101656346Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=365.849µs grafana | logger=migrator t=2023-11-21T11:37:34.107427266Z level=info msg="migrations completed" performed=517 skipped=0 duration=19.334910583s grafana | logger=sqlstore t=2023-11-21T11:37:34.119310703Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-21T11:37:34.119609748Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-21T11:37:34.123086594Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-21T11:37:34.178699431Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-21T11:37:34.182521174Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-21T11:37:34.192814671Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-21T11:37:36.465185949Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-21T11:37:36.467140877Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-21T11:37:36.483917851Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-21T11:37:36.484017706Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2023-11-21T11:37:36.484202495Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.state.manager t=2023-11-21T11:37:36.48467829Z level=info msg="State cache has been initialized" states=0 duration=475.034µs grafana | logger=ngalert.scheduler t=2023-11-21T11:37:36.484719182Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-11-21T11:37:36.484949653Z level=info msg=starting first_tick=2023-11-21T11:37:40Z grafana | logger=ngalert.multiorg.alertmanager t=2023-11-21T11:37:36.484990915Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2023-11-21T11:37:36.486099691Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafanaStorageLogger t=2023-11-21T11:37:36.492727324Z level=info msg="Storage starting" grafana | logger=ngalert.migration t=2023-11-21T11:37:36.508385132Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-11-21T11:37:36.509270366Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-21T11:37:36.509709128Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-21T11:37:36.510436225Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-21T11:37:36.511156971Z level=warn msg="No available receivers" grafana | logger=grafana.update.checker t=2023-11-21T11:37:36.515596335Z level=info msg="Update check succeeded" duration=30.449912ms grafana | logger=sqlstore.transactions t=2023-11-21T11:37:36.523595356Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=0 code="database is locked" grafana | logger=ngalert.migration t=2023-11-21T11:37:36.528254161Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-21T11:37:36.528579357Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-21T11:37:36.529051261Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-21T11:37:36.529601299Z level=warn msg="No available receivers" grafana | logger=plugins.update.checker t=2023-11-21T11:37:36.553069399Z level=info msg="Update check succeeded" duration=68.835863ms grafana | logger=sqlstore.transactions t=2023-11-21T11:37:36.568878855Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=1 code="database is locked" grafana | logger=ngalert.migration t=2023-11-21T11:37:36.625728244Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-21T11:37:36.626311064Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-21T11:37:36.626977667Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-21T11:37:36.627875493Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-11-21T11:37:36.63200247Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats t=2023-11-21T11:38:40.503850874Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping mariadb ... done Stopping prometheus ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing prometheus ... done Removing grafana ... done Removing policy-api ... done Removing policy-db-migrator ... 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.Ul4ZSikfxT ]] + rsync -av /tmp/tmp.Ul4ZSikfxT/ /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,345,975 bytes received 95 bytes 2,692,140.00 bytes/sec total size is 1,345,325 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 2102 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/jenkins17753910332955724192.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins17072696051623410095.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/jenkins1789319802974757546.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-JSU3 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-JSU3/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13808690063919660886.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config987123248627265263tmp 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/jenkins5562506944786018168.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins10275415666147889214.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-JSU3 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-JSU3/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins9251834976974266584.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins10054854362555041784.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-JSU3 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-JSU3/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/jenkins2171187552067730012.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-JSU3 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-JSU3/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/186 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-2455 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 823 27429 0 3914 30888 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:e8:0a:49 brd ff:ff:ff:ff:ff:ff inet 10.30.107.16/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86010sec preferred_lft 86010sec inet6 fe80::f816:3eff:fee8:a49/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:1e:e9:5f:0f 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-2455) 11/21/23 _x86_64_ (8 CPU) 11:33:44 LINUX RESTART (8 CPU) 11:34:01 tps rtps wtps bread/s bwrtn/s 11:35:01 151.04 84.15 66.89 6141.38 46106.05 11:36:01 95.70 16.96 78.74 1226.60 15702.45 11:37:02 139.01 9.38 129.63 1648.38 45948.79 11:38:01 295.50 12.43 283.07 811.50 31314.47 11:39:01 7.22 0.00 7.22 0.00 5591.32 11:40:01 49.60 2.03 47.57 124.63 8629.29 Average: 122.63 20.82 101.81 1660.73 25581.92 11:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 30224800 31690092 2714420 8.24 55804 1728624 1503916 4.42 890352 1559388 93840 11:36:01 29852968 31704784 3086252 9.37 81360 2069932 1454828 4.28 890064 1890328 205132 11:37:02 28157372 31684760 4781848 14.52 112116 3652712 1426432 4.20 987656 3389600 595612 11:38:01 26785052 30383440 6154168 18.68 126664 3672184 4715992 13.88 2370340 3344400 408 11:39:01 26831632 30430824 6107588 18.54 126804 3672852 4660764 13.71 2323592 3343880 48 11:40:01 28101804 31641016 4837416 14.69 130596 3646444 1439612 4.24 1148400 3274136 54404 Average: 28325605 31255819 4613615 14.01 105557 3073791 2533591 7.45 1435067 2800289 158241 11:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 lo 1.73 1.73 0.17 0.17 0.00 0.00 0.00 0.00 11:35:01 ens3 329.56 226.06 1496.94 59.94 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 lo 1.27 1.27 0.13 0.13 0.00 0.00 0.00 0.00 11:36:01 ens3 55.21 39.24 914.47 7.94 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:37:02 br-4cac90d9dd7e 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:02 lo 8.74 8.74 0.81 0.81 0.00 0.00 0.00 0.00 11:37:02 ens3 270.83 172.00 8474.17 14.74 0.00 0.00 0.00 0.00 11:37:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 br-4cac90d9dd7e 1.20 1.30 1.26 0.70 0.00 0.00 0.00 0.00 11:38:01 lo 3.20 3.20 1.72 1.72 0.00 0.00 0.00 0.00 11:38:01 veth9cf86f8 38.82 34.09 17.66 33.03 0.00 0.00 0.00 0.00 11:38:01 vethc84cf98 0.05 0.25 0.00 0.02 0.00 0.00 0.00 0.00 11:39:01 br-4cac90d9dd7e 2.57 2.95 4.69 1.86 0.00 0.00 0.00 0.00 11:39:01 lo 9.05 9.05 6.73 6.73 0.00 0.00 0.00 0.00 11:39:01 veth9cf86f8 77.27 62.27 29.31 86.59 0.00 0.00 0.00 0.01 11:39:01 vethc84cf98 0.18 0.18 0.02 0.47 0.00 0.00 0.00 0.00 11:40:01 lo 7.95 7.95 0.70 0.70 0.00 0.00 0.00 0.00 11:40:01 ens3 774.98 518.73 11137.82 112.98 0.00 0.00 0.00 0.00 11:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 5.34 5.34 1.71 1.71 0.00 0.00 0.00 0.00 Average: ens3 125.37 85.41 1855.67 18.70 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-2455) 11/21/23 _x86_64_ (8 CPU) 11:33:44 LINUX RESTART (8 CPU) 11:34:01 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 8.52 0.00 1.40 4.89 0.04 85.15 11:35:01 0 4.50 0.00 1.14 1.74 0.03 92.60 11:35:01 1 8.14 0.00 0.77 2.11 0.03 88.95 11:35:01 2 5.34 0.00 0.65 0.77 0.05 93.19 11:35:01 3 7.67 0.00 1.00 6.82 0.05 84.46 11:35:01 4 17.37 0.00 4.57 2.04 0.05 75.96 11:35:01 5 7.38 0.00 0.87 3.71 0.03 88.01 11:35:01 6 14.50 0.00 0.92 7.62 0.05 76.92 11:35:01 7 3.24 0.00 1.23 14.34 0.03 81.17 11:36:01 all 10.22 0.00 0.70 1.95 0.04 87.10 11:36:01 0 0.57 0.00 0.18 0.07 0.02 99.16 11:36:01 1 8.06 0.00 0.65 4.26 0.07 86.97 11:36:01 2 8.17 0.00 0.65 1.58 0.08 89.51 11:36:01 3 25.33 0.00 1.47 1.64 0.05 71.51 11:36:01 4 33.66 0.00 1.79 1.30 0.05 63.20 11:36:01 5 2.95 0.00 0.38 2.70 0.02 93.94 11:36:01 6 1.33 0.00 0.18 0.07 0.00 98.42 11:36:01 7 1.74 0.00 0.25 3.99 0.02 94.01 11:37:02 all 7.82 0.00 2.47 6.14 0.06 83.52 11:37:02 0 8.35 0.00 1.84 0.49 0.05 89.27 11:37:02 1 6.82 0.00 2.43 2.48 0.05 88.21 11:37:02 2 9.45 0.00 2.42 3.21 0.05 84.87 11:37:02 3 5.37 0.00 3.56 34.41 0.08 56.58 11:37:02 4 11.23 0.00 2.12 0.38 0.07 86.21 11:37:02 5 10.51 0.00 2.87 3.97 0.08 82.57 11:37:02 6 5.25 0.00 2.30 0.60 0.05 91.80 11:37:02 7 5.50 0.00 2.22 3.56 0.07 88.65 11:38:01 all 16.01 0.00 2.21 8.65 0.06 73.07 11:38:01 0 14.27 0.00 1.92 2.28 0.09 81.45 11:38:01 1 19.25 0.00 2.76 20.63 0.05 57.30 11:38:01 2 15.50 0.00 2.45 23.99 0.07 57.99 11:38:01 3 19.41 0.00 2.43 4.79 0.05 73.32 11:38:01 4 18.03 0.00 2.34 6.99 0.05 72.58 11:38:01 5 13.85 0.00 1.71 7.11 0.09 77.24 11:38:01 6 14.65 0.00 2.00 1.17 0.07 82.11 11:38:01 7 13.13 0.00 2.04 2.28 0.07 82.49 11:39:01 all 2.55 0.00 0.22 0.83 0.03 96.37 11:39:01 0 3.05 0.00 0.17 0.07 0.02 96.70 11:39:01 1 2.74 0.00 0.20 0.05 0.02 97.00 11:39:01 2 3.39 0.00 0.43 6.38 0.02 89.78 11:39:01 3 2.37 0.00 0.17 0.05 0.02 97.40 11:39:01 4 1.54 0.00 0.22 0.03 0.07 98.15 11:39:01 5 2.40 0.00 0.20 0.07 0.02 97.31 11:39:01 6 2.72 0.00 0.23 0.00 0.00 97.05 11:39:01 7 2.17 0.00 0.15 0.00 0.02 97.66 11:40:01 all 7.39 0.00 0.70 0.97 0.03 90.91 11:40:01 0 3.17 0.00 0.73 0.40 0.03 95.67 11:40:01 1 14.16 0.00 0.77 0.70 0.03 84.34 11:40:01 2 4.44 0.00 0.55 4.81 0.02 90.19 11:40:01 3 16.55 0.00 0.87 0.57 0.05 81.97 11:40:01 4 4.45 0.00 0.58 0.80 0.03 94.13 11:40:01 5 14.42 0.00 1.14 0.13 0.05 84.26 11:40:01 6 0.82 0.00 0.37 0.32 0.02 98.48 11:40:01 7 1.17 0.00 0.60 0.07 0.02 98.15 Average: all 8.73 0.00 1.28 3.89 0.04 86.06 Average: 0 5.63 0.00 1.00 0.83 0.04 92.50 Average: 1 9.83 0.00 1.26 4.98 0.04 83.89 Average: 2 7.69 0.00 1.19 6.73 0.05 84.34 Average: 3 12.75 0.00 1.58 8.09 0.05 77.52 Average: 4 14.36 0.00 1.93 1.91 0.05 81.75 Average: 5 8.57 0.00 1.19 2.94 0.05 87.25 Average: 6 6.52 0.00 1.00 1.63 0.03 90.83 Average: 7 4.47 0.00 1.08 4.03 0.04 90.38