Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-2020 (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-OMXf4F1wiTaS/agent.2083 SSH_AGENT_PID=2085 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_7485160792050282146.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_7485160792050282146.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/jenkins6596157921339993856.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-PCpT 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-PCpT/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-PCpT/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.3 botocore==1.32.3 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.0 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.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.0 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.7.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.24.6 wcwidth==0.2.10 websocket-client==1.6.4 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins11614451521449217834.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/jenkins2910678111711898682.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.kwKy6N10Js ++ echo ROBOT_VENV=/tmp/tmp.kwKy6N10Js +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.kwKy6N10Js ++ source /tmp/tmp.kwKy6N10Js/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.kwKy6N10Js +++ 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.kwKy6N10Js/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.kwKy6N10Js) ' '!=' x ']' +++ PS1='(tmp.kwKy6N10Js) ' +++ 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.kwKy6N10Js/src/onap ++ rm -rf /tmp/tmp.kwKy6N10Js/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.kwKy6N10Js/bin/activate + '[' -z /tmp/tmp.kwKy6N10Js/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.kwKy6N10Js/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.kwKy6N10Js ++ 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.kwKy6N10Js/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.kwKy6N10Js) ' ++ '[' 'x(tmp.kwKy6N10Js) ' '!=' x ']' ++ PS1='(tmp.kwKy6N10Js) (tmp.kwKy6N10Js) ' ++ 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.KeZ1S2Rz93 + cd /tmp/tmp.KeZ1S2Rz93 + 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 prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 10 seconds grafana Up 13 seconds mariadb Up 11 seconds prometheus Up 13 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 16 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:19 up 3 min, 0 users, load average: 1.94, 0.85, 0.34 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.3 us, 2.2 sy, 0.0 ni, 84.2 id, 2.2 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 policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 3c448482e5ca policy-api 0.11% 939MiB / 31.41GiB 2.92% 1.04MB / 739kB 0B / 0B 50 860cc6fc0d0b grafana 0.04% 94.64MiB / 31.41GiB 0.29% 17.5kB / 3.15kB 0B / 23.4MB 17 802cd52422f1 mariadb 0.02% 100.5MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.1MB / 67.6MB 26 e4dc9f8dced4 prometheus 0.00% 18MiB / 31.41GiB 0.06% 1.31kB / 0B 4.1kB / 0B 13 + echo + cd /tmp/tmp.KeZ1S2Rz93 + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' api-slas.robot' + 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.KeZ1S2Rz93/output.xml Log: /tmp/tmp.KeZ1S2Rz93/log.html Report: /tmp/tmp.KeZ1S2Rz93/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:38:30 up 4 min, 0 users, load average: 0.82, 0.75, 0.34 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.6 us, 1.8 sy, 0.0 ni, 86.6 id, 2.0 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 3c448482e5ca policy-api 0.13% 970MiB / 31.41GiB 3.02% 7.32MB / 2.87MB 0B / 0B 52 860cc6fc0d0b grafana 0.02% 97.27MiB / 31.41GiB 0.30% 18.7kB / 4.38kB 0B / 23.4MB 17 802cd52422f1 mariadb 0.02% 101.4MiB / 31.41GiB 0.32% 2.75MB / 7.35MB 11.1MB / 67.7MB 18 e4dc9f8dced4 prometheus 0.00% 23.35MiB / 31.41GiB 0.07% 38.1kB / 7.11kB 4.1kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2023-11-20T11:36:51.458346028Z 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-20T11:36:51.45858378Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-20T11:36:51.458595Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-20T11:36:51.45860018Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-20T11:36:51.4586043Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-20T11:36:51.45860791Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-20T11:36:51.458612Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-20T11:36:51.45861634Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-20T11:36:51.4586216Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-20T11:36:51.45862601Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-20T11:36:51.45862924Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-20T11:36:51.4586328Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-20T11:36:51.4586367Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-20T11:36:51.45864274Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-20T11:36:51.45864658Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-20T11:36:51.458650031Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-20T11:36:51.458653841Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-20T11:36:51.458657581Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-20T11:36:51.458660821Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-20T11:36:51.459006574Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-20T11:36:51.459025514Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-20T11:36:51.459718372Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-20T11:36:51.460928714Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-20T11:36:51.461753212Z level=info msg="Migration successfully executed" id="create migration_log table" duration=824.719µs grafana | logger=migrator t=2023-11-20T11:36:51.469879607Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-20T11:36:51.470412072Z level=info msg="Migration successfully executed" id="create user table" duration=532.375µs grafana | logger=migrator t=2023-11-20T11:36:51.475628936Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-20T11:36:51.476736218Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.109132ms grafana | logger=migrator t=2023-11-20T11:36:51.480910871Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-20T11:36:51.481976602Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.065501ms grafana | logger=migrator t=2023-11-20T11:36:51.487692982Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-20T11:36:51.488711442Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.01778ms grafana | logger=migrator t=2023-11-20T11:36:51.49240441Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-20T11:36:51.493388661Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=984.011µs grafana | logger=migrator t=2023-11-20T11:36:51.497709356Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-20T11:36:51.500499105Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.788469ms grafana | logger=migrator t=2023-11-20T11:36:51.504716768Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-20T11:36:51.505974761Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.257523ms grafana | logger=migrator t=2023-11-20T11:36:51.511285256Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-20T11:36:51.512475188Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.190132ms grafana | logger=migrator t=2023-11-20T11:36:51.51653637Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-20T11:36:51.517606122Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.069142ms grafana | logger=migrator t=2023-11-20T11:36:51.522385331Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-20T11:36:51.522775016Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=389.515µs grafana | logger=migrator t=2023-11-20T11:36:51.527873088Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-20T11:36:51.528612086Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=737.348µs grafana | logger=migrator t=2023-11-20T11:36:51.532502037Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-20T11:36:51.534231284Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.728567ms grafana | logger=migrator t=2023-11-20T11:36:51.537876092Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-20T11:36:51.537898702Z level=info msg="Migration successfully executed" id="Update user table charset" duration=23.341µs grafana | logger=migrator t=2023-11-20T11:36:51.542145326Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-20T11:36:51.543225297Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.079871ms grafana | logger=migrator t=2023-11-20T11:36:51.548989187Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-20T11:36:51.549323161Z level=info msg="Migration successfully executed" id="Add missing user data" duration=331.754µs grafana | logger=migrator t=2023-11-20T11:36:51.553878168Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-11-20T11:36:51.555660776Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.782218ms grafana | logger=migrator t=2023-11-20T11:36:51.559415755Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-20T11:36:51.560529257Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.111782ms grafana | logger=migrator t=2023-11-20T11:36:51.565181675Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-20T11:36:51.566316647Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.134632ms grafana | logger=migrator t=2023-11-20T11:36:51.570091416Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-20T11:36:51.579483803Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.391727ms grafana | logger=migrator t=2023-11-20T11:36:51.583115601Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-20T11:36:51.583783868Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=668.167µs grafana | logger=migrator t=2023-11-20T11:36:51.588453596Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-20T11:36:51.589628528Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.171352ms grafana | logger=migrator t=2023-11-20T11:36:51.596061515Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-20T11:36:51.597154717Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.093302ms grafana | logger=migrator t=2023-11-20T11:36:51.601840515Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-20T11:36:51.602934797Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.092742ms grafana | logger=migrator t=2023-11-20T11:36:51.609444034Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-20T11:36:51.611082281Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.636917ms grafana | logger=migrator t=2023-11-20T11:36:51.61671197Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-20T11:36:51.61674893Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=38.6µs grafana | logger=migrator t=2023-11-20T11:36:51.620233326Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-20T11:36:51.620882293Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=648.787µs grafana | logger=migrator t=2023-11-20T11:36:51.62455812Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-20T11:36:51.625429Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=867.85µs grafana | logger=migrator t=2023-11-20T11:36:51.630227399Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-20T11:36:51.63122017Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=992.721µs grafana | logger=migrator t=2023-11-20T11:36:51.635016639Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-20T11:36:51.635612115Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=595.726µs grafana | logger=migrator t=2023-11-20T11:36:51.639397855Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-20T11:36:51.643311726Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.915261ms grafana | logger=migrator t=2023-11-20T11:36:51.648392928Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-20T11:36:51.649218717Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=825.429µs grafana | logger=migrator t=2023-11-20T11:36:51.653188488Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-20T11:36:51.653963035Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=771.847µs grafana | logger=migrator t=2023-11-20T11:36:51.65827143Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-20T11:36:51.659001978Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=732.838µs grafana | logger=migrator t=2023-11-20T11:36:51.663594405Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-20T11:36:51.664266933Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=675.028µs grafana | logger=migrator t=2023-11-20T11:36:51.667684218Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-20T11:36:51.668376906Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=689.968µs grafana | logger=migrator t=2023-11-20T11:36:51.672445947Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-20T11:36:51.673013803Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=564.826µs grafana | logger=migrator t=2023-11-20T11:36:51.676694422Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-20T11:36:51.677445699Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=750.477µs grafana | logger=migrator t=2023-11-20T11:36:51.68230615Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-20T11:36:51.682661494Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=355.304µs grafana | logger=migrator t=2023-11-20T11:36:51.68627452Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-20T11:36:51.686814007Z level=info msg="Migration successfully executed" id="create star table" duration=539.297µs grafana | logger=migrator t=2023-11-20T11:36:51.690564195Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-20T11:36:51.691760857Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.195892ms grafana | logger=migrator t=2023-11-20T11:36:51.696972972Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-11-20T11:36:51.697965772Z level=info msg="Migration successfully executed" id="create org table v1" duration=992.2µs grafana | logger=migrator t=2023-11-20T11:36:51.70348197Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-11-20T11:36:51.704631281Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.148651ms grafana | logger=migrator t=2023-11-20T11:36:51.708575482Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-11-20T11:36:51.709523362Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=947.3µs grafana | logger=migrator t=2023-11-20T11:36:51.713274981Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-11-20T11:36:51.713974328Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=698.707µs grafana | logger=migrator t=2023-11-20T11:36:51.718747338Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-11-20T11:36:51.719469215Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=721.147µs grafana | logger=migrator t=2023-11-20T11:36:51.723173724Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-11-20T11:36:51.723885671Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=709.497µs grafana | logger=migrator t=2023-11-20T11:36:51.727954533Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-11-20T11:36:51.727977433Z level=info msg="Migration successfully executed" id="Update org table charset" duration=23.63µs grafana | logger=migrator t=2023-11-20T11:36:51.731707802Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-11-20T11:36:51.731743312Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=36.86µs grafana | logger=migrator t=2023-11-20T11:36:51.736549782Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-11-20T11:36:51.736801094Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=251.542µs grafana | logger=migrator t=2023-11-20T11:36:51.740736425Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-11-20T11:36:51.741701686Z level=info msg="Migration successfully executed" id="create dashboard table" duration=964.721µs grafana | logger=migrator t=2023-11-20T11:36:51.745510155Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-11-20T11:36:51.746453805Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=941.719µs grafana | logger=migrator t=2023-11-20T11:36:51.750225284Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-11-20T11:36:51.750998502Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=772.668µs grafana | logger=migrator t=2023-11-20T11:36:51.755438428Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-11-20T11:36:51.756435538Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=998.05µs grafana | logger=migrator t=2023-11-20T11:36:51.760122686Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-11-20T11:36:51.761348889Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.225423ms grafana | logger=migrator t=2023-11-20T11:36:51.765392401Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-11-20T11:36:51.766065648Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=672.857µs grafana | logger=migrator t=2023-11-20T11:36:51.770673446Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-11-20T11:36:51.780581719Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=9.906243ms grafana | logger=migrator t=2023-11-20T11:36:51.784339617Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-11-20T11:36:51.784795403Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=455.606µs grafana | logger=migrator t=2023-11-20T11:36:51.788201698Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-11-20T11:36:51.788701693Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=500.905µs grafana | logger=migrator t=2023-11-20T11:36:51.793390642Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-11-20T11:36:51.794514304Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.123012ms grafana | logger=migrator t=2023-11-20T11:36:51.798377203Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-11-20T11:36:51.798847748Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=470.385µs grafana | logger=migrator t=2023-11-20T11:36:51.802477955Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-11-20T11:36:51.803686588Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.208103ms grafana | logger=migrator t=2023-11-20T11:36:51.815309199Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-11-20T11:36:51.81537157Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=63.111µs grafana | logger=migrator t=2023-11-20T11:36:51.819045447Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-11-20T11:36:51.821738345Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.692388ms grafana | logger=migrator t=2023-11-20T11:36:51.827174342Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-11-20T11:36:51.828867779Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.693557ms grafana | logger=migrator t=2023-11-20T11:36:51.833424076Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-11-20T11:36:51.835868712Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.442876ms grafana | logger=migrator t=2023-11-20T11:36:51.83954613Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-11-20T11:36:51.840719233Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.172933ms grafana | logger=migrator t=2023-11-20T11:36:51.84435236Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-11-20T11:36:51.846103858Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.751598ms grafana | logger=migrator t=2023-11-20T11:36:51.850964279Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-11-20T11:36:51.852191551Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.230532ms grafana | logger=migrator t=2023-11-20T11:36:51.856085092Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-11-20T11:36:51.857294844Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.209012ms grafana | logger=migrator t=2023-11-20T11:36:51.861162214Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-11-20T11:36:51.861182754Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=21.19µs grafana | logger=migrator t=2023-11-20T11:36:51.86555642Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-11-20T11:36:51.8655756Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=21.27µs grafana | logger=migrator t=2023-11-20T11:36:51.868946625Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-11-20T11:36:51.872216269Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.270184ms grafana | logger=migrator t=2023-11-20T11:36:51.879172951Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-11-20T11:36:51.881091751Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.91742ms grafana | logger=migrator t=2023-11-20T11:36:51.886366095Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-11-20T11:36:51.889472927Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.106482ms grafana | logger=migrator t=2023-11-20T11:36:51.893513949Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-11-20T11:36:51.89545266Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.938501ms grafana | logger=migrator t=2023-11-20T11:36:51.899093487Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-11-20T11:36:51.899274429Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=181.062µs grafana | logger=migrator t=2023-11-20T11:36:51.903024528Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-11-20T11:36:51.903771427Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=746.979µs grafana | logger=migrator t=2023-11-20T11:36:51.908380524Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-11-20T11:36:51.909148632Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=767.258µs grafana | logger=migrator t=2023-11-20T11:36:51.913090993Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-11-20T11:36:51.913116143Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=25.91µs grafana | logger=migrator t=2023-11-20T11:36:51.917208585Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-11-20T11:36:51.918107335Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=898.28µs grafana | logger=migrator t=2023-11-20T11:36:51.923327919Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-11-20T11:36:51.92444472Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.119361ms grafana | logger=migrator t=2023-11-20T11:36:51.928450182Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-20T11:36:51.935420704Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.969952ms grafana | logger=migrator t=2023-11-20T11:36:51.939251824Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-11-20T11:36:51.939924872Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=672.388µs grafana | logger=migrator t=2023-11-20T11:36:51.944487509Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-11-20T11:36:51.9455527Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.063931ms grafana | logger=migrator t=2023-11-20T11:36:51.949618691Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-11-20T11:36:51.951135278Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.517897ms grafana | logger=migrator t=2023-11-20T11:36:51.954907426Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-11-20T11:36:51.95526754Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=360.694µs grafana | logger=migrator t=2023-11-20T11:36:51.959801378Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-11-20T11:36:51.960556255Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=754.857µs grafana | logger=migrator t=2023-11-20T11:36:51.964190123Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-11-20T11:36:51.966114903Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=1.925689ms grafana | logger=migrator t=2023-11-20T11:36:51.969879612Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-11-20T11:36:51.970613029Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=733.507µs grafana | logger=migrator t=2023-11-20T11:36:51.975186877Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-11-20T11:36:51.975354159Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=167.272µs grafana | logger=migrator t=2023-11-20T11:36:51.978838324Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-11-20T11:36:51.978962676Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=124.572µs grafana | logger=migrator t=2023-11-20T11:36:51.984523853Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-11-20T11:36:51.985352942Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=828.779µs grafana | logger=migrator t=2023-11-20T11:36:51.989184843Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-11-20T11:36:51.991568267Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.378064ms grafana | logger=migrator t=2023-11-20T11:36:51.996918122Z level=info msg="Executing migration" id="create data_source table" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2023-11-20T11:37:05.743+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 30 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-11-20T11:37:05.746+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-20T11:37:07.101+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-20T11:37:07.194+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 81 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-20T11:37:08.273+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-20T11:37:08.284+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-20T11:37:08.285+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-20T11:37:08.285+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-11-20T11:37:08.364+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-20T11:37:08.364+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2546 ms policy-api | [2023-11-20T11:37:08.838+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-20T11:37:08.956+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-11-20T11:37:09.176+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-11-20T11:37:09.330+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-20T11:37:09.437+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-20T11:37:09.461+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-11-20T11:37:10.934+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-11-20T11:37:10.946+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-20T11:37:12.112+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-11-20T11:37:12.742+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-11-20T11:37:13.825+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@359ae83a, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4fddd42b, org.springframework.security.web.context.SecurityContextPersistenceFilter@4d19ddeb, org.springframework.security.web.header.HeaderWriterFilter@b1fccca, org.springframework.security.web.authentication.logout.LogoutFilter@5bee88e3, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@65ff1e6d, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@625439ba, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2416378c, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7473cf13, org.springframework.security.web.session.SessionManagementFilter@190a5f74, org.springframework.security.web.access.ExceptionTranslationFilter@9af2a00, org.springframework.security.web.access.intercept.AuthorizationFilter@66abb7d4] policy-api | [2023-11-20T11:37:13.978+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-20T11:37:17.089+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-11-20T11:37:17.117+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-20T11:37:17.161+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-11-20T11:37:17.182+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.226 seconds (JVM running for 12.854) policy-api | [2023-11-20T11:37:22.800+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-11-20T11:37:22.800+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-11-20T11:37:22.802+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2023-11-20T11:37:25.081+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-11-20T11:37:25.199+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2023-11-20T11:37:25.460+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-11-20T11:37:26.640+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-11-20T11:37:28.578+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-11-20T11:37:28.956+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 mariadb | 2023-11-20 11:36:52+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-20 11:36:52+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-20 11:36:52+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-20 11:36:52+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-20 11:36:52 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-20 11:36:52 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-20 11:36:52 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-20 11:36:54+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-20 11:36:54+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-20 11:36:54+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-20 11:36:54 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 94 ... mariadb | 2023-11-20 11:36:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-20 11:36:54 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-20 11:36:54 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-20 11:36:54 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-20 11:36:54 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-20 11:36:54 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-20 11:36:54 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-20 11:36:54 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-20 11:36:54 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-20 11:36:54 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-20 11:36:54 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-20 11:36:54 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-20 11:36:54 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-20 11:36:54 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-20 11:36:54 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-20 11:36:54 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-20 11:36:54 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-20 11:36:54 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-20 11:36:55+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-20 11:36:56+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-20 11:36:56+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-11-20 11:36:56+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-11-20 11:36:56+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;' grafana | logger=migrator t=2023-11-20T11:36:51.997786952Z level=info msg="Migration successfully executed" id="create data_source table" duration=870.7µs grafana | logger=migrator t=2023-11-20T11:36:52.001689192Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-11-20T11:36:52.00242708Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=737.938µs grafana | logger=migrator t=2023-11-20T11:36:52.006049427Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-11-20T11:36:52.006872645Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=822.818µs grafana | logger=migrator t=2023-11-20T11:36:52.011126488Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-11-20T11:36:52.011955797Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=827.649µs grafana | logger=migrator t=2023-11-20T11:36:52.01529272Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-11-20T11:36:52.016001758Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=708.968µs grafana | logger=migrator t=2023-11-20T11:36:52.02017276Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-11-20T11:36:52.028360973Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.187533ms grafana | logger=migrator t=2023-11-20T11:36:52.031780557Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-11-20T11:36:52.032556875Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=776.078µs grafana | logger=migrator t=2023-11-20T11:36:52.035856988Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-11-20T11:36:52.036668497Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=809.009µs grafana | logger=migrator t=2023-11-20T11:36:52.04089322Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-11-20T11:36:52.041647007Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=753.327µs grafana | logger=migrator t=2023-11-20T11:36:52.045136673Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-11-20T11:36:52.045645548Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=508.905µs grafana | logger=migrator t=2023-11-20T11:36:52.049101772Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-11-20T11:36:52.051364485Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.259313ms grafana | logger=migrator t=2023-11-20T11:36:52.05582448Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-20T11:36:52.058386917Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.561657ms grafana | logger=migrator t=2023-11-20T11:36:52.06170461Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-11-20T11:36:52.061731311Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=27.771µs grafana | logger=migrator t=2023-11-20T11:36:52.065047384Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-11-20T11:36:52.065212256Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=164.822µs grafana | logger=migrator t=2023-11-20T11:36:52.06863639Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-11-20T11:36:52.070935123Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.298583ms grafana | logger=migrator t=2023-11-20T11:36:52.075434309Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-11-20T11:36:52.075649041Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=214.622µs grafana | logger=migrator t=2023-11-20T11:36:52.079015735Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-11-20T11:36:52.079211657Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=196.012µs grafana | logger=migrator t=2023-11-20T11:36:52.08250456Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-11-20T11:36:52.086160008Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.654288ms grafana | logger=migrator t=2023-11-20T11:36:52.09127848Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-11-20T11:36:52.091600583Z level=info msg="Migration successfully executed" id="Update uid value" duration=321.203µs grafana | logger=migrator t=2023-11-20T11:36:52.095240249Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-11-20T11:36:52.096134369Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=893.98µs grafana | logger=migrator t=2023-11-20T11:36:52.100153679Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 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-20 11:36:57+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-11-20 11:36:57 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-11-20 11:36:57 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-11-20 11:36:57 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-11-20 11:36:57 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-20 11:36:57 0 [Note] InnoDB: Buffer pool(s) dump completed at 231120 11:36:57 mariadb | 2023-11-20 11:36:57 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-11-20 11:36:57 0 [Note] InnoDB: Shutdown completed; log sequence number 385412; transaction id 298 mariadb | 2023-11-20 11:36:57 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-11-20 11:36:57+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-11-20 11:36:57+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-11-20 11:36:57 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-11-20 11:36:58 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-20 11:36:58 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-20 11:36:58 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-20 11:36:58 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-20 11:36:58 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-20 11:36:58 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-20 11:36:58 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-20 11:36:58 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-20 11:36:58 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-20 11:36:58 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-20 11:36:58 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-20 11:36:58 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-20 11:36:58 0 [Note] InnoDB: log sequence number 385412; transaction id 299 mariadb | 2023-11-20 11:36:58 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-20 11:36:58 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-20 11:36:58 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-20 11:36:58 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-11-20 11:36:58 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-11-20 11:36:58 0 [Note] Server socket created on IP: '::'. mariadb | 2023-11-20 11:36:58 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-20 11:36:58 0 [Note] InnoDB: Buffer pool(s) load completed at 231120 11:36:58 mariadb | 2023-11-20 11:36:58 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2023-11-20 11:36:58 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2023-11-20T11:36:52.101070699Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=916.77µs grafana | logger=migrator t=2023-11-20T11:36:52.105867397Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-11-20T11:36:52.106627495Z level=info msg="Migration successfully executed" id="create api_key table" duration=759.768µs grafana | logger=migrator t=2023-11-20T11:36:52.110195731Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-11-20T11:36:52.11106743Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=870.149µs grafana | logger=migrator t=2023-11-20T11:36:52.114798437Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-11-20T11:36:52.11609305Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.294043ms grafana | logger=migrator t=2023-11-20T11:36:52.120722568Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-11-20T11:36:52.121630716Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=907.698µs grafana | logger=migrator t=2023-11-20T11:36:52.127404975Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-11-20T11:36:52.128228403Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=822.738µs grafana | logger=migrator t=2023-11-20T11:36:52.131969991Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-11-20T11:36:52.133123102Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.150011ms grafana | logger=migrator t=2023-11-20T11:36:52.137687129Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-11-20T11:36:52.138491107Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=803.388µs grafana | logger=migrator t=2023-11-20T11:36:52.141800921Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-11-20T11:36:52.15060962Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.808419ms grafana | logger=migrator t=2023-11-20T11:36:52.154069524Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-11-20T11:36:52.154774992Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=707.698µs grafana | logger=migrator t=2023-11-20T11:36:52.159275077Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-11-20T11:36:52.160067716Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=792.669µs grafana | logger=migrator t=2023-11-20T11:36:52.163440259Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-11-20T11:36:52.16445536Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.013771ms grafana | logger=migrator t=2023-11-20T11:36:52.168793743Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-11-20T11:36:52.170114507Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.320214ms grafana | logger=migrator t=2023-11-20T11:36:52.173700233Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-11-20T11:36:52.174054227Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=354.614µs grafana | logger=migrator t=2023-11-20T11:36:52.17730778Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-11-20T11:36:52.177837825Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=530.285µs grafana | logger=migrator t=2023-11-20T11:36:52.181128309Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-11-20T11:36:52.181166859Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=39.01µs grafana | logger=migrator t=2023-11-20T11:36:52.185856556Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-11-20T11:36:52.189855447Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.001051ms grafana | logger=migrator t=2023-11-20T11:36:52.199704316Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-11-20T11:36:52.203576866Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.871079ms grafana | logger=migrator t=2023-11-20T11:36:52.208122111Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-11-20T11:36:52.208439084Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=317.383µs grafana | logger=migrator t=2023-11-20T11:36:52.213275464Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-11-20T11:36:52.215765689Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.489665ms grafana | logger=migrator t=2023-11-20T11:36:52.219522947Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-11-20T11:36:52.221995482Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.472255ms grafana | logger=migrator t=2023-11-20T11:36:52.225848971Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-11-20T11:36:52.226594058Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=743.007µs grafana | logger=migrator t=2023-11-20T11:36:52.231348167Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-11-20T11:36:52.231919682Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=571.355µs grafana | logger=migrator t=2023-11-20T11:36:52.235830742Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-11-20T11:36:52.237169575Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.338303ms grafana | logger=migrator t=2023-11-20T11:36:52.241124236Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-11-20T11:36:52.24252072Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.395944ms grafana | logger=migrator t=2023-11-20T11:36:52.247301828Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-11-20T11:36:52.248035796Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=733.758µs grafana | logger=migrator t=2023-11-20T11:36:52.251854764Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-11-20T11:36:52.252716003Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=858.329µs grafana | logger=migrator t=2023-11-20T11:36:52.256560632Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-11-20T11:36:52.256660083Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=99.891µs grafana | logger=migrator t=2023-11-20T11:36:52.261742774Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-11-20T11:36:52.261779214Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=37.34µs grafana | logger=migrator t=2023-11-20T11:36:52.266086628Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-11-20T11:36:52.270412042Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.325075ms grafana | logger=migrator t=2023-11-20T11:36:52.273999508Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-11-20T11:36:52.276628745Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.628897ms grafana | logger=migrator t=2023-11-20T11:36:52.279746846Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-11-20T11:36:52.279818017Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=71.791µs grafana | logger=migrator t=2023-11-20T11:36:52.284401154Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-11-20T11:36:52.28503338Z level=info msg="Migration successfully executed" id="create quota table v1" duration=630.686µs policy-api | [2023-11-20T11:37:29.186+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-20T11:37:29.530+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-11-20T11:37:29.750+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-11-20T11:37:29.961+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2023-11-20T11:36:52.288688577Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-11-20T11:36:52.289442184Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=752.947µs grafana | logger=migrator t=2023-11-20T11:36:52.29295779Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-11-20T11:36:52.292980231Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=25.181µs grafana | logger=migrator t=2023-11-20T11:36:52.297440835Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-11-20T11:36:52.298740288Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.298803ms grafana | logger=migrator t=2023-11-20T11:36:52.302393745Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-11-20T11:36:52.303490186Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.096821ms grafana | logger=migrator t=2023-11-20T11:36:52.30678528Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-11-20T11:36:52.310408676Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.622056ms grafana | logger=migrator t=2023-11-20T11:36:52.313829271Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-11-20T11:36:52.313852622Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=24.401µs grafana | logger=migrator t=2023-11-20T11:36:52.318113895Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-11-20T11:36:52.318960033Z level=info msg="Migration successfully executed" id="create session table" duration=845.138µs grafana | logger=migrator t=2023-11-20T11:36:52.322889923Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-11-20T11:36:52.323067784Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=180.591µs grafana | logger=migrator t=2023-11-20T11:36:52.327498819Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-11-20T11:36:52.32760473Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=105.861µs grafana | logger=migrator t=2023-11-20T11:36:52.33159655Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-11-20T11:36:52.332318838Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=721.388µs grafana | logger=migrator t=2023-11-20T11:36:52.33649091Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-11-20T11:36:52.337280238Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=789.188µs grafana | logger=migrator t=2023-11-20T11:36:52.340663363Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-11-20T11:36:52.340685533Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=22.81µs grafana | logger=migrator t=2023-11-20T11:36:52.347972376Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-11-20T11:36:52.347996697Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=26.191µs grafana | logger=migrator t=2023-11-20T11:36:52.351383111Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-11-20T11:36:52.354399422Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.015771ms grafana | logger=migrator t=2023-11-20T11:36:52.357626544Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-11-20T11:36:52.360546944Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.92051ms grafana | logger=migrator t=2023-11-20T11:36:52.364053869Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-11-20T11:36:52.36412642Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=73.171µs grafana | logger=migrator t=2023-11-20T11:36:52.368247471Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-11-20T11:36:52.368378063Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=130.802µs grafana | logger=migrator t=2023-11-20T11:36:52.371698276Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-11-20T11:36:52.372848738Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.152212ms grafana | logger=migrator t=2023-11-20T11:36:52.377720177Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-11-20T11:36:52.377790158Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=71.051µs grafana | logger=migrator t=2023-11-20T11:36:52.381479836Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-11-20T11:36:52.384491166Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.011ms grafana | logger=migrator t=2023-11-20T11:36:52.38886786Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-11-20T11:36:52.389012421Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=142.971µs grafana | logger=migrator t=2023-11-20T11:36:52.392212255Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-11-20T11:36:52.395214975Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.00226ms grafana | logger=migrator t=2023-11-20T11:36:52.398614609Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-11-20T11:36:52.401588859Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=2.97381ms grafana | logger=migrator t=2023-11-20T11:36:52.405956603Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-11-20T11:36:52.406015713Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=59.34µs grafana | logger=migrator t=2023-11-20T11:36:52.40867339Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-11-20T11:36:52.409681941Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.009461ms grafana | logger=migrator t=2023-11-20T11:36:52.413347468Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-11-20T11:36:52.414779333Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.431405ms grafana | logger=migrator t=2023-11-20T11:36:52.41946555Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-11-20T11:36:52.42043198Z level=info msg="Migration successfully executed" id="create alert table v1" duration=966.62µs grafana | logger=migrator t=2023-11-20T11:36:52.423933105Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-11-20T11:36:52.424926695Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=993.65µs grafana | logger=migrator t=2023-11-20T11:36:52.429107398Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-11-20T11:36:52.429946195Z level=info msg="Migration successfully executed" id="add index alert state" duration=838.587µs grafana | logger=migrator t=2023-11-20T11:36:52.433841795Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-11-20T11:36:52.434709614Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=867.339µs grafana | logger=migrator t=2023-11-20T11:36:52.438040617Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-11-20T11:36:52.438869516Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=828.289µs grafana | logger=migrator t=2023-11-20T11:36:52.443323371Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-11-20T11:36:52.44420377Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=879.789µs grafana | logger=migrator t=2023-11-20T11:36:52.447628725Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-11-20T11:36:52.448615565Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=987.01µs grafana | logger=migrator t=2023-11-20T11:36:52.452276651Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-11-20T11:36:52.467495376Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=15.213305ms grafana | logger=migrator t=2023-11-20T11:36:52.474151163Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-11-20T11:36:52.47584769Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=1.701487ms grafana | logger=migrator t=2023-11-20T11:36:52.479366236Z 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-20T11:36:52.480879081Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.513215ms grafana | logger=migrator t=2023-11-20T11:36:52.484422347Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-11-20T11:36:52.485006533Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=590.017µs grafana | logger=migrator t=2023-11-20T11:36:52.488424337Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-11-20T11:36:52.489805491Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=1.386044ms grafana | logger=migrator t=2023-11-20T11:36:52.497724192Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-11-20T11:36:52.498648012Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=923.839µs grafana | logger=migrator t=2023-11-20T11:36:52.503205167Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-11-20T11:36:52.508221717Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.01743ms grafana | logger=migrator t=2023-11-20T11:36:52.511797554Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-11-20T11:36:52.515779734Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.9813ms grafana | logger=migrator t=2023-11-20T11:36:52.527930117Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-11-20T11:36:52.532679696Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=4.747348ms grafana | logger=migrator t=2023-11-20T11:36:52.537804868Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-11-20T11:36:52.541518644Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.713176ms grafana | logger=migrator t=2023-11-20T11:36:52.545061671Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-11-20T11:36:52.54602898Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=967.239µs grafana | logger=migrator t=2023-11-20T11:36:52.549024381Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-11-20T11:36:52.549053631Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=27.64µs grafana | logger=migrator t=2023-11-20T11:36:52.554137382Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-11-20T11:36:52.554180163Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=46.801µs grafana | logger=migrator t=2023-11-20T11:36:52.561552267Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-11-20T11:36:52.563166164Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.612557ms grafana | logger=migrator t=2023-11-20T11:36:52.568561108Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-20T11:36:52.569970153Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.408094ms grafana | logger=migrator t=2023-11-20T11:36:52.57374628Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-11-20T11:36:52.574562169Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=815.209µs grafana | logger=migrator t=2023-11-20T11:36:52.588268928Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-11-20T11:36:52.589625872Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.358114ms grafana | logger=migrator t=2023-11-20T11:36:52.593625912Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-20T11:36:52.595118307Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.492675ms grafana | logger=migrator t=2023-11-20T11:36:52.602089607Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-11-20T11:36:52.61216408Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=10.072153ms grafana | logger=migrator t=2023-11-20T11:36:52.619723996Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-11-20T11:36:52.622442973Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=2.717217ms grafana | logger=migrator t=2023-11-20T11:36:52.627278172Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-11-20T11:36:52.627602816Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=324.134µs grafana | logger=migrator t=2023-11-20T11:36:52.632660667Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-11-20T11:36:52.633477985Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=817.258µs grafana | logger=migrator t=2023-11-20T11:36:52.638694398Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-11-20T11:36:52.63996466Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.269842ms grafana | logger=migrator t=2023-11-20T11:36:52.643213184Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-11-20T11:36:52.647281355Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.067721ms grafana | logger=migrator t=2023-11-20T11:36:52.653360006Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-11-20T11:36:52.653410037Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=50.501µs grafana | logger=migrator t=2023-11-20T11:36:52.656221985Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-11-20T11:36:52.656821052Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=599.017µs grafana | logger=migrator t=2023-11-20T11:36:52.659771412Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-11-20T11:36:52.66065933Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=887.569µs grafana | logger=migrator t=2023-11-20T11:36:52.665170465Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-11-20T11:36:52.665253927Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=84.142µs grafana | logger=migrator t=2023-11-20T11:36:52.668717292Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-11-20T11:36:52.66949344Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=776.298µs grafana | logger=migrator t=2023-11-20T11:36:52.673683982Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-11-20T11:36:52.67453304Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=813.878µs grafana | logger=migrator t=2023-11-20T11:36:52.678714162Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-11-20T11:36:52.679520201Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=806.269µs grafana | logger=migrator t=2023-11-20T11:36:52.682701433Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-11-20T11:36:52.683517842Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=815.789µs grafana | logger=migrator t=2023-11-20T11:36:52.686933166Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-11-20T11:36:52.688968086Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=2.02591ms grafana | logger=migrator t=2023-11-20T11:36:52.69721193Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-11-20T11:36:52.69916292Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.95532ms grafana | logger=migrator t=2023-11-20T11:36:52.70310526Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-11-20T11:36:52.703176971Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=78.471µs grafana | logger=migrator t=2023-11-20T11:36:52.706668866Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-11-20T11:36:52.710950379Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.280553ms grafana | logger=migrator t=2023-11-20T11:36:52.71597731Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-11-20T11:36:52.716886028Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=908.808µs grafana | logger=migrator t=2023-11-20T11:36:52.719671487Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-11-20T11:36:52.723653777Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.98177ms grafana | logger=migrator t=2023-11-20T11:36:52.726513876Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-11-20T11:36:52.727136723Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=622.577µs grafana | logger=migrator t=2023-11-20T11:36:52.732267304Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-11-20T11:36:52.733176844Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=908.17µs grafana | logger=migrator t=2023-11-20T11:36:52.736372286Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-11-20T11:36:52.737365676Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=986.63µs grafana | logger=migrator t=2023-11-20T11:36:52.742883452Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-11-20T11:36:52.759279808Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=16.396656ms grafana | logger=migrator t=2023-11-20T11:36:52.762181818Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-11-20T11:36:52.762672212Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=490.494µs grafana | logger=migrator t=2023-11-20T11:36:52.765574291Z 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-20T11:36:52.767625073Z 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=2.054552ms grafana | logger=migrator t=2023-11-20T11:36:52.773953646Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-11-20T11:36:52.774528933Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=575.997µs grafana | logger=migrator t=2023-11-20T11:36:52.778703775Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-11-20T11:36:52.779356751Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=653.296µs grafana | logger=migrator t=2023-11-20T11:36:52.783503963Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-11-20T11:36:52.783679855Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=176.111µs grafana | logger=migrator t=2023-11-20T11:36:52.788633445Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-11-20T11:36:52.792765377Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.131642ms grafana | logger=migrator t=2023-11-20T11:36:52.796524714Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-11-20T11:36:52.800596006Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.068172ms grafana | logger=migrator t=2023-11-20T11:36:52.803552396Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-11-20T11:36:52.804482215Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=929.329µs grafana | logger=migrator t=2023-11-20T11:36:52.809073062Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-11-20T11:36:52.809944051Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=869.709µs grafana | logger=migrator t=2023-11-20T11:36:52.814464466Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-11-20T11:36:52.81488201Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=417.434µs grafana | logger=migrator t=2023-11-20T11:36:52.81877961Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-11-20T11:36:52.823104323Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.325603ms grafana | logger=migrator t=2023-11-20T11:36:52.827765251Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-11-20T11:36:52.82874833Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=981.779µs grafana | logger=migrator t=2023-11-20T11:36:52.83259852Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-11-20T11:36:52.832791662Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=193.552µs grafana | logger=migrator t=2023-11-20T11:36:52.835812042Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-11-20T11:36:52.836207947Z level=info msg="Migration successfully executed" id="Move region to single row" duration=395.825µs grafana | logger=migrator t=2023-11-20T11:36:52.842606611Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-11-20T11:36:52.843581431Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=974.51µs grafana | logger=migrator t=2023-11-20T11:36:52.846869664Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-11-20T11:36:52.847819624Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=948.96µs grafana | logger=migrator t=2023-11-20T11:36:52.857042887Z 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-20T11:36:52.858862056Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.818269ms grafana | logger=migrator t=2023-11-20T11:36:52.864679754Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-20T11:36:52.865684315Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.000641ms grafana | logger=migrator t=2023-11-20T11:36:52.873413513Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-11-20T11:36:52.874279272Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=863.859µs grafana | logger=migrator t=2023-11-20T11:36:52.877705836Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-11-20T11:36:52.878760057Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.053601ms grafana | logger=migrator t=2023-11-20T11:36:52.8859934Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-11-20T11:36:52.886187731Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=204.392µs grafana | logger=migrator t=2023-11-20T11:36:52.88897242Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-11-20T11:36:52.890087621Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.116601ms grafana | logger=migrator t=2023-11-20T11:36:52.896070072Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-11-20T11:36:52.89683812Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=768.309µs grafana | logger=migrator t=2023-11-20T11:36:52.904937032Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-11-20T11:36:52.90676703Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.843608ms grafana | logger=migrator t=2023-11-20T11:36:52.910145744Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-11-20T11:36:52.910909172Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=763.138µs grafana | logger=migrator t=2023-11-20T11:36:52.915823352Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-11-20T11:36:52.916046624Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=226.332µs grafana | logger=migrator t=2023-11-20T11:36:52.921663371Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-11-20T11:36:52.922074005Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=410.404µs grafana | logger=migrator t=2023-11-20T11:36:52.927408179Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-11-20T11:36:52.927638111Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=228.962µs grafana | logger=migrator t=2023-11-20T11:36:52.93243976Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-11-20T11:36:52.933694582Z level=info msg="Migration successfully executed" id="create team table" duration=1.253562ms grafana | logger=migrator t=2023-11-20T11:36:52.938202359Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-11-20T11:36:52.939593372Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.391513ms grafana | logger=migrator t=2023-11-20T11:36:52.944967057Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-11-20T11:36:52.946218519Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.251043ms grafana | logger=migrator t=2023-11-20T11:36:52.950524673Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-11-20T11:36:52.955491253Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.96579ms grafana | logger=migrator t=2023-11-20T11:36:52.959946888Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-11-20T11:36:52.960269611Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=323.193µs grafana | logger=migrator t=2023-11-20T11:36:52.975091092Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-11-20T11:36:52.976555487Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.464694ms grafana | logger=migrator t=2023-11-20T11:36:52.980114532Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-11-20T11:36:52.981240434Z level=info msg="Migration successfully executed" id="create team member table" duration=1.125651ms grafana | logger=migrator t=2023-11-20T11:36:52.98583002Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-11-20T11:36:52.987266435Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.436835ms grafana | logger=migrator t=2023-11-20T11:36:52.995158514Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-11-20T11:36:52.996188605Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.038591ms grafana | logger=migrator t=2023-11-20T11:36:53.000957683Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-11-20T11:36:53.002424518Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.466965ms grafana | logger=migrator t=2023-11-20T11:36:53.00745266Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-11-20T11:36:53.015106958Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.654468ms grafana | logger=migrator t=2023-11-20T11:36:53.020889729Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-11-20T11:36:53.028612558Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=7.72381ms grafana | logger=migrator t=2023-11-20T11:36:53.031549928Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-11-20T11:36:53.034946604Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=3.396286ms grafana | logger=migrator t=2023-11-20T11:36:53.040095066Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-11-20T11:36:53.041060336Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=965.96µs grafana | logger=migrator t=2023-11-20T11:36:53.046569234Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-11-20T11:36:53.04817335Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.606187ms grafana | logger=migrator t=2023-11-20T11:36:53.053370424Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-11-20T11:36:53.055102112Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.732118ms grafana | logger=migrator t=2023-11-20T11:36:53.060033553Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-11-20T11:36:53.061055733Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.02178ms grafana | logger=migrator t=2023-11-20T11:36:53.068134696Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-11-20T11:36:53.069114217Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=979.221µs grafana | logger=migrator t=2023-11-20T11:36:53.075516913Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-11-20T11:36:53.076579863Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.06265ms grafana | logger=migrator t=2023-11-20T11:36:53.080649956Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-11-20T11:36:53.082397654Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.747168ms grafana | logger=migrator t=2023-11-20T11:36:53.088659259Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-11-20T11:36:53.090090063Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.429994ms grafana | logger=migrator t=2023-11-20T11:36:53.094738171Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-11-20T11:36:53.095749932Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=1.011721ms grafana | logger=migrator t=2023-11-20T11:36:53.100984606Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-11-20T11:36:53.10134308Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=358.554µs grafana | logger=migrator t=2023-11-20T11:36:53.105516443Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-11-20T11:36:53.107102989Z level=info msg="Migration successfully executed" id="create tag table" duration=1.585416ms grafana | logger=migrator t=2023-11-20T11:36:53.111525455Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-11-20T11:36:53.113240953Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.715128ms grafana | logger=migrator t=2023-11-20T11:36:53.118717469Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-11-20T11:36:53.119454127Z level=info msg="Migration successfully executed" id="create login attempt table" duration=736.228µs grafana | logger=migrator t=2023-11-20T11:36:53.124149695Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-11-20T11:36:53.125834174Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.684889ms grafana | logger=migrator t=2023-11-20T11:36:53.131478842Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-11-20T11:36:53.132573243Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.271814ms grafana | logger=migrator t=2023-11-20T11:36:53.139356273Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-20T11:36:53.157679672Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.318739ms grafana | logger=migrator t=2023-11-20T11:36:53.162126698Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-11-20T11:36:53.163128179Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=1.001261ms grafana | logger=migrator t=2023-11-20T11:36:53.167790097Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-11-20T11:36:53.169275623Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.483376ms grafana | logger=migrator t=2023-11-20T11:36:53.176065532Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-11-20T11:36:53.176851511Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=787.819µs grafana | logger=migrator t=2023-11-20T11:36:53.181928204Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-11-20T11:36:53.183144405Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.215391ms grafana | logger=migrator t=2023-11-20T11:36:53.188636732Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-11-20T11:36:53.189604682Z level=info msg="Migration successfully executed" id="create user auth table" duration=967.26µs grafana | logger=migrator t=2023-11-20T11:36:53.198898969Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-11-20T11:36:53.200744758Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.845679ms grafana | logger=migrator t=2023-11-20T11:36:53.205300324Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-11-20T11:36:53.205485026Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=186.812µs grafana | logger=migrator t=2023-11-20T11:36:53.210696841Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-11-20T11:36:53.220193289Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=9.448237ms grafana | logger=migrator t=2023-11-20T11:36:53.225816557Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-11-20T11:36:53.230420305Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.603608ms grafana | logger=migrator t=2023-11-20T11:36:53.237690569Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-11-20T11:36:53.244638241Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.943362ms grafana | logger=migrator t=2023-11-20T11:36:53.24835024Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-11-20T11:36:53.255561294Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=7.206054ms grafana | logger=migrator t=2023-11-20T11:36:53.260102501Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-11-20T11:36:53.263116973Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=3.013792ms grafana | logger=migrator t=2023-11-20T11:36:53.268618909Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-11-20T11:36:53.273721122Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.101863ms grafana | logger=migrator t=2023-11-20T11:36:53.27836406Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-11-20T11:36:53.279146769Z level=info msg="Migration successfully executed" id="create server_lock table" duration=782.479µs grafana | logger=migrator t=2023-11-20T11:36:53.284585435Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-11-20T11:36:53.285485875Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=899.84µs grafana | logger=migrator t=2023-11-20T11:36:53.289146162Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-11-20T11:36:53.290380655Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.234053ms grafana | logger=migrator t=2023-11-20T11:36:53.296112264Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-11-20T11:36:53.297046194Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=934.36µs grafana | logger=migrator t=2023-11-20T11:36:53.301602911Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-11-20T11:36:53.30249892Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=896.339µs grafana | logger=migrator t=2023-11-20T11:36:53.307275279Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-11-20T11:36:53.31029034Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=3.019441ms grafana | logger=migrator t=2023-11-20T11:36:53.316534936Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-11-20T11:36:53.322403936Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.86801ms grafana | logger=migrator t=2023-11-20T11:36:53.325787341Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-11-20T11:36:53.326798371Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.01064ms grafana | logger=migrator t=2023-11-20T11:36:53.331137786Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-11-20T11:36:53.332007196Z level=info msg="Migration successfully executed" id="create cache_data table" duration=870.95µs grafana | logger=migrator t=2023-11-20T11:36:53.337372171Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-11-20T11:36:53.338376441Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.00641ms grafana | logger=migrator t=2023-11-20T11:36:53.351232024Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-11-20T11:36:53.352826961Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.593977ms grafana | logger=migrator t=2023-11-20T11:36:53.357140495Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-11-20T11:36:53.358658391Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.518276ms grafana | logger=migrator t=2023-11-20T11:36:53.36628846Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-11-20T11:36:53.36636797Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=80.08µs grafana | logger=migrator t=2023-11-20T11:36:53.371815957Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-11-20T11:36:53.371921678Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=107.101µs grafana | logger=migrator t=2023-11-20T11:36:53.377349804Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-11-20T11:36:53.37890214Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.551756ms grafana | logger=migrator t=2023-11-20T11:36:53.383520709Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-20T11:36:53.384585089Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.06417ms grafana | logger=migrator t=2023-11-20T11:36:53.389282738Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-20T11:36:53.392222998Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=2.94014ms grafana | logger=migrator t=2023-11-20T11:36:53.399295021Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-20T11:36:53.399364152Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=69.441µs grafana | logger=migrator t=2023-11-20T11:36:53.403082161Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-20T11:36:53.40496328Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.880319ms grafana | logger=migrator t=2023-11-20T11:36:53.410011461Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-20T11:36:53.41075923Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=747.969µs grafana | logger=migrator t=2023-11-20T11:36:53.415998574Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-20T11:36:53.416711981Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=713.397µs grafana | logger=migrator t=2023-11-20T11:36:53.421767794Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-20T11:36:53.422954536Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.181872ms grafana | logger=migrator t=2023-11-20T11:36:53.429606634Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-11-20T11:36:53.436072662Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.466158ms grafana | logger=migrator t=2023-11-20T11:36:53.442258336Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-11-20T11:36:53.443542728Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.284372ms grafana | logger=migrator t=2023-11-20T11:36:53.44847532Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-11-20T11:36:53.448843993Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=368.953µs grafana | logger=migrator t=2023-11-20T11:36:53.454689214Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-11-20T11:36:53.455653514Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=963.96µs grafana | logger=migrator t=2023-11-20T11:36:53.460786917Z 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-20T11:36:53.462289303Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.500426ms grafana | logger=migrator t=2023-11-20T11:36:53.469613488Z 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-20T11:36:53.470831271Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.223123ms grafana | logger=migrator t=2023-11-20T11:36:53.476916114Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-20T11:36:53.477014334Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=101.011µs grafana | logger=migrator t=2023-11-20T11:36:53.483586233Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-11-20T11:36:53.487968518Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=4.380445ms grafana | logger=migrator t=2023-11-20T11:36:53.498881101Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-11-20T11:36:53.500545208Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.664497ms grafana | logger=migrator t=2023-11-20T11:36:53.50844537Z 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-20T11:36:53.509470391Z 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.024081ms grafana | logger=migrator t=2023-11-20T11:36:53.514676604Z 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-20T11:36:53.515709445Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.033241ms grafana | logger=migrator t=2023-11-20T11:36:53.521762357Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-11-20T11:36:53.532016524Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=10.253677ms grafana | logger=migrator t=2023-11-20T11:36:53.538857095Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-20T11:36:53.539966505Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.10854ms grafana | logger=migrator t=2023-11-20T11:36:53.547912818Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-20T11:36:53.549661776Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.753618ms grafana | logger=migrator t=2023-11-20T11:36:53.55484775Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-11-20T11:36:53.598184278Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=43.329098ms grafana | logger=migrator t=2023-11-20T11:36:53.606361493Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-11-20T11:36:53.645067482Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=38.698979ms grafana | logger=migrator t=2023-11-20T11:36:53.650413998Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-20T11:36:53.651357858Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=932.52µs grafana | logger=migrator t=2023-11-20T11:36:53.657043287Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-20T11:36:53.657970807Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=927.169µs grafana | logger=migrator t=2023-11-20T11:36:53.663464054Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-11-20T11:36:53.669456625Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.993922ms grafana | logger=migrator t=2023-11-20T11:36:53.673236503Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-11-20T11:36:53.674060032Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=823.509µs grafana | logger=migrator t=2023-11-20T11:36:53.679729221Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-11-20T11:36:53.681331048Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.601497ms grafana | logger=migrator t=2023-11-20T11:36:53.687235209Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-11-20T11:36:53.68826187Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.025861ms grafana | logger=migrator t=2023-11-20T11:36:53.692880238Z 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-20T11:36:53.693955948Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.0749ms grafana | logger=migrator t=2023-11-20T11:36:53.698075361Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-20T11:36:53.698138361Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=63.53µs grafana | logger=migrator t=2023-11-20T11:36:53.704376997Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-11-20T11:36:53.713594211Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.217534ms grafana | logger=migrator t=2023-11-20T11:36:53.719947538Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-11-20T11:36:53.730543086Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=10.593789ms grafana | logger=migrator t=2023-11-20T11:36:53.738104165Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-11-20T11:36:53.746157269Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=8.046844ms grafana | logger=migrator t=2023-11-20T11:36:53.751301881Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-11-20T11:36:53.753017679Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.720108ms grafana | logger=migrator t=2023-11-20T11:36:53.760314545Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2023-11-20T11:36:53.761541798Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.227343ms grafana | logger=migrator t=2023-11-20T11:36:53.765179745Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-11-20T11:36:53.771610212Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.426817ms grafana | logger=migrator t=2023-11-20T11:36:53.777973667Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-11-20T11:36:53.783927429Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.949672ms grafana | logger=migrator t=2023-11-20T11:36:53.789585028Z 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-20T11:36:53.790695778Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.09582ms grafana | logger=migrator t=2023-11-20T11:36:53.795479888Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-11-20T11:36:53.802094487Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.612849ms grafana | logger=migrator t=2023-11-20T11:36:53.807020018Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-11-20T11:36:53.811352412Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.332504ms grafana | logger=migrator t=2023-11-20T11:36:53.81785249Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-11-20T11:36:53.817967371Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=110.291µs grafana | logger=migrator t=2023-11-20T11:36:53.822587318Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-11-20T11:36:53.824126984Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.537526ms grafana | logger=migrator t=2023-11-20T11:36:53.830078357Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2023-11-20T11:36:53.832004486Z 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.92561ms grafana | logger=migrator t=2023-11-20T11:36:53.838106539Z 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-20T11:36:53.839367912Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.261013ms grafana | logger=migrator t=2023-11-20T11:36:53.844658107Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-20T11:36:53.844763628Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=107.561µs grafana | logger=migrator t=2023-11-20T11:36:53.850091443Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-11-20T11:36:53.858822383Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.72966ms grafana | logger=migrator t=2023-11-20T11:36:53.864859335Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-11-20T11:36:53.874440625Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=9.5808ms grafana | logger=migrator t=2023-11-20T11:36:53.88074475Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-11-20T11:36:53.891183618Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=10.438268ms grafana | logger=migrator t=2023-11-20T11:36:53.904783059Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-11-20T11:36:53.914135706Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=9.354087ms grafana | logger=migrator t=2023-11-20T11:36:53.918923845Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-11-20T11:36:53.926152429Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=7.227504ms grafana | logger=migrator t=2023-11-20T11:36:53.933931581Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-11-20T11:36:53.934050002Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=120.962µs grafana | logger=migrator t=2023-11-20T11:36:53.940610219Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-11-20T11:36:53.941916382Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.304703ms grafana | logger=migrator t=2023-11-20T11:36:53.948331549Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-11-20T11:36:53.957916578Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.586149ms grafana | logger=migrator t=2023-11-20T11:36:53.961849819Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-11-20T11:36:53.96191608Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=66.741µs grafana | logger=migrator t=2023-11-20T11:36:53.966477817Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-11-20T11:36:53.97261598Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.136633ms grafana | logger=migrator t=2023-11-20T11:36:53.977000985Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-11-20T11:36:53.977996566Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=995.301µs grafana | logger=migrator t=2023-11-20T11:36:53.984025788Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-11-20T11:36:53.993781399Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=9.7542ms grafana | logger=migrator t=2023-11-20T11:36:54.001262267Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-11-20T11:36:54.002378989Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.117882ms grafana | logger=migrator t=2023-11-20T11:36:54.00836404Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-11-20T11:36:54.009584523Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.212613ms grafana | logger=migrator t=2023-11-20T11:36:54.015677275Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-11-20T11:36:54.023961841Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=8.284376ms grafana | logger=migrator t=2023-11-20T11:36:54.034433268Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-11-20T11:36:54.035403728Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=977.06µs grafana | logger=migrator t=2023-11-20T11:36:54.04147807Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-11-20T11:36:54.043386451Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.908441ms grafana | logger=migrator t=2023-11-20T11:36:54.050794976Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-11-20T11:36:54.051740636Z level=info msg="Migration successfully executed" id="create alert_image table" duration=946.48µs grafana | logger=migrator t=2023-11-20T11:36:54.055865929Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-11-20T11:36:54.057561836Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.696437ms grafana | logger=migrator t=2023-11-20T11:36:54.061611318Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-11-20T11:36:54.061725399Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=112.711µs grafana | logger=migrator t=2023-11-20T11:36:54.066317136Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-11-20T11:36:54.067412517Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.094531ms grafana | logger=migrator t=2023-11-20T11:36:54.070875712Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2023-11-20T11:36:54.071968324Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.092242ms grafana | logger=migrator t=2023-11-20T11:36:54.075636332Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-20T11:36:54.076041596Z 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-20T11:36:54.080544662Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-11-20T11:36:54.081195179Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=650.607µs grafana | logger=migrator t=2023-11-20T11:36:54.084958908Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-11-20T11:36:54.086755956Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.796438ms grafana | logger=migrator t=2023-11-20T11:36:54.090604896Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-11-20T11:36:54.097535498Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.928502ms grafana | logger=migrator t=2023-11-20T11:36:54.102488968Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-11-20T11:36:54.103461488Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=972.17µs grafana | logger=migrator t=2023-11-20T11:36:54.107265077Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-11-20T11:36:54.108393429Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.128232ms grafana | logger=migrator t=2023-11-20T11:36:54.119592743Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-11-20T11:36:54.120845256Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.246483ms grafana | logger=migrator t=2023-11-20T11:36:54.125836358Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-11-20T11:36:54.127673167Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.835909ms grafana | logger=migrator t=2023-11-20T11:36:54.132213053Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-11-20T11:36:54.133280764Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.067181ms grafana | logger=migrator t=2023-11-20T11:36:54.136867582Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-11-20T11:36:54.136897792Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=31.98µs grafana | logger=migrator t=2023-11-20T11:36:54.141816472Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-11-20T11:36:54.141904393Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=89.041µs grafana | logger=migrator t=2023-11-20T11:36:54.144773313Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-11-20T11:36:54.145165047Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=390.955µs grafana | logger=migrator t=2023-11-20T11:36:54.148887765Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-11-20T11:36:54.150283159Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.394534ms grafana | logger=migrator t=2023-11-20T11:36:54.154095519Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-11-20T11:36:54.15517936Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.083381ms grafana | logger=migrator t=2023-11-20T11:36:54.160257992Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-11-20T11:36:54.206601208Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=46.318586ms grafana | logger=migrator t=2023-11-20T11:36:54.210898642Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-11-20T11:36:54.215884864Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=4.985532ms grafana | logger=migrator t=2023-11-20T11:36:54.219856815Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-11-20T11:36:54.219961246Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=110.301µs grafana | logger=migrator t=2023-11-20T11:36:54.224538973Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-11-20T11:36:54.27189125Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=47.353677ms grafana | logger=migrator t=2023-11-20T11:36:54.28070363Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-11-20T11:36:54.324969905Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=44.262315ms grafana | logger=migrator t=2023-11-20T11:36:54.32929938Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-11-20T11:36:54.329888076Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=590.866µs grafana | logger=migrator t=2023-11-20T11:36:54.334405813Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-11-20T11:36:54.335437173Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.028449ms grafana | logger=migrator t=2023-11-20T11:36:54.341271793Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-11-20T11:36:54.341582986Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=311.293µs grafana | logger=migrator t=2023-11-20T11:36:54.34580929Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-11-20T11:36:54.347000422Z level=info msg="Migration successfully executed" id="create permission table" duration=1.191012ms grafana | logger=migrator t=2023-11-20T11:36:54.353298966Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-11-20T11:36:54.354293207Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=993.931µs grafana | logger=migrator t=2023-11-20T11:36:54.361151298Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-11-20T11:36:54.363058847Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.903039ms grafana | logger=migrator t=2023-11-20T11:36:54.368608224Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-11-20T11:36:54.370425302Z level=info msg="Migration successfully executed" id="create role table" duration=1.820918ms grafana | logger=migrator t=2023-11-20T11:36:54.378102802Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-11-20T11:36:54.388314847Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.216835ms grafana | logger=migrator t=2023-11-20T11:36:54.393955574Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-11-20T11:36:54.401999407Z level=info msg="Migration successfully executed" id="add column group_name" duration=8.043193ms grafana | logger=migrator t=2023-11-20T11:36:54.409362433Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-11-20T11:36:54.410570185Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.207312ms grafana | logger=migrator t=2023-11-20T11:36:54.414605607Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-11-20T11:36:54.415820879Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.214742ms grafana | logger=migrator t=2023-11-20T11:36:54.419583689Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-11-20T11:36:54.42077613Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.192611ms grafana | logger=migrator t=2023-11-20T11:36:54.427098636Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-11-20T11:36:54.428337038Z level=info msg="Migration successfully executed" id="create team role table" duration=1.233663ms grafana | logger=migrator t=2023-11-20T11:36:54.432771574Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-11-20T11:36:54.434008347Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.236523ms grafana | logger=migrator t=2023-11-20T11:36:54.437849577Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-11-20T11:36:54.439078568Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.228841ms grafana | logger=migrator t=2023-11-20T11:36:54.444252402Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-11-20T11:36:54.445587755Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.334663ms grafana | logger=migrator t=2023-11-20T11:36:54.449741328Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-11-20T11:36:54.450561647Z level=info msg="Migration successfully executed" id="create user role table" duration=820.039µs grafana | logger=migrator t=2023-11-20T11:36:54.454416416Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-11-20T11:36:54.455590378Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.173172ms grafana | logger=migrator t=2023-11-20T11:36:54.460941713Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-11-20T11:36:54.462991415Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=2.048682ms grafana | logger=migrator t=2023-11-20T11:36:54.468010576Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-11-20T11:36:54.469187958Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.176992ms grafana | logger=migrator t=2023-11-20T11:36:54.475117809Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-11-20T11:36:54.475973238Z level=info msg="Migration successfully executed" id="create builtin role table" duration=855.509µs grafana | logger=migrator t=2023-11-20T11:36:54.481412684Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-11-20T11:36:54.482510225Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.097311ms grafana | logger=migrator t=2023-11-20T11:36:54.489372185Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-11-20T11:36:54.491314296Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.941281ms grafana | logger=migrator t=2023-11-20T11:36:54.507111478Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-11-20T11:36:54.51702907Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.918712ms grafana | logger=migrator t=2023-11-20T11:36:54.521097212Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-11-20T11:36:54.522251824Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.152862ms grafana | logger=migrator t=2023-11-20T11:36:54.527504238Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-11-20T11:36:54.52963661Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=2.130002ms grafana | logger=migrator t=2023-11-20T11:36:54.534038615Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-11-20T11:36:54.536058156Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=2.020521ms grafana | logger=migrator t=2023-11-20T11:36:54.539760223Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-11-20T11:36:54.541650433Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.89049ms grafana | logger=migrator t=2023-11-20T11:36:54.54621446Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-11-20T11:36:54.546935217Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=723.487µs grafana | logger=migrator t=2023-11-20T11:36:54.550221752Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-11-20T11:36:54.551503485Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.281663ms grafana | logger=migrator t=2023-11-20T11:36:54.555087951Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-11-20T11:36:54.563128774Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.040093ms grafana | logger=migrator t=2023-11-20T11:36:54.567804072Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-11-20T11:36:54.574104017Z level=info msg="Migration successfully executed" id="permission kind migration" duration=6.296635ms grafana | logger=migrator t=2023-11-20T11:36:54.578561233Z level=info msg="Executing migration" id="permission attribute migration" 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 | 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 | -------------- grafana | logger=migrator t=2023-11-20T11:36:54.586443864Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.879781ms grafana | logger=migrator t=2023-11-20T11:36:54.59004542Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-11-20T11:36:54.599305866Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=9.260266ms grafana | logger=migrator t=2023-11-20T11:36:54.608008645Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-11-20T11:36:54.608902165Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=893.85µs grafana | logger=migrator t=2023-11-20T11:36:54.615093578Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-11-20T11:36:54.616814646Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.721247ms grafana | logger=migrator t=2023-11-20T11:36:54.622022569Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-11-20T11:36:54.623237242Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.216423ms grafana | logger=migrator t=2023-11-20T11:36:54.629180263Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-11-20T11:36:54.629371705Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=193.272µs grafana | logger=migrator t=2023-11-20T11:36:54.633348386Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-11-20T11:36:54.633434316Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=87.25µs grafana | logger=migrator t=2023-11-20T11:36:54.637498238Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-11-20T11:36:54.638108515Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=610.597µs grafana | logger=migrator t=2023-11-20T11:36:54.642566491Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-11-20T11:36:54.643249198Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=683.597µs grafana | logger=migrator t=2023-11-20T11:36:54.646756324Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-11-20T11:36:54.647585342Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=828.858µs grafana | logger=migrator t=2023-11-20T11:36:54.651040328Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-11-20T11:36:54.65126134Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=221.022µs grafana | logger=migrator t=2023-11-20T11:36:54.654810747Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-11-20T11:36:54.655368692Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=559.065µs grafana | logger=migrator t=2023-11-20T11:36:54.660101301Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-11-20T11:36:54.661407374Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.305473ms grafana | logger=migrator t=2023-11-20T11:36:54.665300314Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-11-20T11:36:54.666545017Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.244283ms grafana | logger=migrator t=2023-11-20T11:36:54.67066228Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-11-20T11:36:54.681708573Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=11.048123ms grafana | logger=migrator t=2023-11-20T11:36:54.685621944Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-11-20T11:36:54.685716865Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=96.541µs grafana | logger=migrator t=2023-11-20T11:36:54.690976048Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-11-20T11:36:54.69212019Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.143262ms grafana | logger=migrator t=2023-11-20T11:36:54.695791318Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-11-20T11:36:54.697330164Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.539256ms grafana | logger=migrator t=2023-11-20T11:36:54.703698179Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-11-20T11:36:54.705307856Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.612167ms grafana | logger=migrator t=2023-11-20T11:36:54.710358247Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-11-20T11:36:54.719422321Z level=info msg="Migration successfully executed" id="add correlation config column" duration=9.060314ms grafana | logger=migrator t=2023-11-20T11:36:54.723699715Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-11-20T11:36:54.72517976Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.481555ms grafana | logger=migrator t=2023-11-20T11:36:54.728792257Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-11-20T11:36:54.730108611Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.316973ms grafana | logger=migrator t=2023-11-20T11:36:54.734511216Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-20T11:36:54.769076981Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=34.557345ms grafana | logger=migrator t=2023-11-20T11:36:54.775154363Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-11-20T11:36:54.776549058Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.388305ms grafana | logger=migrator t=2023-11-20T11:36:54.781346758Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-11-20T11:36:54.783511219Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=2.164471ms grafana | logger=migrator t=2023-11-20T11:36:54.787766214Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-11-20T11:36:54.789405591Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.639217ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | 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) grafana | logger=migrator t=2023-11-20T11:36:54.7933289Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-11-20T11:36:54.794706765Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.378065ms grafana | logger=migrator t=2023-11-20T11:36:54.79901307Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-11-20T11:36:54.799527055Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=508.755µs grafana | logger=migrator t=2023-11-20T11:36:54.803264043Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-11-20T11:36:54.804556436Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.291023ms grafana | logger=migrator t=2023-11-20T11:36:54.808481237Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-11-20T11:36:54.818918164Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.434967ms grafana | logger=migrator t=2023-11-20T11:36:54.824010226Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-11-20T11:36:54.824984266Z level=info msg="Migration successfully executed" id="create entity_events table" duration=975.24µs grafana | logger=migrator t=2023-11-20T11:36:54.828715235Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-11-20T11:36:54.830384972Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.669307ms grafana | logger=migrator t=2023-11-20T11:36:54.835363122Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-20T11:36:54.836385273Z 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-20T11:36:54.840465436Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-20T11:36:54.841019142Z 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-20T11:36:54.844571168Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-11-20T11:36:54.845545158Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=973.25µs grafana | logger=migrator t=2023-11-20T11:36:54.849313956Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-11-20T11:36:54.850440158Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.125712ms grafana | logger=migrator t=2023-11-20T11:36:54.855076826Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-20T11:36:54.857047226Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.97016ms grafana | logger=migrator t=2023-11-20T11:36:54.860827835Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-20T11:36:54.862703914Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.875509ms grafana | logger=migrator t=2023-11-20T11:36:54.866661145Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-20T11:36:54.867908458Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.247173ms grafana | logger=migrator t=2023-11-20T11:36:54.872281423Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-20T11:36:54.873765938Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.483285ms grafana | logger=migrator t=2023-11-20T11:36:54.887844553Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-11-20T11:36:54.889356708Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.511935ms grafana | logger=migrator t=2023-11-20T11:36:54.894462441Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-11-20T11:36:54.896192038Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.729067ms grafana | logger=migrator t=2023-11-20T11:36:54.899976448Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-20T11:36:54.901263451Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.286984ms grafana | logger=migrator t=2023-11-20T11:36:54.90609871Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-20T11:36:54.907549715Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.450735ms grafana | logger=migrator t=2023-11-20T11:36:54.911555456Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-11-20T11:36:54.91284481Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.288914ms grafana | logger=migrator t=2023-11-20T11:36:54.917053983Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-11-20T11:36:54.948224934Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=31.17044ms grafana | logger=migrator t=2023-11-20T11:36:54.952068603Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-11-20T11:36:54.959173386Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.101283ms grafana | logger=migrator t=2023-11-20T11:36:54.962856144Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-11-20T11:36:54.971552003Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.695779ms grafana | logger=migrator t=2023-11-20T11:36:54.975342492Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-11-20T11:36:54.975589555Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=246.883µs grafana | logger=migrator t=2023-11-20T11:36:54.980351224Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-11-20T11:36:54.992422018Z level=info msg="Migration successfully executed" id="add share column" duration=12.071374ms grafana | logger=migrator t=2023-11-20T11:36:54.996246697Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-11-20T11:36:54.99648373Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=236.773µs grafana | logger=migrator t=2023-11-20T11:36:55.000067516Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-11-20T11:36:55.001507751Z level=info msg="Migration successfully executed" id="create file table" duration=1.442005ms grafana | logger=migrator t=2023-11-20T11:36:55.006642634Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-11-20T11:36:55.008332681Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.690907ms grafana | logger=migrator t=2023-11-20T11:36:55.011901618Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-11-20T11:36:55.013040359Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.138601ms grafana | logger=migrator t=2023-11-20T11:36:55.016723547Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-11-20T11:36:55.017528435Z level=info msg="Migration successfully executed" id="create file_meta table" duration=804.328µs grafana | logger=migrator t=2023-11-20T11:36:55.022276083Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-11-20T11:36:55.023575587Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.299154ms grafana | logger=migrator t=2023-11-20T11:36:55.02879974Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-11-20T11:36:55.028942551Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=142.431µs grafana | logger=migrator t=2023-11-20T11:36:55.032683399Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-11-20T11:36:55.032833031Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=146.972µs grafana | logger=migrator t=2023-11-20T11:36:55.03671886Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-11-20T11:36:55.03764033Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=924.52µs grafana | logger=migrator t=2023-11-20T11:36:55.042687862Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-11-20T11:36:55.043110206Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=421.894µs grafana | logger=migrator t=2023-11-20T11:36:55.046948575Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-11-20T11:36:55.047856454Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=907.379µs grafana | logger=migrator t=2023-11-20T11:36:55.051472961Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-11-20T11:36:55.064673205Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=13.200474ms grafana | logger=migrator t=2023-11-20T11:36:55.069537495Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-11-20T11:36:55.069719287Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=177.272µs grafana | logger=migrator t=2023-11-20T11:36:55.073336303Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-11-20T11:36:55.075114622Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.777939ms grafana | logger=migrator t=2023-11-20T11:36:55.0788963Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-11-20T11:36:55.079617318Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=721.938µs grafana | logger=migrator t=2023-11-20T11:36:55.083495147Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-11-20T11:36:55.083843951Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=347.394µs grafana | logger=migrator t=2023-11-20T11:36:55.088326046Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-11-20T11:36:55.089144645Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=822.109µs grafana | logger=migrator t=2023-11-20T11:36:55.092822232Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-11-20T11:36:55.103299299Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.474527ms grafana | logger=migrator t=2023-11-20T11:36:55.106929645Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-11-20T11:36:55.11319312Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.262745ms grafana | logger=migrator t=2023-11-20T11:36:55.116891138Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-11-20T11:36:55.118014499Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.12344ms grafana | logger=migrator t=2023-11-20T11:36:55.123513105Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-11-20T11:36:55.230770858Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=107.250783ms grafana | logger=migrator t=2023-11-20T11:36:55.234782939Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-11-20T11:36:55.235759638Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=976.629µs grafana | logger=migrator t=2023-11-20T11:36:55.240361376Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-11-20T11:36:55.241585739Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.221213ms grafana | logger=migrator t=2023-11-20T11:36:55.245417507Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-11-20T11:36:55.278889278Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=33.471711ms grafana | logger=migrator t=2023-11-20T11:36:55.28398726Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-11-20T11:36:55.284258623Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=250.493µs grafana | logger=migrator t=2023-11-20T11:36:55.288760189Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-11-20T11:36:55.289012462Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=252.563µs grafana | logger=migrator t=2023-11-20T11:36:55.292674589Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" prometheus | ts=2023-11-20T11:36:50.464Z 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-20T11:36:50.465Z 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-20T11:36:50.465Z 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-20T11:36:50.465Z 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-20T11:36:50.465Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-11-20T11:36:50.465Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-11-20T11:36:50.467Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-11-20T11:36:50.468Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-11-20T11:36:50.475Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-11-20T11:36:50.475Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-11-20T11:36:50.477Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-11-20T11:36:50.477Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.12µs prometheus | ts=2023-11-20T11:36:50.477Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-11-20T11:36:50.478Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-11-20T11:36:50.478Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=81.571µs wal_replay_duration=484.535µs wbl_replay_duration=200ns total_replay_duration=643.247µs prometheus | ts=2023-11-20T11:36:50.481Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-11-20T11:36:50.481Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-11-20T11:36:50.481Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-11-20T11:36:50.482Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.440095ms db_storage=1.41µs remote_storage=2.24µs web_handler=710ns query_engine=990ns scrape=278.494µs scrape_sd=188.442µs notify=72.24µs notify_sd=26.421µs rules=2.33µs tracing=6.85µs prometheus | ts=2023-11-20T11:36:50.482Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-11-20T11:36:50.482Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- 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 | 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-20T11:36:55.293132493Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=454.664µs grafana | logger=migrator t=2023-11-20T11:36:55.296553969Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-11-20T11:36:55.297511619Z level=info msg="Migration successfully executed" id="create folder table" duration=957.11µs grafana | logger=migrator t=2023-11-20T11:36:55.301906043Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-11-20T11:36:55.303177166Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.270733ms grafana | logger=migrator t=2023-11-20T11:36:55.30650535Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-11-20T11:36:55.308193777Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.686997ms grafana | logger=migrator t=2023-11-20T11:36:55.312212718Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-11-20T11:36:55.31238183Z level=info msg="Migration successfully executed" id="Update folder title length" duration=168.652µs grafana | logger=migrator t=2023-11-20T11:36:55.316861005Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-20T11:36:55.318109258Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.248043ms grafana | logger=migrator t=2023-11-20T11:36:55.321550763Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-20T11:36:55.322721895Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.171162ms grafana | logger=migrator t=2023-11-20T11:36:55.32613296Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-11-20T11:36:55.327382382Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.249022ms grafana | logger=migrator t=2023-11-20T11:36:55.331909108Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-11-20T11:36:55.332884989Z level=info msg="Migration successfully executed" id="create anon_device table" duration=975.031µs grafana | logger=migrator t=2023-11-20T11:36:55.336706338Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-11-20T11:36:55.338739258Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.03222ms grafana | logger=migrator t=2023-11-20T11:36:55.342631848Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-11-20T11:36:55.34378061Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.148472ms grafana | logger=migrator t=2023-11-20T11:36:55.348230915Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-11-20T11:36:55.349185644Z level=info msg="Migration successfully executed" id="create signing_key table" duration=952.329µs grafana | logger=migrator t=2023-11-20T11:36:55.353334776Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-11-20T11:36:55.355183056Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.84789ms grafana | logger=migrator t=2023-11-20T11:36:55.359134586Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-11-20T11:36:55.360979505Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.845249ms grafana | logger=migrator t=2023-11-20T11:36:55.366007676Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-20T11:36:55.36639896Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=391.614µs grafana | logger=migrator t=2023-11-20T11:36:55.370127278Z level=info msg="migrations completed" performed=517 skipped=0 duration=3.909239435s grafana | logger=sqlstore t=2023-11-20T11:36:55.379385242Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-20T11:36:55.379752116Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-20T11:36:55.384730057Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-20T11:36:55.455746851Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-20T11:36:55.458669621Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-20T11:36:55.462741622Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-20T11:36:57.904777203Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-20T11:36:57.906969246Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-20T11:36:57.920447436Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-20T11:36:57.920468816Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2023-11-20T11:36:57.920673398Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2023-11-20T11:36:57.920729798Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-11-20T11:36:57.921479637Z level=info msg="State cache has been initialized" states=0 duration=807.269µs grafana | logger=ngalert.scheduler t=2023-11-20T11:36:57.921534367Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-11-20T11:36:57.921645738Z level=info msg=starting first_tick=2023-11-20T11:37:00Z grafana | logger=ngalert.multiorg.alertmanager t=2023-11-20T11:36:57.921667978Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2023-11-20T11:36:57.925367736Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.migration t=2023-11-20T11:36:57.946068351Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-11-20T11:36:57.947010851Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-20T11:36:57.947531606Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-20T11:36:57.948316594Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-20T11:36:57.949006501Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-11-20T11:36:57.953903482Z level=info msg="Completed legacy migration" grafana | logger=grafana.update.checker t=2023-11-20T11:36:57.966062458Z level=info msg="Update check succeeded" duration=44.321689ms grafana | logger=plugins.update.checker t=2023-11-20T11:36:58.007162504Z level=info msg="Update check succeeded" duration=84.515194ms 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 grafana | logger=sqlstore.transactions t=2023-11-20T11:36:58.066663349Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-11-20T11:36:58.125090283Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-11-20T11:36:58.136412071Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | 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 2011231136580800u 1 2023-11-20 11:36:58 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:58 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:58 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:58 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:58 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:58 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:58 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:36:59 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:00 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:01 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:02 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:02 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:02 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:02 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:02 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:02 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:02 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:02 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:02 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2011231136580800u 1 2023-11-20 11:37:02 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2011231136580900u 1 2023-11-20 11:37:02 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2011231136580900u 1 2023-11-20 11:37:02 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2011231136580900u 1 2023-11-20 11:37:02 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2011231136580900u 1 2023-11-20 11:37:02 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2011231136580900u 1 2023-11-20 11:37:02 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2011231136580900u 1 2023-11-20 11:37:02 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2011231136580900u 1 2023-11-20 11:37:02 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2011231136580900u 1 2023-11-20 11:37:02 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2011231136580900u 1 2023-11-20 11:37:03 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2011231136580900u 1 2023-11-20 11:37:03 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2011231136580900u 1 2023-11-20 11:37:03 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2011231136580900u 1 2023-11-20 11:37:03 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2011231136580900u 1 2023-11-20 11:37:03 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2011231136581000u 1 2023-11-20 11:37:03 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2011231136581000u 1 2023-11-20 11:37:03 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2011231136581000u 1 2023-11-20 11:37:03 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2011231136581000u 1 2023-11-20 11:37:03 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2011231136581000u 1 2023-11-20 11:37:03 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2011231136581000u 1 2023-11-20 11:37:03 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2011231136581000u 1 2023-11-20 11:37:03 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2011231136581000u 1 2023-11-20 11:37:03 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2011231136581000u 1 2023-11-20 11:37:03 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2011231136581100u 1 2023-11-20 11:37:03 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2011231136581200u 1 2023-11-20 11:37:03 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2011231136581200u 1 2023-11-20 11:37:03 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2011231136581200u 1 2023-11-20 11:37:03 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2011231136581200u 1 2023-11-20 11:37:03 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing grafana ... done Removing policy-api ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.KeZ1S2Rz93 ]] + rsync -av /tmp/tmp.KeZ1S2Rz93/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,347,119 bytes received 95 bytes 2,694,428.00 bytes/sec total size is 1,346,470 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 2085 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/jenkins17240953726678314091.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins9879830514498874848.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/jenkins10982555679322611703.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-PCpT from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-PCpT/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5986623307569953377.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config8456913783086530027tmp 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/jenkins337012516897573586.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5622087312815125837.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-PCpT from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-PCpT/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16221624065923022642.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins2328994701902596297.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-PCpT 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-PCpT/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/jenkins6254160299335079246.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-PCpT from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-PCpT/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/185 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-2020 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 830 27423 0 3913 30880 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:59:4a:e2 brd ff:ff:ff:ff:ff:ff inet 10.30.107.18/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86047sec preferred_lft 86047sec inet6 fe80::f816:3eff:fe59:4ae2/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:84:18:4f:75 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-2020) 11/20/23 _x86_64_ (8 CPU) 11:33:43 LINUX RESTART (8 CPU) 11:34:02 tps rtps wtps bread/s bwrtn/s 11:35:01 162.71 84.70 78.01 5818.50 61727.55 11:36:01 121.68 13.86 107.82 1126.88 34058.86 11:37:01 359.57 24.91 334.66 2419.20 82331.98 11:38:01 60.15 0.45 59.70 39.05 19976.66 11:39:01 45.53 0.95 44.58 55.86 21421.11 Average: 149.88 24.78 125.10 1878.84 43843.43 11:34:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 30121816 31668712 2817404 8.55 65968 1792364 1485780 4.37 903628 1631328 145696 11:36:01 29825116 31742476 3114104 9.45 85588 2125940 1342940 3.95 843536 1952868 142612 11:37:01 27904852 31472020 5034368 15.28 123836 3671232 3284476 9.66 1241592 3351052 1860 11:38:01 26841560 30444656 6097660 18.51 125924 3673228 4625624 13.61 2305376 3349468 104 11:39:01 28029152 31583020 4910068 14.91 127892 3661636 1505324 4.43 1204744 3286460 52208 Average: 28544499 31382177 4394721 13.34 105842 2984880 2448829 7.21 1299775 2714235 68496 11:34:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 ens3 361.27 234.46 1523.30 62.67 0.00 0.00 0.00 0.00 11:35:01 lo 1.69 1.69 0.17 0.17 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 ens3 73.27 52.79 989.11 8.90 0.00 0.00 0.00 0.00 11:36:01 lo 1.53 1.53 0.16 0.16 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:01 ens3 278.05 174.15 8520.25 13.97 0.00 0.00 0.00 0.00 11:37:01 lo 8.93 8.93 0.82 0.82 0.00 0.00 0.00 0.00 11:37:01 veth040feea 19.68 15.13 2.35 1.39 0.00 0.00 0.00 0.00 11:37:01 veth54ec33b 0.00 0.27 0.00 0.02 0.00 0.00 0.00 0.00 11:38:01 ens3 7.18 5.10 1.40 1.45 0.00 0.00 0.00 0.00 11:38:01 lo 9.51 9.51 8.25 8.25 0.00 0.00 0.00 0.00 11:38:01 veth54ec33b 0.18 0.23 0.02 0.47 0.00 0.00 0.00 0.00 11:38:01 veth9fa4211 119.09 149.28 119.63 44.70 0.00 0.00 0.00 0.01 11:39:01 ens3 50.87 41.04 68.84 21.45 0.00 0.00 0.00 0.00 11:39:01 lo 9.05 9.05 0.74 0.74 0.00 0.00 0.00 0.00 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 153.44 101.07 2222.82 21.55 0.00 0.00 0.00 0.00 Average: lo 6.16 6.16 2.03 2.03 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-2020) 11/20/23 _x86_64_ (8 CPU) 11:33:43 LINUX RESTART (8 CPU) 11:34:02 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 10.83 0.00 1.32 3.64 0.04 84.17 11:35:01 0 6.07 0.00 0.73 5.22 0.03 87.95 11:35:01 1 29.91 0.00 2.05 4.29 0.07 63.67 11:35:01 2 19.19 0.00 1.24 1.56 0.05 77.95 11:35:01 3 10.05 0.00 2.04 6.40 0.03 81.48 11:35:01 4 3.70 0.00 0.87 10.00 0.05 85.38 11:35:01 5 4.56 0.00 1.00 0.53 0.02 93.90 11:35:01 6 9.14 0.00 1.72 0.68 0.03 88.43 11:35:01 7 4.00 0.00 0.90 0.43 0.03 94.64 11:36:01 all 10.84 0.00 0.87 1.15 0.03 87.11 11:36:01 0 17.68 0.00 1.27 1.75 0.02 79.28 11:36:01 1 5.72 0.00 0.42 0.83 0.02 93.01 11:36:01 2 6.94 0.00 0.57 0.02 0.03 92.44 11:36:01 3 23.43 0.00 1.59 1.65 0.07 73.26 11:36:01 4 9.56 0.00 1.10 0.20 0.03 89.11 11:36:01 5 1.71 0.00 0.32 0.83 0.02 97.12 11:36:01 6 9.21 0.00 0.70 0.60 0.02 89.47 11:36:01 7 12.50 0.00 1.00 3.34 0.03 83.12 11:37:01 all 8.60 0.00 3.58 2.01 0.06 85.74 11:37:01 0 8.69 0.00 3.60 0.54 0.07 87.10 11:37:01 1 7.90 0.00 4.02 6.66 0.07 81.36 11:37:01 2 9.28 0.00 3.06 0.77 0.05 86.84 11:37:01 3 8.40 0.00 4.62 1.14 0.05 85.79 11:37:01 4 9.83 0.00 3.87 2.52 0.08 83.70 11:37:01 5 8.64 0.00 3.34 1.26 0.08 86.68 11:37:01 6 9.10 0.00 2.95 2.21 0.05 85.70 11:37:01 7 6.93 0.00 3.21 1.01 0.05 88.79 11:38:01 all 15.81 0.00 1.59 1.18 0.05 81.37 11:38:01 0 15.64 0.00 1.49 0.02 0.07 82.78 11:38:01 1 21.13 0.00 1.90 7.54 0.05 69.38 11:38:01 2 13.07 0.00 1.47 0.12 0.03 85.31 11:38:01 3 19.17 0.00 1.47 0.02 0.05 79.29 11:38:01 4 12.46 0.00 1.93 1.02 0.03 84.56 11:38:01 5 11.10 0.00 0.97 0.02 0.02 87.90 11:38:01 6 19.56 0.00 2.04 0.70 0.05 77.65 11:38:01 7 14.33 0.00 1.47 0.02 0.03 84.15 11:39:01 all 3.20 0.00 0.51 1.67 0.03 94.60 11:39:01 0 6.81 0.00 0.57 0.52 0.05 92.05 11:39:01 1 7.48 0.00 0.63 7.71 0.03 84.15 11:39:01 2 3.27 0.00 0.67 0.27 0.02 95.78 11:39:01 3 1.44 0.00 0.38 0.08 0.02 98.08 11:39:01 4 1.45 0.00 0.42 0.22 0.03 97.88 11:39:01 5 1.23 0.00 0.43 0.03 0.02 98.29 11:39:01 6 0.47 0.00 0.38 3.94 0.02 95.19 11:39:01 7 3.43 0.00 0.57 0.57 0.02 95.42 Average: all 9.85 0.00 1.57 1.92 0.04 86.61 Average: 0 11.00 0.00 1.53 1.60 0.05 85.83 Average: 1 14.39 0.00 1.80 5.41 0.05 78.36 Average: 2 10.32 0.00 1.40 0.54 0.04 87.70 Average: 3 12.51 0.00 2.02 1.84 0.04 83.59 Average: 4 7.41 0.00 1.63 2.76 0.05 88.15 Average: 5 5.44 0.00 1.21 0.53 0.03 92.79 Average: 6 9.49 0.00 1.55 1.63 0.03 87.29 Average: 7 8.25 0.00 1.43 1.07 0.03 89.21