Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-76102 (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-2eQtikSc0WyV/agent.2118 SSH_AGENT_PID=2120 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_16410545777991656900.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_16410545777991656900.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/jenkins5976818032509142241.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-wcQ4 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-wcQ4/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-wcQ4/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.0 botocore==1.32.0 bs4==0.0.1 cachetools==5.3.2 certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.23.4 httplib2==0.22.0 identify==2.5.31 idna==3.4 importlib-metadata==6.8.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.19.2 jsonschema-specifications==2023.11.1 keystoneauth1==5.3.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==3.11.0 prettytable==3.9.0 pyasn1==0.5.0 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.2.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.31.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.12.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/jenkins14833300413138101409.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/jenkins13406938159912043223.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.KXfrrUAllq ++ echo ROBOT_VENV=/tmp/tmp.KXfrrUAllq +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.KXfrrUAllq ++ source /tmp/tmp.KXfrrUAllq/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.KXfrrUAllq +++ 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.KXfrrUAllq/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.KXfrrUAllq) ' '!=' x ']' +++ PS1='(tmp.KXfrrUAllq) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.7.22 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.4 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.3.1 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.KXfrrUAllq/src/onap ++ rm -rf /tmp/tmp.KXfrrUAllq/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.7.22 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.4 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==4.9.3 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.3.1 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ 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.KXfrrUAllq/bin/activate + '[' -z /tmp/tmp.KXfrrUAllq/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.KXfrrUAllq/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.KXfrrUAllq ++ 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.KXfrrUAllq/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.KXfrrUAllq) ' ++ '[' 'x(tmp.KXfrrUAllq) ' '!=' x ']' ++ PS1='(tmp.KXfrrUAllq) (tmp.KXfrrUAllq) ' ++ 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.HoBftu9cTE + cd /tmp/tmp.HoBftu9cTE + 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:3002935850ea69a59816825d4cb718fafcdb9b124e4e6153ebc6894627525f7f 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:1ee0c54286b8ca09a3dd1419ff8653e7780a148a006ac088544203bb0affe550 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS grafana Up 10 seconds policy-api Up 12 seconds policy-db-migrator Up 13 seconds mariadb Up 14 seconds prometheus Up 11 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds mariadb Up 19 seconds prometheus Up 16 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds mariadb Up 24 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds ++ 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:36 up 4 min, 0 users, load average: 2.39, 1.22, 0.51 Tasks: 180 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.2 us, 1.8 sy, 0.0 ni, 82.7 id, 6.2 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 3.9G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 28 seconds mariadb Up 29 seconds prometheus Up 26 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS d17754f8e688 grafana 0.02% 97.92MiB / 31.41GiB 0.30% 18.4kB / 3.33kB 0B / 22.8MB 19 ad9f4d310f07 policy-api 0.11% 1.095GiB / 31.41GiB 3.48% 1.04MB / 739kB 0B / 0B 50 74a6c6fcaf6f mariadb 0.02% 100.6MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 10.9MB / 64.9MB 27 c10ba5836584 prometheus 0.00% 19.11MiB / 31.41GiB 0.06% 852B / 0B 0B / 0B 12 + echo + cd /tmp/tmp.HoBftu9cTE + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + 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.HoBftu9cTE/output.xml Log: /tmp/tmp.HoBftu9cTE/log.html Report: /tmp/tmp.HoBftu9cTE/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:38:48 up 5 min, 0 users, load average: 0.96, 1.07, 0.51 Tasks: 173 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.1 us, 1.5 sy, 0.0 ni, 85.2 id, 5.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 2.1G 25G 1.0M 3.9G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS d17754f8e688 grafana 0.16% 98.01MiB / 31.41GiB 0.30% 19.2kB / 3.85kB 0B / 22.9MB 19 ad9f4d310f07 policy-api 0.15% 1.147GiB / 31.41GiB 3.65% 7.32MB / 2.89MB 0B / 0B 52 74a6c6fcaf6f mariadb 0.02% 101.5MiB / 31.41GiB 0.32% 2.75MB / 7.36MB 10.9MB / 65MB 18 c10ba5836584 prometheus 0.14% 24.91MiB / 31.41GiB 0.08% 53.5kB / 7.73kB 0B / 0B 12 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, mariadb, prometheus grafana | logger=settings t=2023-11-15T11:37:11.289604866Z level=info msg="Starting Grafana" version=10.2.0 commit=895fbafb7a branch=HEAD compiled=2023-10-23T13:40:35Z grafana | logger=settings t=2023-11-15T11:37:11.289965068Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-15T11:37:11.289977928Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-15T11:37:11.289983358Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-15T11:37:11.290012968Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-15T11:37:11.290033598Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-15T11:37:11.290038738Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-15T11:37:11.290044258Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-15T11:37:11.290055109Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-15T11:37:11.290109109Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-15T11:37:11.290116479Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-15T11:37:11.290121579Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-15T11:37:11.290125889Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-15T11:37:11.290135019Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-15T11:37:11.290139269Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-15T11:37:11.290148029Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-15T11:37:11.290152789Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-15T11:37:11.290181929Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-15T11:37:11.290187099Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-15T11:37:11.290586232Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-15T11:37:11.290607772Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-15T11:37:11.291358457Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-15T11:37:11.292274713Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-15T11:37:11.293111598Z level=info msg="Migration successfully executed" id="create migration_log table" duration=836.405µs grafana | logger=migrator t=2023-11-15T11:37:11.362106055Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-15T11:37:11.363578464Z level=info msg="Migration successfully executed" id="create user table" duration=1.470399ms grafana | logger=migrator t=2023-11-15T11:37:11.494494394Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-15T11:37:11.496587218Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=2.097384ms grafana | logger=migrator t=2023-11-15T11:37:11.505689095Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-15T11:37:11.506699172Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.013327ms grafana | logger=migrator t=2023-11-15T11:37:11.510000792Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-15T11:37:11.511628293Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.626651ms grafana | logger=migrator t=2023-11-15T11:37:11.535119542Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-15T11:37:11.536673862Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.55448ms grafana | logger=migrator t=2023-11-15T11:37:11.540683287Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-15T11:37:11.545250516Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.567749ms grafana | logger=migrator t=2023-11-15T11:37:11.550360488Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-15T11:37:11.551112133Z level=info msg="Migration successfully executed" id="create user table v2" duration=751.415µs grafana | logger=migrator t=2023-11-15T11:37:11.556512767Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-15T11:37:11.557754445Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.240818ms grafana | logger=migrator t=2023-11-15T11:37:11.581152883Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-15T11:37:11.582900215Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.750172ms grafana | logger=migrator t=2023-11-15T11:37:11.98292764Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-15T11:37:11.983972137Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=1.045217ms grafana | logger=migrator t=2023-11-15T11:37:12.012286037Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-15T11:37:12.013477906Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=1.188488ms grafana | logger=migrator t=2023-11-15T11:37:12.017000799Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-15T11:37:12.019106023Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=2.106044ms grafana | logger=migrator t=2023-11-15T11:37:12.02171598Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-15T11:37:12.02174041Z level=info msg="Migration successfully executed" id="Update user table charset" duration=25.01µs grafana | logger=migrator t=2023-11-15T11:37:12.025952177Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-15T11:37:12.027065395Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.112778ms grafana | logger=migrator t=2023-11-15T11:37:12.031644115Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-15T11:37:12.031884136Z level=info msg="Migration successfully executed" id="Add missing user data" duration=239.731µs grafana | logger=migrator t=2023-11-15T11:37:12.034190211Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-11-15T11:37:12.035344149Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.154278ms grafana | logger=migrator t=2023-11-15T11:37:12.038399429Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-15T11:37:12.039981799Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.58182ms grafana | logger=migrator t=2023-11-15T11:37:12.044190007Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-15T11:37:12.045996389Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.805602ms grafana | logger=migrator t=2023-11-15T11:37:12.07826381Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-15T11:37:12.092685005Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=14.421405ms grafana | logger=migrator t=2023-11-15T11:37:12.177752523Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-15T11:37:12.17884133Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.089487ms grafana | logger=migrator t=2023-11-15T11:37:12.18338508Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-15T11:37:12.184713218Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.327958ms grafana | logger=migrator t=2023-11-15T11:37:12.189418309Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-15T11:37:12.190214964Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=795.965µs grafana | logger=migrator t=2023-11-15T11:37:12.195048386Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-15T11:37:12.196266074Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.215168ms grafana | logger=migrator t=2023-11-15T11:37:12.199820357Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-15T11:37:12.201264107Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.44256ms grafana | logger=migrator t=2023-11-15T11:37:12.20636504Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-15T11:37:12.206419061Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=54.421µs grafana | logger=migrator t=2023-11-15T11:37:12.210393467Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-15T11:37:12.211130482Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=736.495µs grafana | logger=migrator t=2023-11-15T11:37:12.214316152Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-15T11:37:12.215030787Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=715.315µs grafana | logger=migrator t=2023-11-15T11:37:12.219902929Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-15T11:37:12.220534773Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=631.704µs grafana | logger=migrator t=2023-11-15T11:37:12.22315535Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-15T11:37:12.223749634Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=594.404µs grafana | logger=migrator t=2023-11-15T11:37:12.230581539Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-15T11:37:12.233905361Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.324652ms grafana | logger=migrator t=2023-11-15T11:37:12.240877547Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-15T11:37:12.241671532Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=793.585µs grafana | logger=migrator t=2023-11-15T11:37:12.250148547Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-15T11:37:12.251283395Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.134808ms grafana | logger=migrator t=2023-11-15T11:37:12.25662583Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-15T11:37:12.258096399Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.472569ms grafana | logger=migrator t=2023-11-15T11:37:12.264836224Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-15T11:37:12.266731536Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.892622ms grafana | logger=migrator t=2023-11-15T11:37:12.270736983Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-15T11:37:12.271448948Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=711.994µs grafana | logger=migrator t=2023-11-15T11:37:12.277584688Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-15T11:37:12.278262342Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=677.384µs grafana | logger=migrator t=2023-11-15T11:37:12.283588237Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-15T11:37:12.28408469Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=496.553µs grafana | logger=migrator t=2023-11-15T11:37:12.29019343Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-15T11:37:12.290777724Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=584.134µs grafana | logger=migrator t=2023-11-15T11:37:12.295393925Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-15T11:37:12.296128629Z level=info msg="Migration successfully executed" id="create star table" duration=734.165µs grafana | logger=migrator t=2023-11-15T11:37:12.303696249Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-15T11:37:12.304993467Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.296258ms grafana | logger=migrator t=2023-11-15T11:37:12.315972199Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-11-15T11:37:12.316997746Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.029937ms grafana | logger=migrator t=2023-11-15T11:37:12.321822108Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-11-15T11:37:12.322621563Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=799.255µs grafana | logger=migrator t=2023-11-15T11:37:12.327621236Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-11-15T11:37:12.32824376Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=624.734µs grafana | logger=migrator t=2023-11-15T11:37:12.333973887Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-11-15T11:37:12.335330836Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.355379ms grafana | logger=migrator t=2023-11-15T11:37:12.363090879Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-11-15T11:37:12.36476312Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.672381ms grafana | logger=migrator t=2023-11-15T11:37:12.368414204Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-11-15T11:37:12.369724762Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.309968ms grafana | logger=migrator t=2023-11-15T11:37:12.373649868Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-11-15T11:37:12.373674838Z level=info msg="Migration successfully executed" id="Update org table charset" duration=25.37µs grafana | logger=migrator t=2023-11-15T11:37:12.37700733Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-11-15T11:37:12.37703106Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=24.42µs grafana | logger=migrator t=2023-11-15T11:37:12.382110384Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-11-15T11:37:12.382437636Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=327.442µs grafana | logger=migrator t=2023-11-15T11:37:12.385447155Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-11-15T11:37:12.38612792Z level=info msg="Migration successfully executed" id="create dashboard table" duration=679.945µs grafana | logger=migrator t=2023-11-15T11:37:12.390630019Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-11-15T11:37:12.393012895Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=2.382776ms grafana | logger=migrator t=2023-11-15T11:37:12.397012771Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-11-15T11:37:12.397762106Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=751.115µs grafana | logger=migrator t=2023-11-15T11:37:12.452535246Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-11-15T11:37:12.454443538Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.940003ms grafana | logger=migrator t=2023-11-15T11:37:12.482491402Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-11-15T11:37:12.48364978Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.159608ms grafana | logger=migrator t=2023-11-15T11:37:12.487093512Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-11-15T11:37:12.487965968Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=872.296µs grafana | logger=migrator t=2023-11-15T11:37:12.493434164Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-11-15T11:37:12.500179768Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.744634ms grafana | logger=migrator t=2023-11-15T11:37:12.503895502Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-11-15T11:37:12.504534927Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=639.005µs grafana | logger=migrator t=2023-11-15T11:37:12.507590917Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-11-15T11:37:12.509181887Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.58873ms grafana | logger=migrator t=2023-11-15T11:37:12.512230427Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-11-15T11:37:12.513063503Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=833.016µs grafana | logger=migrator t=2023-11-15T11:37:12.515860271Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-11-15T11:37:12.516392814Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=532.273µs grafana | logger=migrator t=2023-11-15T11:37:12.520528781Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-11-15T11:37:12.521694648Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.165297ms grafana | logger=migrator t=2023-11-15T11:37:12.525488923Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-11-15T11:37:12.525731575Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=242.042µs grafana | logger=migrator t=2023-11-15T11:37:12.53417071Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-11-15T11:37:12.537361321Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.194371ms mariadb | 2023-11-15 11:37:06+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-15 11:37:07+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-15 11:37:07+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-15 11:37:07+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-15 11:37:07 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-15 11:37:07 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-15 11:37:07 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-15 11:37:08+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-15 11:37:08+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-15 11:37:08+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-15 11:37:08 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 98 ... mariadb | 2023-11-15 11:37:08 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-15 11:37:08 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-15 11:37:08 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-15 11:37:08 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-15 11:37:08 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-15 11:37:08 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-15 11:37:08 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2023-11-15T11:37:12.543949215Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-11-15T11:37:12.545812937Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.863352ms grafana | logger=migrator t=2023-11-15T11:37:12.580964057Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-11-15T11:37:12.583927707Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.9627ms grafana | logger=migrator t=2023-11-15T11:37:12.591930309Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-11-15T11:37:12.593766781Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.844232ms grafana | logger=migrator t=2023-11-15T11:37:12.602231037Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-11-15T11:37:12.604403421Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.172514ms grafana | logger=migrator t=2023-11-15T11:37:12.609498384Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-11-15T11:37:12.610485391Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=986.547µs grafana | logger=migrator t=2023-11-15T11:37:12.619204478Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-11-15T11:37:12.620803599Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.598151ms grafana | logger=migrator t=2023-11-15T11:37:12.627881205Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-11-15T11:37:12.627985766Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=106.131µs grafana | logger=migrator t=2023-11-15T11:37:12.631539159Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-11-15T11:37:12.631752511Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=212.202µs grafana | logger=migrator t=2023-11-15T11:37:12.638547375Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-11-15T11:37:12.642003058Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.454083ms grafana | logger=migrator t=2023-11-15T11:37:12.656604564Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-11-15T11:37:12.660484639Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.885485ms grafana | logger=migrator t=2023-11-15T11:37:12.6652254Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-11-15T11:37:12.667273694Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.048234ms grafana | logger=migrator t=2023-11-15T11:37:12.674920764Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-11-15T11:37:12.677283699Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.365905ms grafana | logger=migrator t=2023-11-15T11:37:12.686016897Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-11-15T11:37:12.68659576Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=579.404µs grafana | logger=migrator t=2023-11-15T11:37:12.696979488Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-11-15T11:37:12.698467318Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.48779ms grafana | logger=migrator t=2023-11-15T11:37:12.703195999Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-11-15T11:37:12.704170306Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=973.387µs grafana | logger=migrator t=2023-11-15T11:37:12.711393533Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-11-15T11:37:12.711596405Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=201.912µs grafana | logger=migrator t=2023-11-15T11:37:12.716403156Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-11-15T11:37:12.717437313Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.033837ms grafana | logger=migrator t=2023-11-15T11:37:12.725141834Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-11-15T11:37:12.726486382Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.344619ms grafana | logger=migrator t=2023-11-15T11:37:12.730223007Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-15T11:37:12.738023868Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.800761ms grafana | logger=migrator t=2023-11-15T11:37:12.746820326Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-11-15T11:37:12.747727972Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=906.696µs grafana | logger=migrator t=2023-11-15T11:37:12.756039336Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-11-15T11:37:12.757455035Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.414579ms grafana | logger=migrator t=2023-11-15T11:37:12.762173376Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-11-15T11:37:12.763664926Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.49215ms grafana | logger=migrator t=2023-11-15T11:37:12.771978261Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-11-15T11:37:12.772427724Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=449.043µs grafana | logger=migrator t=2023-11-15T11:37:12.7901627Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-11-15T11:37:12.791285227Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=1.122177ms grafana | logger=migrator t=2023-11-15T11:37:12.830957388Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-11-15T11:37:12.834671132Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.715194ms grafana | logger=migrator t=2023-11-15T11:37:12.840194308Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-11-15T11:37:12.841618918Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.42562ms grafana | logger=migrator t=2023-11-15T11:37:13.003213979Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-11-15T11:37:13.003633831Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=422.402µs grafana | logger=migrator t=2023-11-15T11:37:13.011533742Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-11-15T11:37:13.012028216Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=493.204µs grafana | logger=migrator t=2023-11-15T11:37:13.0188403Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-11-15T11:37:13.02032058Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.48005ms grafana | logger=migrator t=2023-11-15T11:37:13.026535Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-11-15T11:37:13.028824095Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.285155ms grafana | logger=migrator t=2023-11-15T11:37:13.037726904Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- 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) mariadb | 2023-11-15 11:37:08 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-15 11:37:08 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-15 11:37:08 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-15 11:37:08 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-15 11:37:08 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-15 11:37:08 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-15 11:37:08 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-15 11:37:08 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-15 11:37:08 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-15 11:37:08 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-15 11:37:08 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-15 11:37:09+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-15 11:37:12+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-15 11:37:12+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2023-11-15 11:37:12+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2023-11-15 11:37:12+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2023-11-15 11:37:14+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-11-15 11:37:14 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-11-15 11:37:14 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-11-15 11:37:14 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-11-15 11:37:14 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-15 11:37:14 0 [Note] InnoDB: Buffer pool(s) dump completed at 231115 11:37:14 mariadb | 2023-11-15 11:37:14 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-11-15 11:37:14 0 [Note] InnoDB: Shutdown completed; log sequence number 358489; transaction id 298 mariadb | 2023-11-15 11:37:14 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-11-15 11:37:14+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-11-15 11:37:14+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-11-15 11:37:14 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-11-15 11:37:14 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-15 11:37:14 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-15 11:37:14 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-15 11:37:14 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-15 11:37:14 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-15 11:37:14 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-15 11:37:14 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-15 11:37:14 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-15 11:37:14 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-15 11:37:14 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-15 11:37:14 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-15 11:37:14 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-15 11:37:14 0 [Note] InnoDB: log sequence number 358489; transaction id 299 mariadb | 2023-11-15 11:37:14 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-15 11:37:14 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-15 11:37:14 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-15 11:37:14 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-11-15 11:37:14 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-11-15 11:37:14 0 [Note] Server socket created on IP: '::'. mariadb | 2023-11-15 11:37:14 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-15 11:37:14 0 [Note] InnoDB: Buffer pool(s) load completed at 231115 11:37:14 mariadb | 2023-11-15 11:37:14 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) mariadb | 2023-11-15 11:37:15 46 [Warning] Aborted connection 46 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) prometheus | ts=2023-11-15T11:37:09.973Z 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-15T11:37:09.973Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.47.2, branch=HEAD, revision=3f3172cde1ee37f1c7b3a5f3d9b031190509b3ad)" prometheus | ts=2023-11-15T11:37:09.973Z caller=main.go:588 level=info build_context="(go=go1.21.3, platform=linux/amd64, user=root@79f2ad339b75, date=20231012-16:07:10, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-11-15T11:37:09.973Z 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-15T11:37:09.973Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-11-15T11:37:09.974Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-11-15T11:37:09.977Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-11-15T11:37:09.977Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-11-15T11:37:09.979Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-11-15T11:37:09.979Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-11-15T11:37:09.982Z caller=head.go:600 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-11-15T11:37:09.982Z caller=head.go:681 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.69µs prometheus | ts=2023-11-15T11:37:09.982Z caller=head.go:689 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-11-15T11:37:09.982Z caller=head.go:760 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-11-15T11:37:09.982Z caller=head.go:797 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=91.74µs wal_replay_duration=437.043µs wbl_replay_duration=160ns total_replay_duration=574.774µs prometheus | ts=2023-11-15T11:37:09.987Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-11-15T11:37:09.987Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-11-15T11:37:09.987Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-11-15T11:37:09.988Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=978.967µs db_storage=1.18µs remote_storage=2.32µs web_handler=580ns query_engine=1.27µs scrape=241.891µs scrape_sd=126.021µs notify=37.63µs notify_sd=12.071µs rules=2.02µs tracing=6.18µs prometheus | ts=2023-11-15T11:37:09.988Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-11-15T11:37:09.988Z caller=manager.go:1009 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2023-11-15T11:37:13.039254654Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.52727ms grafana | logger=migrator t=2023-11-15T11:37:13.045819717Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-11-15T11:37:13.046702003Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=882.096µs grafana | logger=migrator t=2023-11-15T11:37:13.053036824Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-11-15T11:37:13.054030061Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=992.707µs grafana | logger=migrator t=2023-11-15T11:37:13.137132626Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-11-15T11:37:13.137978181Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=848.165µs grafana | logger=migrator t=2023-11-15T11:37:13.18047455Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-11-15T11:37:13.181901059Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.428639ms grafana | logger=migrator t=2023-11-15T11:37:13.265210684Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-11-15T11:37:13.276575279Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=11.364415ms grafana | logger=migrator t=2023-11-15T11:37:13.282676599Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-11-15T11:37:13.28428774Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.612201ms grafana | logger=migrator t=2023-11-15T11:37:13.292108511Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-11-15T11:37:13.293156268Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.043467ms grafana | logger=migrator t=2023-11-15T11:37:13.303140123Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-11-15T11:37:13.304768224Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.628351ms grafana | logger=migrator t=2023-11-15T11:37:13.309935808Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-11-15T11:37:13.310632262Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=695.934µs grafana | logger=migrator t=2023-11-15T11:37:13.31491527Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-11-15T11:37:13.318735045Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.817975ms grafana | logger=migrator t=2023-11-15T11:37:13.323550457Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-15T11:37:13.326552817Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=3.00442ms grafana | logger=migrator t=2023-11-15T11:37:13.330271391Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-11-15T11:37:13.330366372Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=96.141µs grafana | logger=migrator t=2023-11-15T11:37:13.336966565Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-11-15T11:37:13.337274267Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=307.452µs grafana | logger=migrator t=2023-11-15T11:37:13.34229231Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-11-15T11:37:13.346102695Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.809855ms grafana | logger=migrator t=2023-11-15T11:37:13.470097518Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-11-15T11:37:13.470595641Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=497.313µs grafana | logger=migrator t=2023-11-15T11:37:13.473369589Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-11-15T11:37:13.473786822Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=416.593µs grafana | logger=migrator t=2023-11-15T11:37:13.482315268Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-11-15T11:37:13.484796764Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.481246ms grafana | logger=migrator t=2023-11-15T11:37:13.489477635Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-11-15T11:37:13.489784877Z level=info msg="Migration successfully executed" id="Update uid value" duration=306.482µs grafana | logger=migrator t=2023-11-15T11:37:13.494399247Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-11-15T11:37:13.495559245Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.158338ms grafana | logger=migrator t=2023-11-15T11:37:13.507477463Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-11-15T11:37:13.508921362Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.443449ms grafana | logger=migrator t=2023-11-15T11:37:13.514969882Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- 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 | -------------- grafana | logger=migrator t=2023-11-15T11:37:13.515776347Z level=info msg="Migration successfully executed" id="create api_key table" duration=805.975µs grafana | logger=migrator t=2023-11-15T11:37:13.520490078Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-11-15T11:37:13.521802527Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.311229ms grafana | logger=migrator t=2023-11-15T11:37:13.530885976Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-11-15T11:37:13.532309356Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.42299ms grafana | logger=migrator t=2023-11-15T11:37:13.542837955Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-11-15T11:37:13.544435595Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.59712ms grafana | logger=migrator t=2023-11-15T11:37:13.550926218Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-11-15T11:37:13.551712353Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=787.585µs grafana | logger=migrator t=2023-11-15T11:37:13.587755689Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-11-15T11:37:13.588762546Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.008587ms grafana | logger=migrator t=2023-11-15T11:37:13.598095927Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 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 | -------------- policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2023-11-15T11:37:23.104+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 36 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-11-15T11:37:23.107+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-15T11:37:24.447+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-15T11:37:24.537+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 80 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-15T11:37:25.598+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-15T11:37:25.612+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-15T11:37:25.612+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-15T11:37:25.613+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-11-15T11:37:25.694+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-15T11:37:25.694+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2524 ms policy-api | [2023-11-15T11:37:26.233+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-15T11:37:26.328+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-11-15T11:37:26.552+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-11-15T11:37:26.684+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-15T11:37:26.803+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-15T11:37:26.969+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-11-15T11:37:28.466+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 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-api | [2023-11-15T11:37:28.478+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-15T11:37:29.583+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-11-15T11:37:30.326+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-11-15T11:37:31.448+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@6415112c, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@65ff1e6d, org.springframework.security.web.context.SecurityContextPersistenceFilter@50cdaf32, org.springframework.security.web.header.HeaderWriterFilter@556d8c78, org.springframework.security.web.authentication.logout.LogoutFilter@7f2163d3, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@65c2610f, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@7b900883, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@37dcda42, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7a12cb2c, org.springframework.security.web.session.SessionManagementFilter@304d6881, org.springframework.security.web.access.ExceptionTranslationFilter@2b5854a7, org.springframework.security.web.access.intercept.AuthorizationFilter@7bec83d5] policy-api | [2023-11-15T11:37:31.588+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-15T11:37:34.155+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-11-15T11:37:34.184+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-15T11:37:34.225+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-11-15T11:37:34.249+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.96 seconds (JVM running for 12.562) policy-api | [2023-11-15T11:37:39.802+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-11-15T11:37:39.802+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-11-15T11:37:39.804+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2023-11-15T11:37:42.613+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-11-15T11:37:42.725+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-11-15T11:37:43.008+00:00|WARN|CommonRestController|http-nio-6969-exec-8] POST /policytypes policy-api | [2023-11-15T11:37:44.170+00:00|WARN|CommonRestController|http-nio-6969-exec-1] POST /policies policy-api | [2023-11-15T11:37:46.134+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-11-15T11:37:46.515+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-11-15T11:37:46.745+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-11-15T11:37:46.980+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-11-15T11:37:47.192+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-11-15T11:37:47.399+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- 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 1511231137150800u 1 2023-11-15 11:37:15 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:15 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:15 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:15 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:15 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:15 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:15 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:15 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:15 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:15 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:15 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:15 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:15 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:15 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:15 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:15 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:15 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 grafana | logger=migrator t=2023-11-15T11:37:13.599490986Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.399739ms policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 grafana | logger=migrator t=2023-11-15T11:37:13.607862061Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 grafana | logger=migrator t=2023-11-15T11:37:13.618513311Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.65218ms policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 grafana | logger=migrator t=2023-11-15T11:37:13.625065534Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:16 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:17 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:17 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:17 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:17 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:17 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:17 grafana | logger=migrator t=2023-11-15T11:37:13.625859459Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=794.575µs policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:17 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:17 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:17 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:17 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:17 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:17 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:17 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:17 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:17 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:17 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:18 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:19 grafana | logger=migrator t=2023-11-15T11:37:13.63210766Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:19 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:19 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:19 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:19 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:19 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:19 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:19 grafana | logger=migrator t=2023-11-15T11:37:13.632925545Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=818.045µs policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:19 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:19 grafana | logger=migrator t=2023-11-15T11:37:13.63828013Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:19 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:19 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:19 grafana | logger=migrator t=2023-11-15T11:37:13.639642019Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.357009ms policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:19 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:19 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:19 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:19 grafana | logger=migrator t=2023-11-15T11:37:13.648203686Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:20 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:20 grafana | logger=migrator t=2023-11-15T11:37:13.649129602Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=927.636µs policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1511231137150800u 1 2023-11-15 11:37:20 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1511231137150900u 1 2023-11-15 11:37:20 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1511231137150900u 1 2023-11-15 11:37:20 grafana | logger=migrator t=2023-11-15T11:37:13.654293025Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1511231137150900u 1 2023-11-15 11:37:20 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1511231137150900u 1 2023-11-15 11:37:20 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1511231137150900u 1 2023-11-15 11:37:20 grafana | logger=migrator t=2023-11-15T11:37:13.65493489Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=641.515µs policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1511231137150900u 1 2023-11-15 11:37:20 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1511231137150900u 1 2023-11-15 11:37:20 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1511231137150900u 1 2023-11-15 11:37:20 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1511231137150900u 1 2023-11-15 11:37:20 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1511231137150900u 1 2023-11-15 11:37:20 grafana | logger=migrator t=2023-11-15T11:37:13.665758711Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1511231137150900u 1 2023-11-15 11:37:20 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1511231137150900u 1 2023-11-15 11:37:20 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1511231137150900u 1 2023-11-15 11:37:20 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1511231137151000u 1 2023-11-15 11:37:20 grafana | logger=migrator t=2023-11-15T11:37:13.666424925Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=665.794µs policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1511231137151000u 1 2023-11-15 11:37:20 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1511231137151000u 1 2023-11-15 11:37:20 grafana | logger=migrator t=2023-11-15T11:37:13.672795557Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1511231137151000u 1 2023-11-15 11:37:20 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1511231137151000u 1 2023-11-15 11:37:20 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1511231137151000u 1 2023-11-15 11:37:20 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1511231137151000u 1 2023-11-15 11:37:21 grafana | logger=migrator t=2023-11-15T11:37:13.672840857Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=55.66µs policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1511231137151000u 1 2023-11-15 11:37:21 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1511231137151000u 1 2023-11-15 11:37:21 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1511231137151100u 1 2023-11-15 11:37:21 grafana | logger=migrator t=2023-11-15T11:37:13.754315741Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1511231137151200u 1 2023-11-15 11:37:21 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1511231137151200u 1 2023-11-15 11:37:21 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1511231137151200u 1 2023-11-15 11:37:21 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1511231137151200u 1 2023-11-15 11:37:21 grafana | logger=migrator t=2023-11-15T11:37:13.758915421Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.5988ms policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=migrator t=2023-11-15T11:37:13.810159027Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-11-15T11:37:13.815077809Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=4.914542ms grafana | logger=migrator t=2023-11-15T11:37:13.819503058Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-11-15T11:37:13.81976419Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=260.942µs grafana | logger=migrator t=2023-11-15T11:37:13.827305149Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-11-15T11:37:13.830014807Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.709798ms grafana | logger=migrator t=2023-11-15T11:37:13.839235038Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-11-15T11:37:13.842906862Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=3.670174ms grafana | logger=migrator t=2023-11-15T11:37:13.848878331Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-11-15T11:37:13.849730406Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=848.415µs grafana | logger=migrator t=2023-11-15T11:37:13.854515588Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-11-15T11:37:13.855271153Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=753.475µs grafana | logger=migrator t=2023-11-15T11:37:13.860166675Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-11-15T11:37:13.861381493Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.214388ms grafana | logger=migrator t=2023-11-15T11:37:13.964531769Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-11-15T11:37:13.965936128Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.406489ms grafana | logger=migrator t=2023-11-15T11:37:13.972675382Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-11-15T11:37:13.973622019Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=947.307µs grafana | logger=migrator t=2023-11-15T11:37:13.976657659Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-11-15T11:37:13.977604405Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=947.066µs grafana | logger=migrator t=2023-11-15T11:37:13.981305459Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-11-15T11:37:13.98137534Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=70.81µs grafana | logger=migrator t=2023-11-15T11:37:13.988055493Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-11-15T11:37:13.988093824Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=39.741µs grafana | logger=migrator t=2023-11-15T11:37:13.996540509Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-11-15T11:37:14.000832477Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.290768ms grafana | logger=migrator t=2023-11-15T11:37:14.006040271Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-11-15T11:37:14.00893518Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.894489ms grafana | logger=migrator t=2023-11-15T11:37:14.015690724Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-11-15T11:37:14.015735435Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=45.441µs grafana | logger=migrator t=2023-11-15T11:37:14.024510602Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-11-15T11:37:14.025009576Z level=info msg="Migration successfully executed" id="create quota table v1" duration=499.034µs grafana | logger=migrator t=2023-11-15T11:37:14.033484441Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-11-15T11:37:14.035172442Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.679471ms grafana | logger=migrator t=2023-11-15T11:37:14.040899999Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-11-15T11:37:14.040927629Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=28.72µs grafana | logger=migrator t=2023-11-15T11:37:14.046893329Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-11-15T11:37:14.048111057Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.209408ms grafana | logger=migrator t=2023-11-15T11:37:14.05164491Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-11-15T11:37:14.053488332Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.842382ms grafana | logger=migrator t=2023-11-15T11:37:14.05929574Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-11-15T11:37:14.06239336Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.0971ms grafana | logger=migrator t=2023-11-15T11:37:14.067804766Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-11-15T11:37:14.067836726Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=33µs grafana | logger=migrator t=2023-11-15T11:37:14.071058787Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-11-15T11:37:14.072713138Z level=info msg="Migration successfully executed" id="create session table" duration=1.651971ms grafana | logger=migrator t=2023-11-15T11:37:14.081978269Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-11-15T11:37:14.08217369Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=199.411µs grafana | logger=migrator t=2023-11-15T11:37:14.086496678Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-11-15T11:37:14.086639909Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=142.511µs grafana | logger=migrator t=2023-11-15T11:37:14.094656081Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-11-15T11:37:14.095488337Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=831.586µs grafana | logger=migrator t=2023-11-15T11:37:14.098556437Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-11-15T11:37:14.099215431Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=657.474µs grafana | logger=migrator t=2023-11-15T11:37:14.101925319Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-11-15T11:37:14.101952289Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=28.2µs grafana | logger=migrator t=2023-11-15T11:37:14.104774628Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-11-15T11:37:14.104799298Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=25.62µs grafana | logger=migrator t=2023-11-15T11:37:14.110335174Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-11-15T11:37:14.115253766Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.923182ms grafana | logger=migrator t=2023-11-15T11:37:14.118465817Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-11-15T11:37:14.121666778Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.200421ms grafana | logger=migrator t=2023-11-15T11:37:14.124426106Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-11-15T11:37:14.124509257Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=84.091µs grafana | logger=migrator t=2023-11-15T11:37:14.129302078Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-11-15T11:37:14.129383609Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=85.311µs grafana | logger=migrator t=2023-11-15T11:37:14.132367479Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-11-15T11:37:14.133147954Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=780.075µs grafana | logger=migrator t=2023-11-15T11:37:14.142338933Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-11-15T11:37:14.142381874Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=40.061µs grafana | logger=migrator t=2023-11-15T11:37:14.146664112Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-11-15T11:37:14.151753705Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.081813ms grafana | logger=migrator t=2023-11-15T11:37:14.156986379Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-11-15T11:37:14.15714076Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=154.841µs grafana | logger=migrator t=2023-11-15T11:37:14.161046226Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-11-15T11:37:14.165927288Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.879922ms grafana | logger=migrator t=2023-11-15T11:37:14.182624308Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-11-15T11:37:14.187715111Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=5.084573ms grafana | logger=migrator t=2023-11-15T11:37:14.193441288Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-11-15T11:37:14.193512179Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=71.871µs grafana | logger=migrator t=2023-11-15T11:37:14.196549519Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-11-15T11:37:14.197479645Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=930.266µs grafana | logger=migrator t=2023-11-15T11:37:14.200541365Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-11-15T11:37:14.20135894Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=814.845µs grafana | logger=migrator t=2023-11-15T11:37:14.206271812Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-11-15T11:37:14.207198718Z level=info msg="Migration successfully executed" id="create alert table v1" duration=928.706µs grafana | logger=migrator t=2023-11-15T11:37:14.210416309Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-11-15T11:37:14.211348085Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=931.686µs grafana | logger=migrator t=2023-11-15T11:37:14.21512436Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-11-15T11:37:14.215962716Z level=info msg="Migration successfully executed" id="add index alert state" duration=838.116µs grafana | logger=migrator t=2023-11-15T11:37:14.220891758Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-11-15T11:37:14.222379958Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.48478ms grafana | logger=migrator t=2023-11-15T11:37:14.225532318Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-11-15T11:37:14.226634116Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.104378ms grafana | logger=migrator t=2023-11-15T11:37:14.230188919Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-11-15T11:37:14.231436427Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.248118ms grafana | logger=migrator t=2023-11-15T11:37:14.236751892Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-11-15T11:37:14.237691598Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=939.576µs grafana | logger=migrator t=2023-11-15T11:37:14.24109256Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-11-15T11:37:14.255877067Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.779417ms grafana | logger=migrator t=2023-11-15T11:37:14.259242109Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-11-15T11:37:14.259994264Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=752.185µs grafana | logger=migrator t=2023-11-15T11:37:14.265788512Z 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-15T11:37:14.266827829Z 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.039417ms grafana | logger=migrator t=2023-11-15T11:37:14.270394092Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-11-15T11:37:14.270759264Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=364.592µs grafana | logger=migrator t=2023-11-15T11:37:14.273547923Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-11-15T11:37:14.274248167Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=703.844µs grafana | logger=migrator t=2023-11-15T11:37:14.279454211Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-11-15T11:37:14.280643119Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.188028ms grafana | logger=migrator t=2023-11-15T11:37:14.284105672Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-11-15T11:37:14.288051068Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.944916ms grafana | logger=migrator t=2023-11-15T11:37:14.291336669Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-11-15T11:37:14.295872579Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.5344ms grafana | logger=migrator t=2023-11-15T11:37:14.307928068Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-11-15T11:37:14.312150245Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=4.226427ms grafana | logger=migrator t=2023-11-15T11:37:14.323878252Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-11-15T11:37:14.32961897Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=5.738068ms grafana | logger=migrator t=2023-11-15T11:37:14.337155849Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-11-15T11:37:14.338361857Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.207098ms grafana | logger=migrator t=2023-11-15T11:37:14.3463855Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-11-15T11:37:14.34643071Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=48.35µs grafana | logger=migrator t=2023-11-15T11:37:14.357909245Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-11-15T11:37:14.357990666Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=86.591µs grafana | logger=migrator t=2023-11-15T11:37:14.432021469Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-11-15T11:37:14.433287287Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.268628ms grafana | logger=migrator t=2023-11-15T11:37:14.437292413Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-15T11:37:14.438803333Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.51004ms grafana | logger=migrator t=2023-11-15T11:37:14.443036731Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-11-15T11:37:14.443841226Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=804.755µs grafana | logger=migrator t=2023-11-15T11:37:14.44891608Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-11-15T11:37:14.450107637Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.182257ms grafana | logger=migrator t=2023-11-15T11:37:14.45359454Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-15T11:37:14.454980319Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.385129ms grafana | logger=migrator t=2023-11-15T11:37:14.461029619Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-11-15T11:37:14.464712953Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.682134ms grafana | logger=migrator t=2023-11-15T11:37:14.46728592Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-11-15T11:37:14.471017145Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.730905ms grafana | logger=migrator t=2023-11-15T11:37:14.473747632Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-11-15T11:37:14.473936984Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=192.622µs grafana | logger=migrator t=2023-11-15T11:37:14.480286225Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-11-15T11:37:14.481136051Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=849.526µs grafana | logger=migrator t=2023-11-15T11:37:14.485967573Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-11-15T11:37:14.487209841Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.242368ms grafana | logger=migrator t=2023-11-15T11:37:14.491939172Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-11-15T11:37:14.495776927Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.837345ms grafana | logger=migrator t=2023-11-15T11:37:14.500612069Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-11-15T11:37:14.500688219Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=77µs grafana | logger=migrator t=2023-11-15T11:37:14.503466877Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-11-15T11:37:14.504326943Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=859.906µs grafana | logger=migrator t=2023-11-15T11:37:14.506422787Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-11-15T11:37:14.507299792Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=876.795µs grafana | logger=migrator t=2023-11-15T11:37:14.513139871Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-11-15T11:37:14.513222761Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=83.3µs grafana | logger=migrator t=2023-11-15T11:37:14.516545433Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-11-15T11:37:14.517400249Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=855.016µs grafana | logger=migrator t=2023-11-15T11:37:14.520839031Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-11-15T11:37:14.522461252Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.624561ms grafana | logger=migrator t=2023-11-15T11:37:14.525919995Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-11-15T11:37:14.526831301Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=911.056µs grafana | logger=migrator t=2023-11-15T11:37:14.531882544Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-11-15T11:37:14.533493964Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.60589ms grafana | logger=migrator t=2023-11-15T11:37:14.536781816Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-11-15T11:37:14.538539187Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.751261ms grafana | logger=migrator t=2023-11-15T11:37:14.582432255Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-11-15T11:37:14.583980275Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.54767ms grafana | logger=migrator t=2023-11-15T11:37:14.599044554Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-11-15T11:37:14.599085034Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=51.18µs grafana | logger=migrator t=2023-11-15T11:37:14.603528763Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-11-15T11:37:14.610303608Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.774105ms grafana | logger=migrator t=2023-11-15T11:37:14.614612766Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-11-15T11:37:14.61525745Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=644.854µs grafana | logger=migrator t=2023-11-15T11:37:14.619516738Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-11-15T11:37:14.625212446Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=5.672127ms grafana | logger=migrator t=2023-11-15T11:37:14.629227782Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-11-15T11:37:14.63048859Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=1.259868ms grafana | logger=migrator t=2023-11-15T11:37:14.635464763Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-11-15T11:37:14.637161644Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.697181ms grafana | logger=migrator t=2023-11-15T11:37:14.642944792Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-11-15T11:37:14.644527602Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.58446ms grafana | logger=migrator t=2023-11-15T11:37:14.648201216Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-11-15T11:37:14.668191557Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=19.991751ms grafana | logger=migrator t=2023-11-15T11:37:14.708106748Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-11-15T11:37:14.709490457Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=1.390659ms grafana | logger=migrator t=2023-11-15T11:37:14.713647834Z 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-15T11:37:14.714775672Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.128768ms grafana | logger=migrator t=2023-11-15T11:37:14.720226258Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-11-15T11:37:14.72057845Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=351.692µs grafana | logger=migrator t=2023-11-15T11:37:14.727159373Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-11-15T11:37:14.72815757Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=996.917µs grafana | logger=migrator t=2023-11-15T11:37:14.733642266Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-11-15T11:37:14.734111089Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=468.434µs grafana | logger=migrator t=2023-11-15T11:37:14.739532574Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-11-15T11:37:14.744272055Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.738381ms grafana | logger=migrator t=2023-11-15T11:37:14.750441626Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-11-15T11:37:14.755245327Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.803391ms grafana | logger=migrator t=2023-11-15T11:37:14.759572045Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-11-15T11:37:14.760679472Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.107117ms grafana | logger=migrator t=2023-11-15T11:37:14.765183792Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-11-15T11:37:14.766297899Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.113737ms grafana | logger=migrator t=2023-11-15T11:37:14.770821339Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-11-15T11:37:14.771164951Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=343.512µs grafana | logger=migrator t=2023-11-15T11:37:14.776873368Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-11-15T11:37:14.781222997Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.348969ms grafana | logger=migrator t=2023-11-15T11:37:14.78624994Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-11-15T11:37:14.787164856Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=914.516µs grafana | logger=migrator t=2023-11-15T11:37:14.791134562Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-11-15T11:37:14.791348253Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=219.051µs grafana | logger=migrator t=2023-11-15T11:37:14.811328484Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-11-15T11:37:14.812107579Z level=info msg="Migration successfully executed" id="Move region to single row" duration=779.605µs grafana | logger=migrator t=2023-11-15T11:37:14.819089315Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-11-15T11:37:14.820285543Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.194668ms grafana | logger=migrator t=2023-11-15T11:37:14.823487194Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-11-15T11:37:14.824324319Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=836.825µs grafana | logger=migrator t=2023-11-15T11:37:14.855356903Z 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-15T11:37:14.857103054Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.745651ms grafana | logger=migrator t=2023-11-15T11:37:14.877128315Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-15T11:37:14.878163672Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.032527ms grafana | logger=migrator t=2023-11-15T11:37:14.919493953Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-11-15T11:37:14.920988672Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.493119ms grafana | logger=migrator t=2023-11-15T11:37:14.930522114Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-11-15T11:37:14.932553758Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=2.032224ms grafana | logger=migrator t=2023-11-15T11:37:14.939295492Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-11-15T11:37:14.939486993Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=192.021µs grafana | logger=migrator t=2023-11-15T11:37:14.942692564Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-11-15T11:37:14.944127194Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.43398ms grafana | logger=migrator t=2023-11-15T11:37:14.950959098Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-11-15T11:37:14.951783774Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=824.336µs grafana | logger=migrator t=2023-11-15T11:37:14.96040457Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-11-15T11:37:14.961986721Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.570551ms grafana | logger=migrator t=2023-11-15T11:37:14.976177724Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-11-15T11:37:14.977349881Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.171407ms grafana | logger=migrator t=2023-11-15T11:37:14.98476092Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-11-15T11:37:14.985189942Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=430.202µs grafana | logger=migrator t=2023-11-15T11:37:14.991217052Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-11-15T11:37:14.991619885Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=400.633µs grafana | logger=migrator t=2023-11-15T11:37:14.99701057Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-11-15T11:37:14.997161681Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=152.491µs grafana | logger=migrator t=2023-11-15T11:37:15.011110542Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-11-15T11:37:15.012405311Z level=info msg="Migration successfully executed" id="create team table" duration=1.294229ms grafana | logger=migrator t=2023-11-15T11:37:15.01996248Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-11-15T11:37:15.021917303Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.945643ms grafana | logger=migrator t=2023-11-15T11:37:15.025170624Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-11-15T11:37:15.026168281Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=997.337µs grafana | logger=migrator t=2023-11-15T11:37:15.029892245Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-11-15T11:37:15.034829667Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.936702ms grafana | logger=migrator t=2023-11-15T11:37:15.041062308Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-11-15T11:37:15.041243829Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=181.461µs grafana | logger=migrator t=2023-11-15T11:37:15.045624478Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-11-15T11:37:15.047106648Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.48174ms grafana | logger=migrator t=2023-11-15T11:37:15.055382612Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-11-15T11:37:15.05660234Z level=info msg="Migration successfully executed" id="create team member table" duration=1.221358ms grafana | logger=migrator t=2023-11-15T11:37:15.062524478Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-11-15T11:37:15.063852557Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.327769ms grafana | logger=migrator t=2023-11-15T11:37:15.069270893Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-11-15T11:37:15.07033256Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.061627ms grafana | logger=migrator t=2023-11-15T11:37:15.075524244Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-11-15T11:37:15.07650193Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=977.486µs grafana | logger=migrator t=2023-11-15T11:37:15.081942726Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-11-15T11:37:15.086796418Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.853952ms grafana | logger=migrator t=2023-11-15T11:37:15.104625204Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-11-15T11:37:15.114395078Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=9.771424ms grafana | logger=migrator t=2023-11-15T11:37:15.124425053Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-11-15T11:37:15.133223121Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=8.790818ms grafana | logger=migrator t=2023-11-15T11:37:15.139424362Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-11-15T11:37:15.140851411Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.4762ms grafana | logger=migrator t=2023-11-15T11:37:15.147539845Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-11-15T11:37:15.149069035Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.52676ms grafana | logger=migrator t=2023-11-15T11:37:15.154272029Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-11-15T11:37:15.15601743Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.752391ms grafana | logger=migrator t=2023-11-15T11:37:15.16356321Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-11-15T11:37:15.164697117Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.131378ms grafana | logger=migrator t=2023-11-15T11:37:15.172387387Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-11-15T11:37:15.173823137Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.43575ms grafana | logger=migrator t=2023-11-15T11:37:15.178390177Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-11-15T11:37:15.179929247Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.53885ms grafana | logger=migrator t=2023-11-15T11:37:15.187857968Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-11-15T11:37:15.189848771Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.987503ms grafana | logger=migrator t=2023-11-15T11:37:15.215022156Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-11-15T11:37:15.217491912Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=2.465686ms grafana | logger=migrator t=2023-11-15T11:37:15.221908021Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-11-15T11:37:15.222737317Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=830.556µs grafana | logger=migrator t=2023-11-15T11:37:15.235017537Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-11-15T11:37:15.23542911Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=413.413µs grafana | logger=migrator t=2023-11-15T11:37:15.243085729Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-11-15T11:37:15.244452438Z level=info msg="Migration successfully executed" id="create tag table" duration=1.366519ms grafana | logger=migrator t=2023-11-15T11:37:15.272940975Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-11-15T11:37:15.274931388Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.990553ms grafana | logger=migrator t=2023-11-15T11:37:15.283222672Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-11-15T11:37:15.283991087Z level=info msg="Migration successfully executed" id="create login attempt table" duration=762.585µs grafana | logger=migrator t=2023-11-15T11:37:15.288720568Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-11-15T11:37:15.291041583Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=2.319185ms grafana | logger=migrator t=2023-11-15T11:37:15.297613046Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-11-15T11:37:15.299308508Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.695532ms grafana | logger=migrator t=2023-11-15T11:37:15.303057462Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-15T11:37:15.321643654Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.587082ms grafana | logger=migrator t=2023-11-15T11:37:15.358209593Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-11-15T11:37:15.359598322Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=1.386159ms grafana | logger=migrator t=2023-11-15T11:37:15.362709172Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-11-15T11:37:15.364166302Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.45711ms grafana | logger=migrator t=2023-11-15T11:37:15.367878766Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-11-15T11:37:15.368426919Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=547.683µs grafana | logger=migrator t=2023-11-15T11:37:15.374227927Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-11-15T11:37:15.374915412Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=687.895µs grafana | logger=migrator t=2023-11-15T11:37:15.379362841Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-11-15T11:37:15.38066437Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.301309ms grafana | logger=migrator t=2023-11-15T11:37:15.384293033Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-11-15T11:37:15.386016295Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.720652ms grafana | logger=migrator t=2023-11-15T11:37:15.395287665Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-11-15T11:37:15.395408886Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=128.341µs grafana | logger=migrator t=2023-11-15T11:37:15.400813971Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-11-15T11:37:15.407090602Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=6.275491ms grafana | logger=migrator t=2023-11-15T11:37:15.410995348Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-11-15T11:37:15.420234719Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=9.240861ms grafana | logger=migrator t=2023-11-15T11:37:15.428808264Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-11-15T11:37:15.43879884Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=9.992986ms grafana | logger=migrator t=2023-11-15T11:37:15.443170778Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-11-15T11:37:15.448701255Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.530547ms grafana | logger=migrator t=2023-11-15T11:37:15.451782605Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-11-15T11:37:15.452882022Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.099447ms grafana | logger=migrator t=2023-11-15T11:37:15.456143043Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-11-15T11:37:15.461910021Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.766338ms grafana | logger=migrator t=2023-11-15T11:37:15.468517224Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-11-15T11:37:15.46942257Z level=info msg="Migration successfully executed" id="create server_lock table" duration=905.016µs grafana | logger=migrator t=2023-11-15T11:37:15.474115401Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-11-15T11:37:15.475159118Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.037867ms grafana | logger=migrator t=2023-11-15T11:37:15.477903806Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-11-15T11:37:15.478969243Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.031886ms grafana | logger=migrator t=2023-11-15T11:37:15.483821624Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-11-15T11:37:15.484864831Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.043187ms grafana | logger=migrator t=2023-11-15T11:37:15.489835893Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-11-15T11:37:15.490927051Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.090868ms grafana | logger=migrator t=2023-11-15T11:37:15.493973141Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-11-15T11:37:15.495186279Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.215478ms grafana | logger=migrator t=2023-11-15T11:37:15.503899406Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-11-15T11:37:15.511891578Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=7.992902ms grafana | logger=migrator t=2023-11-15T11:37:15.515117639Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-11-15T11:37:15.516178696Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.060927ms grafana | logger=migrator t=2023-11-15T11:37:15.519937711Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-11-15T11:37:15.520774316Z level=info msg="Migration successfully executed" id="create cache_data table" duration=835.155µs grafana | logger=migrator t=2023-11-15T11:37:15.526320292Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-11-15T11:37:15.527841692Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.51876ms grafana | logger=migrator t=2023-11-15T11:37:15.531549426Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-11-15T11:37:15.533815561Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=2.264905ms grafana | logger=migrator t=2023-11-15T11:37:15.545642949Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-11-15T11:37:15.547423771Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.776892ms grafana | logger=migrator t=2023-11-15T11:37:15.552189392Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-11-15T11:37:15.552326402Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=142.351µs grafana | logger=migrator t=2023-11-15T11:37:15.555630174Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-11-15T11:37:15.555809675Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=178.891µs grafana | logger=migrator t=2023-11-15T11:37:15.558429542Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-11-15T11:37:15.559832381Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.402159ms grafana | logger=migrator t=2023-11-15T11:37:15.563260884Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-15T11:37:15.564817424Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.55654ms grafana | logger=migrator t=2023-11-15T11:37:15.569757407Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-15T11:37:15.571511138Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.753492ms grafana | logger=migrator t=2023-11-15T11:37:15.578116381Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-15T11:37:15.578179992Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=68.521µs grafana | logger=migrator t=2023-11-15T11:37:15.583363035Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-15T11:37:15.584299761Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=936.216µs grafana | logger=migrator t=2023-11-15T11:37:15.588843311Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-15T11:37:15.589853118Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.009787ms grafana | logger=migrator t=2023-11-15T11:37:15.592593576Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-15T11:37:15.594017905Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.424029ms grafana | logger=migrator t=2023-11-15T11:37:15.59937621Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-15T11:37:15.600422507Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.046407ms grafana | logger=migrator t=2023-11-15T11:37:15.603437617Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-11-15T11:37:15.613334181Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=9.892274ms grafana | logger=migrator t=2023-11-15T11:37:15.620490548Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-11-15T11:37:15.621279563Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=790.235µs grafana | logger=migrator t=2023-11-15T11:37:15.626489458Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-11-15T11:37:15.626624598Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=136.151µs grafana | logger=migrator t=2023-11-15T11:37:15.630648155Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-11-15T11:37:15.632706798Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=2.058373ms grafana | logger=migrator t=2023-11-15T11:37:15.635876359Z 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-15T11:37:15.637719111Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.842532ms grafana | logger=migrator t=2023-11-15T11:37:15.642792074Z 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-15T11:37:15.644126323Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.333539ms grafana | logger=migrator t=2023-11-15T11:37:15.648039638Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-15T11:37:15.648217219Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=163.201µs grafana | logger=migrator t=2023-11-15T11:37:15.654140488Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-11-15T11:37:15.655462037Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.318719ms grafana | logger=migrator t=2023-11-15T11:37:15.662344532Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-11-15T11:37:15.664004133Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.658081ms grafana | logger=migrator t=2023-11-15T11:37:15.668708864Z 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-15T11:37:15.670122493Z 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.413039ms grafana | logger=migrator t=2023-11-15T11:37:15.67580149Z 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-15T11:37:15.677617382Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.824302ms grafana | logger=migrator t=2023-11-15T11:37:15.680983834Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-11-15T11:37:15.688660794Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.67769ms grafana | logger=migrator t=2023-11-15T11:37:15.693863718Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-15T11:37:15.694882525Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.018557ms grafana | logger=migrator t=2023-11-15T11:37:15.702829517Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-15T11:37:15.704138965Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.313038ms grafana | logger=migrator t=2023-11-15T11:37:15.707764529Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-11-15T11:37:15.748468055Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=40.705436ms grafana | logger=migrator t=2023-11-15T11:37:15.752322601Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-11-15T11:37:15.83783664Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=85.509659ms grafana | logger=migrator t=2023-11-15T11:37:15.874723031Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-15T11:37:15.876931866Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=2.209715ms grafana | logger=migrator t=2023-11-15T11:37:15.882438921Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-15T11:37:15.88368677Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.248169ms grafana | logger=migrator t=2023-11-15T11:37:15.886592389Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-11-15T11:37:15.892747119Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.15441ms grafana | logger=migrator t=2023-11-15T11:37:15.89742691Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-11-15T11:37:15.898408056Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=980.146µs grafana | logger=migrator t=2023-11-15T11:37:15.903062597Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-11-15T11:37:15.905430652Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=2.368715ms grafana | logger=migrator t=2023-11-15T11:37:15.91118865Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-11-15T11:37:15.913006502Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.817292ms grafana | logger=migrator t=2023-11-15T11:37:15.917684242Z 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-15T11:37:15.91892558Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.236018ms grafana | logger=migrator t=2023-11-15T11:37:15.922225852Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-15T11:37:15.922321143Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=95.65µs grafana | logger=migrator t=2023-11-15T11:37:15.925536694Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-11-15T11:37:15.931588593Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.043349ms grafana | logger=migrator t=2023-11-15T11:37:15.936894008Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-11-15T11:37:15.942818276Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.924018ms grafana | logger=migrator t=2023-11-15T11:37:15.947781219Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-11-15T11:37:15.953943749Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.16185ms grafana | logger=migrator t=2023-11-15T11:37:15.957634714Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-11-15T11:37:15.958713211Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.078007ms grafana | logger=migrator t=2023-11-15T11:37:15.963519572Z 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-15T11:37:15.964588429Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.068617ms grafana | logger=migrator t=2023-11-15T11:37:15.967408338Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-11-15T11:37:15.973563778Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.15493ms grafana | logger=migrator t=2023-11-15T11:37:15.976689108Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-11-15T11:37:15.982928209Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.234311ms grafana | logger=migrator t=2023-11-15T11:37:15.991089472Z 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-15T11:37:15.992134339Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.045137ms grafana | logger=migrator t=2023-11-15T11:37:15.995948654Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-11-15T11:37:16.005300265Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.352311ms grafana | logger=migrator t=2023-11-15T11:37:16.008145904Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-11-15T11:37:16.014053953Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.907829ms grafana | logger=migrator t=2023-11-15T11:37:16.018643663Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-11-15T11:37:16.018713483Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=70.31µs grafana | logger=migrator t=2023-11-15T11:37:16.023848137Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-11-15T11:37:16.024897034Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.048587ms grafana | logger=migrator t=2023-11-15T11:37:16.033772181Z 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-15T11:37:16.035576363Z 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.803572ms grafana | logger=migrator t=2023-11-15T11:37:16.040813787Z 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-15T11:37:16.042928341Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=2.114214ms grafana | logger=migrator t=2023-11-15T11:37:16.047736933Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-15T11:37:16.047803903Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=67.76µs grafana | logger=migrator t=2023-11-15T11:37:16.052080701Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-11-15T11:37:16.061927865Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.848254ms grafana | logger=migrator t=2023-11-15T11:37:16.070798423Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-11-15T11:37:16.077850039Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=7.049816ms grafana | logger=migrator t=2023-11-15T11:37:16.081084951Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-11-15T11:37:16.086364175Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=5.279234ms grafana | logger=migrator t=2023-11-15T11:37:16.089345165Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-11-15T11:37:16.096399031Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=7.053415ms grafana | logger=migrator t=2023-11-15T11:37:16.10410113Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-11-15T11:37:16.114651649Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=10.558569ms grafana | logger=migrator t=2023-11-15T11:37:16.117707389Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-11-15T11:37:16.117789819Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=82.14µs grafana | logger=migrator t=2023-11-15T11:37:16.121574824Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-11-15T11:37:16.122277929Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=702.875µs grafana | logger=migrator t=2023-11-15T11:37:16.125201648Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-11-15T11:37:16.13469328Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.493822ms grafana | logger=migrator t=2023-11-15T11:37:16.139858493Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-11-15T11:37:16.139937434Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=78.691µs grafana | logger=migrator t=2023-11-15T11:37:16.144048631Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-11-15T11:37:16.151740641Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=7.69195ms grafana | logger=migrator t=2023-11-15T11:37:16.190972268Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-11-15T11:37:16.192061165Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.088717ms grafana | logger=migrator t=2023-11-15T11:37:16.197190428Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-11-15T11:37:16.202936356Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=5.744898ms grafana | logger=migrator t=2023-11-15T11:37:16.208636833Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-11-15T11:37:16.209352838Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=715.675µs grafana | logger=migrator t=2023-11-15T11:37:16.219215222Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-11-15T11:37:16.220300829Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.090847ms grafana | logger=migrator t=2023-11-15T11:37:16.224848479Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-11-15T11:37:16.23119071Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.341981ms grafana | logger=migrator t=2023-11-15T11:37:16.234347161Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-11-15T11:37:16.235092346Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=749.915µs grafana | logger=migrator t=2023-11-15T11:37:16.238281097Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-11-15T11:37:16.239383244Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.101277ms grafana | logger=migrator t=2023-11-15T11:37:16.245473754Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-11-15T11:37:16.246870703Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.397669ms grafana | logger=migrator t=2023-11-15T11:37:16.255040456Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-11-15T11:37:16.256247784Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.207898ms grafana | logger=migrator t=2023-11-15T11:37:16.260476742Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-11-15T11:37:16.260585922Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=109.78µs grafana | logger=migrator t=2023-11-15T11:37:16.264732519Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-11-15T11:37:16.265830367Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.100118ms grafana | logger=migrator t=2023-11-15T11:37:16.269499501Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2023-11-15T11:37:16.270704739Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.205618ms grafana | logger=migrator t=2023-11-15T11:37:16.274399353Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-15T11:37:16.274958576Z 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-15T11:37:16.35503649Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-11-15T11:37:16.355857545Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=826.296µs grafana | logger=migrator t=2023-11-15T11:37:16.362216287Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-11-15T11:37:16.363395634Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.179407ms grafana | logger=migrator t=2023-11-15T11:37:16.367221169Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-11-15T11:37:16.376708041Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.493022ms grafana | logger=migrator t=2023-11-15T11:37:16.37955542Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-11-15T11:37:16.380485176Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=929.686µs grafana | logger=migrator t=2023-11-15T11:37:16.383635897Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-11-15T11:37:16.385374938Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.738311ms grafana | logger=migrator t=2023-11-15T11:37:16.389350204Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-11-15T11:37:16.390125799Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=774.405µs grafana | logger=migrator t=2023-11-15T11:37:16.395549854Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-11-15T11:37:16.397484237Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.933673ms grafana | logger=migrator t=2023-11-15T11:37:16.401780155Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-11-15T11:37:16.402856402Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.075867ms grafana | logger=migrator t=2023-11-15T11:37:16.407000849Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-11-15T11:37:16.407044749Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=49.42µs grafana | logger=migrator t=2023-11-15T11:37:16.411509268Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-11-15T11:37:16.411616369Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=108.001µs grafana | logger=migrator t=2023-11-15T11:37:16.415723116Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-11-15T11:37:16.416209859Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=487.283µs grafana | logger=migrator t=2023-11-15T11:37:16.420309396Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-11-15T11:37:16.421893276Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.58068ms grafana | logger=migrator t=2023-11-15T11:37:16.426669638Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-11-15T11:37:16.427430863Z level=info msg="Migration successfully executed" id="create secrets table" duration=761.215µs grafana | logger=migrator t=2023-11-15T11:37:16.436158969Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-11-15T11:37:16.485478092Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=49.319623ms grafana | logger=migrator t=2023-11-15T11:37:16.490521955Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-11-15T11:37:16.499182501Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=8.661306ms grafana | logger=migrator t=2023-11-15T11:37:16.505975936Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-11-15T11:37:16.506110937Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=128.711µs grafana | logger=migrator t=2023-11-15T11:37:16.510312024Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-11-15T11:37:16.563110509Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=52.794355ms grafana | logger=migrator t=2023-11-15T11:37:16.568854077Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-11-15T11:37:16.619409467Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=50.56304ms grafana | logger=migrator t=2023-11-15T11:37:16.625379756Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-11-15T11:37:16.626918206Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.53068ms grafana | logger=migrator t=2023-11-15T11:37:16.633019676Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-11-15T11:37:16.634390395Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.370279ms grafana | logger=migrator t=2023-11-15T11:37:16.639461978Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-11-15T11:37:16.63977183Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=310.152µs grafana | logger=migrator t=2023-11-15T11:37:16.646012621Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-11-15T11:37:16.646790456Z level=info msg="Migration successfully executed" id="create permission table" duration=777.805µs grafana | logger=migrator t=2023-11-15T11:37:16.652397252Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-11-15T11:37:16.654619597Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=2.221805ms grafana | logger=migrator t=2023-11-15T11:37:16.657968599Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-11-15T11:37:16.659859941Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.890622ms grafana | logger=migrator t=2023-11-15T11:37:16.663658726Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-11-15T11:37:16.664620242Z level=info msg="Migration successfully executed" id="create role table" duration=961.406µs grafana | logger=migrator t=2023-11-15T11:37:16.668311976Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-11-15T11:37:16.676855942Z level=info msg="Migration successfully executed" id="add column display_name" duration=8.543586ms grafana | logger=migrator t=2023-11-15T11:37:16.684618743Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-11-15T11:37:16.689890287Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.271914ms grafana | logger=migrator t=2023-11-15T11:37:16.692984508Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-11-15T11:37:16.693966714Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=985.016µs grafana | logger=migrator t=2023-11-15T11:37:16.700071054Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-11-15T11:37:16.701740685Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.669011ms grafana | logger=migrator t=2023-11-15T11:37:16.705360859Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-11-15T11:37:16.707178951Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.817292ms grafana | logger=migrator t=2023-11-15T11:37:16.710694693Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-11-15T11:37:16.71171031Z level=info msg="Migration successfully executed" id="create team role table" duration=1.015017ms grafana | logger=migrator t=2023-11-15T11:37:16.720234846Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-11-15T11:37:16.721969117Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.730871ms grafana | logger=migrator t=2023-11-15T11:37:16.726684148Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-11-15T11:37:16.727976636Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.293098ms grafana | logger=migrator t=2023-11-15T11:37:16.73156578Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-11-15T11:37:16.732795028Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.226438ms grafana | logger=migrator t=2023-11-15T11:37:16.736990415Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-11-15T11:37:16.73777597Z level=info msg="Migration successfully executed" id="create user role table" duration=780.155µs grafana | logger=migrator t=2023-11-15T11:37:16.740913441Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-11-15T11:37:16.742038068Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.124397ms grafana | logger=migrator t=2023-11-15T11:37:16.747668485Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-11-15T11:37:16.748988744Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.320139ms grafana | logger=migrator t=2023-11-15T11:37:16.793202692Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-11-15T11:37:16.795093715Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.892893ms grafana | logger=migrator t=2023-11-15T11:37:16.80045281Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-11-15T11:37:16.801211435Z level=info msg="Migration successfully executed" id="create builtin role table" duration=761.855µs grafana | logger=migrator t=2023-11-15T11:37:16.805172741Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-11-15T11:37:16.806883162Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.711611ms grafana | logger=migrator t=2023-11-15T11:37:16.811753804Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-11-15T11:37:16.814040359Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=2.285765ms grafana | logger=migrator t=2023-11-15T11:37:16.817947574Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-11-15T11:37:16.82957135Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=11.624696ms grafana | logger=migrator t=2023-11-15T11:37:16.833710677Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-11-15T11:37:16.834471332Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=759.525µs grafana | logger=migrator t=2023-11-15T11:37:16.838645009Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-11-15T11:37:16.839669266Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.015797ms grafana | logger=migrator t=2023-11-15T11:37:16.844199826Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-11-15T11:37:16.845803896Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.60375ms grafana | logger=migrator t=2023-11-15T11:37:16.849564591Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-11-15T11:37:16.850691018Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.126407ms grafana | logger=migrator t=2023-11-15T11:37:16.855367169Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-11-15T11:37:16.856099874Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=733.085µs grafana | logger=migrator t=2023-11-15T11:37:16.862988668Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-11-15T11:37:16.864662709Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.673581ms grafana | logger=migrator t=2023-11-15T11:37:16.869012328Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-11-15T11:37:16.882671897Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=13.661809ms grafana | logger=migrator t=2023-11-15T11:37:16.886724774Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-11-15T11:37:16.892821944Z level=info msg="Migration successfully executed" id="permission kind migration" duration=6.09749ms grafana | logger=migrator t=2023-11-15T11:37:16.897011821Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-11-15T11:37:16.905150744Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.138703ms grafana | logger=migrator t=2023-11-15T11:37:16.908512456Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-11-15T11:37:16.916662189Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.149253ms grafana | logger=migrator t=2023-11-15T11:37:16.920984207Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-11-15T11:37:16.923005821Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.999893ms grafana | logger=migrator t=2023-11-15T11:37:16.930289228Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-11-15T11:37:16.931273025Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=983.337µs grafana | logger=migrator t=2023-11-15T11:37:16.938476782Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-11-15T11:37:16.940447345Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.969473ms grafana | logger=migrator t=2023-11-15T11:37:16.947543871Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-11-15T11:37:16.947756432Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=210.951µs grafana | logger=migrator t=2023-11-15T11:37:16.952531894Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-11-15T11:37:16.952603754Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=72.64µs grafana | logger=migrator t=2023-11-15T11:37:16.957429706Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-11-15T11:37:16.958459593Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=1.029066ms grafana | logger=migrator t=2023-11-15T11:37:16.963819507Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-11-15T11:37:16.964503032Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=685.225µs grafana | logger=migrator t=2023-11-15T11:37:16.974227575Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-11-15T11:37:16.975447133Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.211008ms grafana | logger=migrator t=2023-11-15T11:37:16.979404979Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-11-15T11:37:16.979881982Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=477.153µs grafana | logger=migrator t=2023-11-15T11:37:16.983720387Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-11-15T11:37:16.98409968Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=379.343µs grafana | logger=migrator t=2023-11-15T11:37:16.989736817Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-11-15T11:37:16.990634653Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=897.545µs grafana | logger=migrator t=2023-11-15T11:37:16.994369017Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-11-15T11:37:16.996437291Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=2.068534ms grafana | logger=migrator t=2023-11-15T11:37:17.003767378Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-11-15T11:37:17.015096602Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=11.331284ms grafana | logger=migrator t=2023-11-15T11:37:17.019397851Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-11-15T11:37:17.019484061Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=85.85µs grafana | logger=migrator t=2023-11-15T11:37:17.02552882Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-11-15T11:37:17.026644578Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.115058ms grafana | logger=migrator t=2023-11-15T11:37:17.030167531Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-11-15T11:37:17.032075433Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.912942ms grafana | logger=migrator t=2023-11-15T11:37:17.037372038Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-11-15T11:37:17.039016019Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.643791ms grafana | logger=migrator t=2023-11-15T11:37:17.045279839Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-11-15T11:37:17.05602814Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.750601ms grafana | logger=migrator t=2023-11-15T11:37:17.059565643Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-11-15T11:37:17.060386148Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=818.625µs grafana | logger=migrator t=2023-11-15T11:37:17.064149543Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-11-15T11:37:17.065420421Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.271158ms grafana | logger=migrator t=2023-11-15T11:37:17.070135182Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-15T11:37:17.101086044Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=30.950592ms grafana | logger=migrator t=2023-11-15T11:37:17.104544846Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-11-15T11:37:17.105244801Z level=info msg="Migration successfully executed" id="create correlation v2" duration=699.585µs grafana | logger=migrator t=2023-11-15T11:37:17.111728483Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-11-15T11:37:17.113595725Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.866392ms grafana | logger=migrator t=2023-11-15T11:37:17.11730736Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-11-15T11:37:17.118449517Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.141867ms grafana | logger=migrator t=2023-11-15T11:37:17.12196946Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-11-15T11:37:17.123278098Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.308068ms grafana | logger=migrator t=2023-11-15T11:37:17.127461416Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-11-15T11:37:17.127757468Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=295.572µs grafana | logger=migrator t=2023-11-15T11:37:17.130496336Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-11-15T11:37:17.131875115Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.378369ms grafana | logger=migrator t=2023-11-15T11:37:17.135655729Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-11-15T11:37:17.145141791Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.486782ms grafana | logger=migrator t=2023-11-15T11:37:17.154365941Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-11-15T11:37:17.15567393Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.307509ms grafana | logger=migrator t=2023-11-15T11:37:17.160109639Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-11-15T11:37:17.16176922Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.660111ms grafana | logger=migrator t=2023-11-15T11:37:17.229570082Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-15T11:37:17.230392898Z 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-15T11:37:17.234820657Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-15T11:37:17.235564642Z 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-15T11:37:17.240213452Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-11-15T11:37:17.24147861Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.264168ms grafana | logger=migrator t=2023-11-15T11:37:17.244924423Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-11-15T11:37:17.245810518Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=885.975µs grafana | logger=migrator t=2023-11-15T11:37:17.251312234Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-15T11:37:17.253008255Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.695761ms grafana | logger=migrator t=2023-11-15T11:37:17.25676972Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-15T11:37:17.258481681Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.710971ms grafana | logger=migrator t=2023-11-15T11:37:17.262181045Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-15T11:37:17.263170332Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=989.307µs grafana | logger=migrator t=2023-11-15T11:37:17.272040569Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-15T11:37:17.273775121Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.734362ms grafana | logger=migrator t=2023-11-15T11:37:17.291413666Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-11-15T11:37:17.292679834Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.266078ms grafana | logger=migrator t=2023-11-15T11:37:17.456809476Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-11-15T11:37:17.45904049Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=2.238644ms grafana | logger=migrator t=2023-11-15T11:37:17.469461818Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-15T11:37:17.470673146Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.211088ms grafana | logger=migrator t=2023-11-15T11:37:17.508607554Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-15T11:37:17.510463686Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.864222ms grafana | logger=migrator t=2023-11-15T11:37:17.516627486Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-11-15T11:37:17.518425718Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.798212ms grafana | logger=migrator t=2023-11-15T11:37:17.524383326Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-11-15T11:37:17.564370708Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=39.982971ms grafana | logger=migrator t=2023-11-15T11:37:17.58003867Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-11-15T11:37:17.590918681Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=10.881751ms grafana | logger=migrator t=2023-11-15T11:37:17.594552854Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-11-15T11:37:17.600822176Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.267142ms grafana | logger=migrator t=2023-11-15T11:37:17.603893256Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-11-15T11:37:17.604143517Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=250.541µs grafana | logger=migrator t=2023-11-15T11:37:17.756299679Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-11-15T11:37:17.765609111Z level=info msg="Migration successfully executed" id="add share column" duration=9.311421ms grafana | logger=migrator t=2023-11-15T11:37:17.77003862Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-11-15T11:37:17.770265641Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=225.031µs grafana | logger=migrator t=2023-11-15T11:37:17.773762524Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-11-15T11:37:17.774592529Z level=info msg="Migration successfully executed" id="create file table" duration=829.495µs grafana | logger=migrator t=2023-11-15T11:37:17.777862121Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-11-15T11:37:17.778992178Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.129827ms grafana | logger=migrator t=2023-11-15T11:37:17.784014171Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-11-15T11:37:17.785105038Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.090907ms grafana | logger=migrator t=2023-11-15T11:37:17.789168665Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-11-15T11:37:17.78986918Z level=info msg="Migration successfully executed" id="create file_meta table" duration=700.545µs grafana | logger=migrator t=2023-11-15T11:37:17.799562893Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-11-15T11:37:17.800774601Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.211188ms grafana | logger=migrator t=2023-11-15T11:37:17.808098798Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-11-15T11:37:17.80830098Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=204.952µs grafana | logger=migrator t=2023-11-15T11:37:17.811573021Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-11-15T11:37:17.811726452Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=155.491µs grafana | logger=migrator t=2023-11-15T11:37:17.814574501Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-11-15T11:37:17.815334376Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=760.935µs grafana | logger=migrator t=2023-11-15T11:37:17.819384142Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-11-15T11:37:17.819773475Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=391.423µs grafana | logger=migrator t=2023-11-15T11:37:17.824952919Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-11-15T11:37:17.826143126Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.189087ms grafana | logger=migrator t=2023-11-15T11:37:17.829635279Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-11-15T11:37:17.839703215Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=10.067696ms grafana | logger=migrator t=2023-11-15T11:37:17.867304015Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-11-15T11:37:17.867802768Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=501.443µs grafana | logger=migrator t=2023-11-15T11:37:17.871381872Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-11-15T11:37:17.873648786Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=2.265984ms grafana | logger=migrator t=2023-11-15T11:37:17.879211812Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-11-15T11:37:17.879761506Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=550.484µs grafana | logger=migrator t=2023-11-15T11:37:17.883838733Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-11-15T11:37:17.884145435Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=304.492µs grafana | logger=migrator t=2023-11-15T11:37:17.887611598Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-11-15T11:37:17.888592544Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=981.046µs grafana | logger=migrator t=2023-11-15T11:37:17.892825761Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-11-15T11:37:17.902219313Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.393012ms grafana | logger=migrator t=2023-11-15T11:37:17.907666878Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-11-15T11:37:17.913903489Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.236251ms grafana | logger=migrator t=2023-11-15T11:37:17.919300614Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-11-15T11:37:17.920337331Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.033127ms grafana | logger=migrator t=2023-11-15T11:37:17.925463104Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-11-15T11:37:18.040283344Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=114.81631ms grafana | logger=migrator t=2023-11-15T11:37:18.139087498Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-11-15T11:37:18.141071651Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.981453ms grafana | logger=migrator t=2023-11-15T11:37:18.145382389Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-11-15T11:37:18.146650967Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.268118ms grafana | logger=migrator t=2023-11-15T11:37:18.15159716Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-11-15T11:37:18.187065101Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=35.468182ms grafana | logger=migrator t=2023-11-15T11:37:18.195538166Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-11-15T11:37:18.195717397Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=179.011µs grafana | logger=migrator t=2023-11-15T11:37:18.198562196Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-11-15T11:37:18.198990858Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=433.013µs grafana | logger=migrator t=2023-11-15T11:37:18.225567042Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-11-15T11:37:18.226049325Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=481.963µs grafana | logger=migrator t=2023-11-15T11:37:18.229633278Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-11-15T11:37:18.231505811Z level=info msg="Migration successfully executed" id="create folder table" duration=1.877043ms grafana | logger=migrator t=2023-11-15T11:37:18.235097234Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-11-15T11:37:18.237422849Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.324775ms grafana | logger=migrator t=2023-11-15T11:37:18.242852394Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-11-15T11:37:18.244219073Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.366499ms grafana | logger=migrator t=2023-11-15T11:37:18.247641176Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-11-15T11:37:18.247669336Z level=info msg="Migration successfully executed" id="Update folder title length" duration=34.92µs grafana | logger=migrator t=2023-11-15T11:37:18.250299153Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-15T11:37:18.251510361Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.210978ms grafana | logger=migrator t=2023-11-15T11:37:18.26054122Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-15T11:37:18.261639397Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.098167ms grafana | logger=migrator t=2023-11-15T11:37:18.266370908Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-11-15T11:37:18.2682706Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.900092ms grafana | logger=migrator t=2023-11-15T11:37:18.272062785Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-11-15T11:37:18.273528845Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.46556ms grafana | logger=migrator t=2023-11-15T11:37:18.278593477Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-11-15T11:37:18.279883976Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.291239ms grafana | logger=migrator t=2023-11-15T11:37:18.285803075Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-11-15T11:37:18.287486886Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.685881ms grafana | logger=migrator t=2023-11-15T11:37:18.315101366Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-11-15T11:37:18.316103192Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.003886ms grafana | logger=migrator t=2023-11-15T11:37:18.391773407Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-11-15T11:37:18.392840923Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.069396ms grafana | logger=migrator t=2023-11-15T11:37:18.397904526Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-11-15T11:37:18.40001271Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=2.107634ms grafana | logger=migrator t=2023-11-15T11:37:18.403654043Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-15T11:37:18.404009555Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=354.202µs grafana | logger=migrator t=2023-11-15T11:37:18.408638675Z level=info msg="migrations completed" performed=517 skipped=0 duration=7.116391943s grafana | logger=sqlstore t=2023-11-15T11:37:18.428438124Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-15T11:37:18.428700656Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-15T11:37:18.442819778Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-15T11:37:18.515369571Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-15T11:37:18.518034519Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-15T11:37:18.521864414Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-15T11:37:20.788695865Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-15T11:37:20.790780829Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-15T11:37:20.808415224Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-15T11:37:20.808433754Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2023-11-15T11:37:20.808963287Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2023-11-15T11:37:20.813720298Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafanaStorageLogger t=2023-11-15T11:37:20.81391936Z level=info msg="Storage starting" grafana | logger=ngalert.migration t=2023-11-15T11:37:20.864864231Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-11-15T11:37:20.865469055Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-15T11:37:20.865728886Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-15T11:37:20.866163169Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-15T11:37:20.866760613Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-11-15T11:37:20.870008034Z level=info msg="Completed legacy migration" grafana | logger=ngalert.state.manager t=2023-11-15T11:37:20.900982446Z level=info msg="State cache has been initialized" states=0 duration=92.013389ms grafana | logger=ngalert.scheduler t=2023-11-15T11:37:20.901045526Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-11-15T11:37:20.901198207Z level=info msg=starting first_tick=2023-11-15T11:37:30Z grafana | logger=ngalert.multiorg.alertmanager t=2023-11-15T11:37:20.901238977Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=dashboard-service t=2023-11-15T11:37:20.916854379Z level=error msg="Could not make user admin" dashboard="Policy Drools-PDP" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=plugins.update.checker t=2023-11-15T11:37:20.919979119Z level=info msg="Update check succeeded" duration=91.856777ms grafana | logger=dashboard-service t=2023-11-15T11:37:20.928731796Z level=error msg="Could not make user admin" dashboard="Spring Boot Statistics & Endpoint Metrics" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-15T11:37:20.939904679Z level=error msg="Could not make user admin" dashboard="Policy XACML-PDP" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-15T11:37:20.963554993Z level=error msg="Could not make user admin" dashboard="SLA's Metrics" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-15T11:37:20.977820586Z level=error msg="Could not make user admin" dashboard="Policy APEX-PDP Jakarta" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=sqlstore.transactions t=2023-11-15T11:37:20.984207477Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=dashboard-service t=2023-11-15T11:37:20.987137557Z level=error msg="Could not make user admin" dashboard="Policy API Jakarta" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-15T11:37:21.08005781Z level=error msg="Could not make user admin" dashboard="Policy PAP Jakarta" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-15T11:37:21.091256643Z level=error msg="Could not make user admin" dashboard="Policy Distribution" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-15T11:37:21.10459586Z level=error msg="Could not make user admin" dashboard="JVM Basic Metrics" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=grafana.update.checker t=2023-11-15T11:37:23.957677725Z level=info msg="Update check succeeded" duration=3.129625784s ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing grafana ... 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.HoBftu9cTE ]] + rsync -av /tmp/tmp.HoBftu9cTE/ /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,346,819 bytes received 95 bytes 2,693,828.00 bytes/sec total size is 1,346,169 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 2120 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! -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/jenkins12441794072735887403.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8718783535421191626.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/jenkins9530347442039930479.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-wcQ4 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-wcQ4/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins17264761281514095318.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config10435318415175605436tmp 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/jenkins8669390217198887475.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins814547437911161048.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-wcQ4 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-wcQ4/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins18159330752940300930.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins1274996680481154307.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-wcQ4 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-wcQ4/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/jenkins16472323725693638340.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-wcQ4 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-wcQ4/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/180 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-76102 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: 2800.000 BogoMIPS: 5600.00 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 796 27404 0 3966 30914 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:5c:87:ed brd ff:ff:ff:ff:ff:ff inet 10.30.106.123/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86005sec preferred_lft 86005sec inet6 fe80::f816:3eff:fe5c:87ed/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:85:26:fa:b1 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-76102) 11/15/23 _x86_64_ (8 CPU) 11:33:21 LINUX RESTART (8 CPU) 11:34:01 tps rtps wtps bread/s bwrtn/s 11:35:01 136.34 71.22 65.12 4625.50 26966.97 11:36:01 92.17 13.78 78.39 1120.88 28284.89 11:37:01 152.69 9.55 143.14 1681.59 64409.67 11:38:01 292.95 12.08 280.87 800.40 33356.09 11:39:01 37.23 0.10 37.13 13.33 19863.02 Average: 142.28 21.35 120.93 1648.34 34576.13 11:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 30079056 31713756 2860164 8.68 63324 1883496 1462280 4.30 897200 1683672 222032 11:36:01 29740888 31706408 3198332 9.71 83144 2177624 1441180 4.24 893292 1989376 267984 11:37:01 28130052 31712004 4809168 14.60 112028 3705744 1423188 4.19 959456 3443420 250332 11:38:01 26616216 30270452 6323004 19.20 126048 3725984 4990880 14.68 2478900 3398252 72 11:39:01 26812312 30490172 6126908 18.60 126424 3753164 3388316 9.97 2284944 3411172 108 Average: 28275705 31178558 4663515 14.16 102194 3049202 2541169 7.48 1502758 2785178 148106 11:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 ens3 452.07 259.52 1428.20 61.39 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 lo 1.33 1.33 0.14 0.14 0.00 0.00 0.00 0.00 11:36:01 ens3 55.89 39.03 914.01 7.80 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 lo 1.27 1.27 0.13 0.13 0.00 0.00 0.00 0.00 11:37:01 ens3 274.72 172.37 8586.65 14.26 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 lo 8.73 8.73 0.81 0.81 0.00 0.00 0.00 0.00 11:37:01 br-71a3d6833f01 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 ens3 8.52 7.70 1.89 1.76 0.00 0.00 0.00 0.00 11:38:01 veth33fdbec 0.53 0.72 0.06 0.31 0.00 0.00 0.00 0.00 11:38:01 vethc057e59 115.10 95.22 46.49 119.10 0.00 0.00 0.00 0.01 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:39:01 ens3 13.36 14.13 9.68 7.60 0.00 0.00 0.00 0.00 11:39:01 vethc057e59 1.30 1.45 0.54 0.10 0.00 0.00 0.00 0.00 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:39:01 lo 33.31 33.31 10.34 10.34 0.00 0.00 0.00 0.00 Average: ens3 160.91 98.55 2188.09 18.56 0.00 0.00 0.00 0.00 Average: vethc057e59 23.28 19.33 9.41 23.84 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 5.98 5.98 2.01 2.01 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-76102) 11/15/23 _x86_64_ (8 CPU) 11:33:21 LINUX RESTART (8 CPU) 11:34:01 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 9.35 0.00 0.95 5.20 0.05 84.45 11:35:01 0 7.87 0.00 0.87 1.04 0.08 90.14 11:35:01 1 18.32 0.00 0.79 19.30 0.05 61.54 11:35:01 2 22.03 0.00 1.83 2.75 0.07 73.33 11:35:01 3 11.09 0.00 1.52 1.10 0.08 86.21 11:35:01 4 3.50 0.00 0.49 2.70 0.03 93.28 11:35:01 5 2.62 0.00 0.95 13.76 0.02 82.65 11:35:01 6 5.69 0.00 0.52 0.47 0.03 93.30 11:35:01 7 3.79 0.00 0.63 0.47 0.03 95.08 11:36:01 all 9.60 0.00 0.61 2.96 0.03 86.80 11:36:01 0 11.62 0.00 0.58 4.35 0.08 83.37 11:36:01 1 8.74 0.00 1.00 12.54 0.02 77.70 11:36:01 2 19.34 0.00 1.05 0.63 0.02 78.96 11:36:01 3 20.65 0.00 0.87 1.45 0.03 77.00 11:36:01 4 5.56 0.00 0.40 0.55 0.02 93.47 11:36:01 5 5.50 0.00 0.42 0.00 0.02 94.06 11:36:01 6 0.15 0.00 0.07 0.00 0.02 99.77 11:36:01 7 5.28 0.00 0.50 4.20 0.00 90.02 11:37:01 all 7.59 0.00 2.55 8.36 0.07 81.43 11:37:01 0 6.84 0.00 3.30 5.82 0.07 83.98 11:37:01 1 7.61 0.00 2.61 8.25 0.05 81.47 11:37:01 2 8.00 0.00 2.84 0.39 0.07 88.71 11:37:01 3 8.13 0.00 2.81 32.94 0.08 56.04 11:37:01 4 5.59 0.00 1.90 0.20 0.05 92.26 11:37:01 5 11.13 0.00 2.37 18.63 0.08 67.78 11:37:01 6 7.37 0.00 2.40 0.50 0.05 89.68 11:37:01 7 6.10 0.00 2.17 0.30 0.08 91.35 11:38:01 all 17.06 0.00 2.30 4.13 0.07 76.44 11:38:01 0 15.35 0.00 2.43 5.79 0.07 76.37 11:38:01 1 19.34 0.00 2.48 0.27 0.07 77.85 11:38:01 2 18.25 0.00 2.43 2.13 0.08 77.11 11:38:01 3 16.28 0.00 2.52 15.80 0.08 65.32 11:38:01 4 21.20 0.00 2.58 3.82 0.07 72.33 11:38:01 5 13.82 0.00 2.02 0.91 0.08 83.17 11:38:01 6 16.76 0.00 1.83 0.47 0.05 80.89 11:38:01 7 15.43 0.00 2.14 3.93 0.07 78.43 11:39:01 all 0.68 0.00 0.30 1.62 0.03 97.38 11:39:01 0 0.47 0.00 0.33 0.08 0.02 99.10 11:39:01 1 0.90 0.00 0.30 0.10 0.02 98.68 11:39:01 2 0.47 0.00 0.28 0.75 0.00 98.50 11:39:01 3 0.89 0.00 0.35 8.84 0.00 89.92 11:39:01 4 0.22 0.00 0.13 1.46 0.03 98.16 11:39:01 5 0.40 0.00 0.33 1.39 0.02 97.86 11:39:01 6 1.19 0.00 0.34 0.12 0.05 98.31 11:39:01 7 0.88 0.00 0.28 0.22 0.05 98.57 Average: all 8.85 0.00 1.34 4.45 0.05 85.31 Average: 0 8.42 0.00 1.50 3.41 0.06 86.60 Average: 1 10.98 0.00 1.43 8.09 0.04 79.46 Average: 2 13.62 0.00 1.68 1.33 0.05 83.32 Average: 3 11.41 0.00 1.61 11.97 0.06 74.95 Average: 4 7.21 0.00 1.10 1.74 0.04 89.91 Average: 5 6.68 0.00 1.22 6.93 0.04 85.13 Average: 6 6.23 0.00 1.03 0.31 0.04 92.40 Average: 7 6.29 0.00 1.14 1.83 0.05 90.69